gog-galaxy-wine
gog-galaxy-wine copied to clipboard
Black Screen
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.
I got the same issue on Ubuntu 18.10
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.
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
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?
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?
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.
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
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
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 :-)
Thanks for looking into it 😃
snap 2.38 snapd 2.38 series 16 zorin 12 kernel 4.15.0-48-generic
Nvidia GTX 1080Ti Driver: 418.56
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.
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
Can I also ask the others in this thread to run gog-galaxy-wine
from a terminal?
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).
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.
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
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.
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.
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?
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.
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
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
Maybe a response here : https://stackoverflow.com/questions/44166269/libgl-error-failed-to-load-driver-swrast-in-docker-container
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
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
@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.
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.
I have same issue on Ubuntu 19.04 and GTX 1060
I had same issue on Ubuntu 18.04 GeForce GTX 860m with nvidia-driver-430
after switch to Nouveau
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