gog-galaxy-wine icon indicating copy to clipboard operation
gog-galaxy-wine copied to clipboard

Black Screen

Open CentauriSoldier opened this issue 5 years ago • 41 comments

OS: Zorin (Ubuntu fork)

After installing the snap version of the GOG client through the software app in Zorin and opening it, a window appears. The entire widow is black, although I can get the GOG icon to show up in the left top corner if I hover over it and I can also close the window by clicking in the top corner. Otherwise, it's just blackness.

Note: I already have SDL 2 package installed.

CentauriSoldier avatar Apr 14 '19 00:04 CentauriSoldier

I got the same issue on Ubuntu 18.10

fejx avatar Apr 15 '19 20:04 fejx

The same thing is going on with nearly all Debian based linux distributions. The same is happening on KDE Neon 5.15 with kernel 5.07. I did apply the newest NVIDIA Driver 418.53 through lots of issues where the software manager would freeze but now it works. Also by updating somehow I got my Soundblaster AE-5 soundcard working with the kernel.

ryangrg42299 avatar Apr 16 '19 05:04 ryangrg42299

Same issue here, Ubuntu 18.04

If run in the terminal, I see the following: libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast

harlin avatar Apr 17 '19 20:04 harlin

Can you each run snap version and post the results, and state what graphics drivers and windowing system you're using, along with whether you're using Wayland or Xorg, please?

lucyllewy avatar Apr 18 '19 13:04 lucyllewy

snap version returns this:

snap    2.38
snapd   2.38
series  16
ubuntu  18.10
kernel  4.18.0-17-generic

I'm using a GeForce GTX 1080 TI with nvidia-driver-390. I don't know that much about Linux, but I am using the default window manager that came with Ubuntu, I believe its Unity?

fejx avatar Apr 18 '19 13:04 fejx

Hello!

I have the same issue and 'snap version' gives me this...

snap 2.38+18.04 snapd 2.38+18.04 series 16 ubuntu 18.04 kernel 4.18.0-17-generic

And I'm using a Geforce GTX 1070 with nvidia-driver-418 and Xorg and gnome

The issue is not present if I use the X.Org X Server -- Nouveau display drivers But then of course many of my games will not run...

Thanks.

Candyappleblue avatar Apr 19 '19 04:04 Candyappleblue

Issue also occurs on Ubuntu 19.04 running nvidia-driver-418:

snap    2.38+19.04
snapd   2.38+19.04
series  16
ubuntu  19.04
kernel  5.0.0-13-generic

fejx avatar Apr 20 '19 08:04 fejx

snapd   2.38+18.04
series  16
ubuntu  18.04
kernel  4.15.0-47-generic

I'm running nvidia-driver-390, Xorg and Gnome

harlin avatar Apr 23 '19 20:04 harlin

Thanks for all your updates. It looks like the nvidia binary driver is a common item between each of you. Luckily I do have an nvidia card I can put into my PC to test, so I'll try to replicate it with that... watch this space :-)

lucyllewy avatar Apr 24 '19 11:04 lucyllewy

Thanks for looking into it 😃

fejx avatar Apr 24 '19 13:04 fejx

snap 2.38 snapd 2.38 series 16 zorin 12 kernel 4.15.0-48-generic

Nvidia GTX 1080Ti Driver: 418.56

CentauriSoldier avatar Apr 27 '19 03:04 CentauriSoldier

I'm unable to reproduce this on the version that I just released to stable, but it seems you've each got a 10-series GeForce chip, where I've only got a 9-series so it might be specific to the newer chips.

lucyllewy avatar Apr 28 '19 16:04 lucyllewy

I have GeForce GTX 960M, so I don't think it is specific to 10-series. The errors that I get suggest some mixup with OpenGL libraries. I also have Steam for Linux installed - maybe they interfere with eachother when it comes to OpenGL libs

harlin avatar Apr 28 '19 16:04 harlin

Can I also ask the others in this thread to run gog-galaxy-wine from a terminal?

harlin avatar Apr 28 '19 16:04 harlin

I tried from terminal, effect was the same. It previously worked fine (few months ago), now it's just black screen, both on my laptop where I have GTX 1070 and PC (GTX 660).

dtracz avatar Apr 29 '19 14:04 dtracz

Running gog-galaxy-wine pops up a message box saying "A program on your system has crashed, but WineDbg was unable to attach to the process to obtain a backtrace.", but Gog Galaxy opens up anyway with a black screen. Here is the console output: gog-galaxy-wine.log Since the program opens up anyway though, this might not be related to the black screen issue.

fejx avatar Apr 29 '19 16:04 fejx

I also have the same issue with the stable (1.2.54.23) version. I switched to the --edge version and it worked. But some updates of my ubuntu later I got the 'black screen' again. Now both the stable and the edge version show up with a black screen and the popup 'A program on your system has crashed, but WineDbg was unable to attach to the process to obtain a backtrace.'

Ubuntu:

  • Linux jana 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

snap version:

  • snap 2.38+18.04
  • snapd 2.38+18.04
  • series 16
  • ubuntu 18.04
  • kernel 4.15.0-48-generic

snap list gog-galaxy-wine:

  • gog-galaxy-wine 1.2.54.23 104 edge diddledan

hardware:

  • VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
  • Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz

log: gog.log

easterwood avatar May 05 '19 11:05 easterwood

