diddlesnaps / gog-galaxy-wine

MIT License
50 stars 1 forks source link

Black Screen #10

Open CentauriSoldier opened 5 years ago

CentauriSoldier commented 5 years ago

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.

fejx commented 5 years ago

I got the same issue on Ubuntu 18.10

ryangrg42299 commented 5 years ago

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.

harlin commented 5 years ago

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

lucyllewy commented 5 years ago

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?

fejx commented 5 years ago

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?

Candyappleblue commented 5 years ago

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.

fejx commented 5 years ago

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
harlin commented 5 years ago
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

lucyllewy commented 5 years ago

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 :-)

fejx commented 5 years ago

Thanks for looking into it 😃

CentauriSoldier commented 5 years ago

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

Nvidia GTX 1080Ti Driver: 418.56

lucyllewy commented 5 years ago

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.

harlin commented 5 years ago

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 commented 5 years ago

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

dtracz commented 5 years ago

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).

fejx commented 5 years ago

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.

easterwood commented 5 years ago

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:

snap version:

snap list gog-galaxy-wine:

hardware:

log: gog.log

easterwood commented 5 years ago

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.

fejx commented 5 years ago

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.

easterwood commented 5 years ago

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 commented 5 years ago

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.

voidThread commented 5 years ago

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

Aisyk commented 5 years ago

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 commented 5 years ago

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

bhibb commented 5 years ago

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

ErrorBoi commented 4 years ago

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

GrandVizierOlaf commented 4 years ago

@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.

lucyllewy commented 4 years ago

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.

pa4k commented 4 years ago

I have same issue on Ubuntu 19.04 and GTX 1060

vadim-potapenko commented 4 years ago

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

pa4k commented 4 years ago

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

Nouveau driver, slow my computer down. And games lagging, absolutely unplayable. Now I'am back on nVidia proprietary driver. Steam work fine on Ubuntu. GOG I will use on WIN

Dragon20C commented 4 years ago

This is still an issue. smh

ErrorBoi commented 4 years ago

Use Lutris, it also supports GOG Galaxy

lamka02sk commented 4 years ago

What is the progress?

DheathNone commented 4 years ago

Also same issue with Ubuntu 18.04:

$ lspci|grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

This seems to be quite similar issue: https://askubuntu.com/questions/834254/steam-libgl-error-no-matching-fbconfigs-or-visuals-found-libgl-error-failed-t

agiv commented 3 years ago

Same issue with black screen. NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1) Driver: NVIDIA-Linux-x86_64-455.28

snap 2.47.1+20.10.1 snapd 2.47.1+20.10.1 series 16 ubuntu 20.10 kernel 5.8.0-25-generic

gog.err.log

castlefox commented 3 years ago

I installed GOG Galaxy from the Ubuntu Software app. Says the version I have installed is: 1.2.66.64 Got the same Black screen error.

OS: Ubuntu 20.10 Video card: NVIDIA Corporation GK104 [GeForce GTX 770] (rev a1) Driver: nvidia-driver-455

snap 2.47.1+20.10.1 snapd 2.47.1+20.10.1 series 16 ubuntu 20.10 kernel 5.8.0-29-generic

When I start the GoG Galaxy from terminal it gives me:

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 Gtk-Message: 21:14:51.445: Failed to load module "canberra-gtk-module" Gtk-Message: 21:14:51.446: Failed to load module "canberra-gtk-module" Gtk-Message: 21:14:51.451: Failed to load module "canberra-gtk-module" Gtk-Message: 21:14:51.452: Failed to load module "canberra-gtk-module"

(yad:100203): Gtk-WARNING **: 21:14:51.487: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found.

(yad:100205): Gtk-WARNING **: 21:14:51.492: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found.

Mohl commented 3 years ago

Hi, I have the same issue.

OS: Manjaro Kernel: 5.10.53-1 Video Card: NVIDIA Corporation GP104 [GeForce GTX 1070 TI] Driver: nvidia-driver-470

snap 2.51.3-2 snapd 2.51.3-2 series 16

Console output at startup:

WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
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
2021-07-28 21:53:45.120 [Information][ (0)] [TID 501][galaxy_client]: Log started. Application version: 1.2.66.64 (2020-01-23 13:01).
2021-07-28 21:53:45.123 [Information][ (0)] [TID 501][galaxy_client]: Operating system: Windows 7 6.1 (Build 7601: Service Pack 1) (IA32)
2021-07-28 21:53:45.126 [Information][ (0)] [TID 501][galaxy_client]: Platform identification: win7 64bit
2021-07-28 21:53:45.129 [Information][ (0)] [TID 501][galaxy_client]: Current working directory: 'C:/Program Files (x86)/GOG Galaxy', filesystem: 'NTFS'.
2021-07-28 21:53:45.131 [Information][ (0)] [TID 501][galaxy_client]: Running InitClientStrategy.
2021-07-28 21:53:45.164 [Information][ (0)] [TID 501][galaxy_client]: Second client instance detected. Sending RestoreClientMessage.
2021-07-28 21:53:45.182 [Information][ (0)] [TID 501][galaxy_client]: Used InitClientStrategy to launch application. Command-line parameters: /runWithoutUpdating
2021-07-28 21:53:45.185 [Information][ (0)] [TID 501][galaxy_client]: Initialization strategy 'InitClientStrategy' returned exit code 'Returned successfully.'. The client will exit.
wkitty42 commented 3 years ago

i was getting the black screen when i installed this snap GOG... i found an entry on the GOG wish list page that said the black screen can be fixed by going into the GOG Galaxy install directory, renaming the libGLESv2.dll file, creating an empty file of the same name, and then start GOG Galaxy... it worked for me... no more black screen...

cd "~/snap/gog-galaxy-wine/common/.wine/drive_c/Program Files (x86)/GOG Galaxy"
mv libGLESv2.dll libGLESv2.dll.orig
touch libGLESv2.dll

the post i saw also said to make the zero byte libGLESv2.dll you created as read-only so it won't be overwritten during later updates... i don't know if that is really needed and i did not do that on this, my 3rd install attempt... i've been able to log into my GOG account and see my games listed there... i have not attempted to install any as i'm running them via other means at the moment...

Kubuntu 20.04
NVIDIA RTX2060
nvidia-driver-460

snap    2.51.3
snapd   2.51.3
series  16
ubuntu  20.04
kernel  5.4.0-81-generic

i'm using nvidia-driver-460 because 470 gave me some bad memory leaks resulting in huge swap usage on this 32GB RAM system... when i read about the memory leaks, i back-leveled to 460 and am waiting for a new 470 update to be released...

i hope this helps...

lucyllewy commented 3 years ago

Hi, can you please try the release in candidate to see if that helps alleviate the issues?

If you already have the snap installed... ```bash sudo snap refresh --candidate gog-galaxy-wine ```
If you don't have the snap currently installed... ```bash sudo snap install --candidate gog-galaxy-wine ```
vanellende commented 1 year ago

Noticing that this is still open. Installed GOG manually rather than via the snap package. Got the black sign in screen initially. Installed the latest DXVK through winetricks and now the visuals appear properly.

EDIT: Further details: wine-7.18 (devel version) on Ubuntu 22.04. Nvidia 515.65.01 drivers on a GTX 1060 Mobile.