Author Topic: [(p) fixed] Black screen on start  (Read 964 times)

RType

  • Guest
[(p) fixed] Black screen on start
« on: 8 July 2013, 18:39:54 »
Hello,

First, i apologize for my bad english, i'm french. I hope you understand my explanation

When i start the game on fullscreen mode, there is no image and i have a black screen. The audio and the game seems to work correctly, but no image. When i switch to window mode (ALT + ENTER), the game work properly. I have the same problem on version 3.7.1 and 3.8 beta 1 on :
  • Windows 7 x86
  • Ubuntu 13.04 x86
All drivers are up to date for this machine, and the hardware configuration is :
  • AMD Athlon(tm) X2 240 Processor × 2
  • GeForce GT 520/PCIe/SSE2/3DNOW!

This is the console output when i start the game :
Code: [Select]
$ ./start_megaglest
gamedir [/home/rtype/megaglest]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/rtype/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/i386-linux-gnu/libopenal.so.1] pointed to from [/home/rtype/megaglest/lib/libopenal.so.0]
default library [/home/rtype/megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/i386-linux-gnu/libdirectfb-1.2.so.9] pointed to from [/home/rtype/megaglest/lib/libdirectfb-1.0.so.0]
default library [/home/rtype/megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/i386-linux-gnu/libfusion-1.2.so.9] pointed to from [/home/rtype/megaglest/lib/libfusion-1.0.so.0]
default library [/home/rtype/megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/i386-linux-gnu/libdirect-1.2.so.9] pointed to from [/home/rtype/megaglest/lib/libdirect-1.0.so.0]
default library [/home/rtype/megaglest/lib/libjpeg.so.62] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/i386-linux-gnu/libjpeg.so.8] pointed to from [/home/rtype/megaglest/lib/libjpeg.so.62]
default library [/home/rtype/megaglest/lib/libpng15.so.15] is missing, attempting to find and link to a newer version if available...
new library link [/lib/i386-linux-gnu/libpng12.so.0] pointed to from [/home/rtype/megaglest/lib/libpng15.so.15]
default library [/home/rtype/megaglest/lib/libcurl.so.4] was found in [/usr/lib/i386-linux-gnu/libcurl.so.4]
default library [/home/rtype/megaglest/lib/libxerces-c-3.1.so] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libxerces-c.so.28] pointed to from [/home/rtype/megaglest/lib/libxerces-c-3.1.so]
default library [/home/rtype/megaglest/lib/libicudata.so.38] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/i386-linux-gnu/libicudata.so.48] pointed to from [/home/rtype/megaglest/lib/libicudata.so.38]
default library [/home/rtype/megaglest/lib/libicuuc.so.38] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/i386-linux-gnu/libicuuc.so.48] pointed to from [/home/rtype/megaglest/lib/libicuuc.so.38]
default library [/home/rtype/megaglest/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/i386-linux-gnu/libGLEW.so.1.8] pointed to from [/home/rtype/megaglest/lib/libGLEW.so.1.5]
default library [/home/rtype/megaglest/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
default library [/home/rtype/megaglest/lib/libogg.so.0] was found in [/usr/lib/i386-linux-gnu/libogg.so.0]
default library [/home/rtype/megaglest/lib/libvorbis.so.0] was found in [/usr/lib/i386-linux-gnu/libvorbis.so.0]
default library [/home/rtype/megaglest/lib/libvorbisfile.so.3] was found in [/usr/lib/i386-linux-gnu/libvorbisfile.so.3]
default library [/home/rtype/megaglest/lib/libfontconfig.so.1] was found in [/usr/lib/i386-linux-gnu/libfontconfig.so.1]
default library [/home/rtype/megaglest/lib/libfreetype.so.6] was found in [/usr/lib/i386-linux-gnu/libfreetype.so.6]
default library [/home/rtype/megaglest/lib/libgnutls.so.26] was found in [/usr/lib/i386-linux-gnu/libgnutls.so.26]
default library [/home/rtype/megaglest/lib/libldap_r-2.4.so.2] was found in [/usr/lib/i386-linux-gnu/libldap_r-2.4.so.2]
default library [/home/rtype/megaglest/lib/libresolv.so.2] was found in [/lib/i386-linux-gnu/libresolv.so.2]
default library [/home/rtype/megaglest/lib/liblua5.1.so.0] was found in [/usr/lib/i386-linux-gnu/liblua5.1.so.0]
default library [/home/rtype/megaglest/lib/libftgl.so.2] was found in [/usr/lib/libftgl.so.2]
default library [/home/rtype/megaglest/lib/libircclient.so.1] was found in [/usr/lib/libircclient.so.1]
default library [/home/rtype/megaglest/lib/libdl.so.2] was found in [/lib/i386-linux-gnu/libdl.so.2]
default library [/home/rtype/megaglest/lib/libvlccore.so.5] was found in [/usr/lib/libvlccore.so.5]
default library [/home/rtype/megaglest/lib/libvlc.so.5] was found in [/usr/lib/libvlc.so.5]
default library [/home/rtype/megaglest/lib/libgcrypt.so.11] was found in [/lib/i386-linux-gnu/libgcrypt.so.11]
megaglest v3.7.1
Compiled using: GNUC: 40403 on: Nov 23 2012 00:01:03 platform: Linux endianness: little
SVN: [Rev: 3948] - using STREFLOP [SSE] - [no-denormals]

Edit (filux): It's most likely fixed by the way auto switching resolution into native resolution for desktop.
« Last Edit: 16 July 2016, 17:01:32 by filux »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Black screen on start
« Reply #1 on: 8 July 2013, 18:58:31 »
Interesting (and well comprehensible).
What happens when you switch to windowed, then switch to full screen mode (again)?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

RType

  • Guest
Re: Black screen on start
« Reply #2 on: 8 July 2013, 19:10:20 »
Thanks.
I can't switch from windowed to full screen. It's the same thing on Windows 7 and ubuntu 13.04. Only full screen to windowed switching is working properly for me.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Black screen on start
« Reply #3 on: 9 July 2013, 08:06:24 »
Full screen / windowed switching is only supported on Linux due to limitations on how the OpenGL context is treated on Windows.

What happens when you try to switch to full screen on Linux (i.e. please don't just say "doesn't work", but explain what you get instead of getting what you expected to get)?

Please also test other OpenGL applications which do allow to switch between full screen and windowed (Extreme Tux Racer, Armagetron Advanced are such applications, you can switch in their options menus).
« Last Edit: 9 July 2013, 08:12:28 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Black screen on start
« Reply #4 on: 15 October 2013, 05:19:57 »
Any update on this?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: Black screen on start
« Reply #5 on: 21 October 2013, 18:06:53 »
I had a very similar problem. It is quite rare (but always at the worst time :D).
Occasionally there was a problem with start the game in full screen mode.
Changing the settings in the options didn't help for it (quite a lot tested).

The problem never occurs when the game launches in the window, and since long time I run the game in this way so I do not know if something has changed with it.