Running gog-galaxy-wine pops up a message box saying "A program on your system has crashed, but WineDbg was unable to attach to the process to obtain a backtrace.", but Gog Galaxy opens up anyway with a black screen. Here is the console output: gog-galaxy-wine.log Since the program opens up anyway though, this might not be related to the black screen issue.

The log is from a second instance you running from the console. It might be that some important log statements are missing in this log file.

easterwood avatar May 05 '19 11:05 easterwood

Running gog-galaxy-wine pops up a message box saying "A program on your system has crashed, but WineDbg was unable to attach to the process to obtain a backtrace.", but Gog Galaxy opens up anyway with a black screen. Here is the console output: gog-galaxy-wine.log Since the program opens up anyway though, this might not be related to the black screen issue.

The log is from a second instance you running from the console. It might be that some important log statements are missing in this log

Oh sorry, that's probably why the error popup occurred. Here is the output from stdout and stderr: gog-galaxy-wine.log At the end of the log, I quit the program by myself by clicking on where I assumed the X icon of the window would be.

fejx avatar May 05 '19 12:05 fejx

Yes this is the error I had too:

libGL error: failed to load driver: swrast
X Error:  BadValue
  Request Major code 151 (GLX)
  Request Minor code 3 ()
  Value 0x0
  Error Serial #181
  Current Serial #185

As far as I know this had something to do with opengl libs, see here Problems with libGl, fbConfigs, swrast through each update?

easterwood avatar May 05 '19 14:05 easterwood

I like the snap version of gog galaxy but at the moment I use Lutris to install GOG Galaxy. There is also a lutris script which describes the installation requirements for GOG Galaxy (incl. the used wine version). Maybe this helps to solve this issue.

easterwood avatar May 05 '19 14:05 easterwood

Hi, Same problem here on GTX780.

libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast X Error: BadValue Request Major code 151 (GLX) Request Minor code 3 () Value 0x0 Error Serial #181 Current Serial #185

snap 2.39 snapd 2.39 series 16 ubuntu 19.04 kernel 5.0.0-15-generic

voidThread avatar May 15 '19 19:05 voidThread

Hi, Same problem here, GTX970.

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error:  BadValue
  Request Major code 154 (GLX)
  Request Minor code 3 ()
  Value 0x0
  Error Serial #181
  Current Serial #185

snap version

snap    2.39
snapd   2.39
series  16
ubuntu  16.04
kernel  4.15.0-50-generic

Aisyk avatar May 29 '19 22:05 Aisyk

Maybe a response here : https://stackoverflow.com/questions/44166269/libgl-error-failed-to-load-driver-swrast-in-docker-container

Aisyk avatar May 29 '19 22:05 Aisyk

I also see the black screen after snap installing gog.

snap 2.39.2+19.04 snapd 2.39.2+19.04 series 16 ubuntu 19.04 kernel 5.0.0-19-generic

Xorg Ubuntu 19.04 NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1) nvidia-drivers-430

bhibb avatar Jul 03 '19 03:07 bhibb

Same problem

snap 2.41 snapd 2.41 series 16 ubuntu 19.04 kernel 5.0.0-29-generic

Also running gog-galaxy-wine from terminal throws ln: failed to create symbolic link './settings.ini': File exists ln: failed to create symbolic link './bookmarks': File exists ln: failed to create symbolic link './gtkfilechooser.ini': File exists and 50+ fontconfig errors

ErrorBoi avatar Sep 24 '19 09:09 ErrorBoi

@diddledan I am having this same issue and found a different snap's solution to the same problem:

https://github.com/sisco311/scrcpy-snap/commit/ddd94058af9bb9a9bfd6fafdf4710afd0767bfc4

Hope it helps.

GrandVizierOlaf avatar Oct 18 '19 16:10 GrandVizierOlaf

sisco311/scrcpy-snap@ddd9405

I don't see anything in that commit that is going to change any behaviour of the GOG Galaxy snap regarding the black screen. There are two relevant lines, namely the insertion of lines 28 and 29 for environment variables MESA_GLSL_CACHE_DIR and LIBGL_DRIVERS_PATH.

The LIBGL_DRIVERS_PATH is already set by the desktop extension/helpers used by the GOG Galaxy snap.

When unset, MESA_GLSL_CACHE_DIR defaults to either $XDG_CACHE_HOME/mesa_shader_cache or if $XDG_CACHE_HOME is unset then $HOME/.cache/mesa_shader_cache. The desktop extension helper scripts do set $XDG_CACHE_HOME to $SNAP_USER_COMMON/.cache so the expanded path ($SNAP_USER_COMMON/.cache/mesa_shader_cache) is set and is writable. Thus the mesa GLSL shader cache is not impacting the issue in this thread.

lucyllewy avatar Oct 27 '19 18:10 lucyllewy

I have same issue on Ubuntu 19.04 and GTX 1060

pa4k avatar Nov 01 '19 19:11 pa4k

I had same issue on Ubuntu 18.04 GeForce GTX 860m with nvidia-driver-430

after switch to Nouveau Screenshot from 2019-11-06 17-14-18 issue disappeared. GOG working fine at least Gwent successfully installed and seems playable.

snap 2.42 snapd 2.42 series 16 ubuntu 18.04 kernel 4.15.0-66-generic

vadim-potapenko avatar Nov 06 '19 10:11 vadim-potapenko