lutris / lutris

Lutris desktop client
https://lutris.net
GNU General Public License v3.0
7.83k stars 689 forks source link

No logs under X/XWayland #5676

Open exalented opened 4 hours ago

exalented commented 4 hours ago

Bug description

Occasionally, the log window will reset, but not show any logs for any app until lutris is restarted.

How to Reproduce

This can be induced by:

  1. Launching lutris under X/Xwayland
  2. 'Configure' a game.
  3. Quickly launch the game.
  4. See the log window reset logs and show blank.

This issue does not occur when DISPLAY is unset and the app runs only in wayland. This happens with an EVGA GTX 1080 FTWv1 as well.

Expected behavior

The logs always show app logs.

Log output

Log output is no different.

System Information

lutris 0.5.17-7

Vulkan support: YES
Esync support: YES
Fsync support: YES
Wine installed: YES
Gamescope: YES
Mangohud: YES
Gamemode: NO
Steam: YES
In Flatpak: NO
[System]
OS: Arch Linux rolling n/a
Arch: x86_64
Kernel: 6.11.4-arch2-1
Desktop: sway
Display Server: wayland
[CPU]
Vendor: GenuineIntel
Model: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Physical cores: 4
Logical cores: 8
[Memory]
RAM: 31.3 GB
Swap: 0.0 GB
[Graphics]
Vendor: Intel
OpenGL Renderer: Mesa Intel(R) Arc(tm) A750 Graphics (DG2)
OpenGL Version: 4.6 (Compatibility Profile) Mesa 24.2.5-arch1.1
OpenGL Core: 4.6 (Core Profile) Mesa 24.2.5-arch1.1
OpenGL ES: OpenGL ES 3.2 Mesa 24.2.5-arch1.1
Vulkan Version: 1.3.295
Vulkan Drivers: Intel(R) Arc(tm) A750 Graphics (DG2) (1.3.289)
danieljohnson2 commented 2 hours ago

This is very odd, and I was not able to repro it; possibly I don't click fast enough.

If I may ask- does closing and re-opening the log window help? Or doing that, and then starting that game? Or maybe starting a different game (they have separate log buffers you see)?

exalented commented 1 hour ago

very odd

Yes. This has been happening for quite some time (couple years actually). I haven't submitted an issue because it's quite hard to track what does/does not trigger it. Like I said, I have not observed this happening a single time, under Sway/XWayland with the vulkan backend when DISPLAY is unset.

closing and re-opening log window help?

No I should mention that once this happens and you start a different game + open the log buffer for that game it happens for each buffer until lutris is restarted.

danieljohnson2 commented 1 hour ago

This suggests it's not the log buffer that is broken- each game gets a new one. Perhaps the CSS?

If you can repro, perhaps you can provide a screen shot of the busted log window? Maybe there will be a clue.