You are not logged in.

#26 2025-02-02 21:13:31

LRitzdorf
Member
Registered: 2022-12-08
Posts: 27

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

i915 is already included in my initramfs (via mkinitcpio's MODULES array); Nvidia modules are not, if that matters. Also, `nvidia_drm.modeset=1` is already set.
(Also, Electron was never an issue for me? Steam seems to be the only application affected by whatever my issue is.)

Offline

#27 2025-02-02 22:45:19

LRitzdorf
Member
Registered: 2022-12-08
Posts: 27

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

Just on a hunch, I tried installing `xf86-video-intel`, which I haven't had thus far. Unfortunately, Steam still crashes in the same way — which makes sense in that OpenGL support is handled by Mesa, which I already had.

Offline

#28 2025-02-03 08:31:42

seth
Member
Registered: 2012-09-03
Posts: 60,859

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

Make sure to remove that ddx driver again otherwise and w/o further radjustments you're most likely running on the software rasterizer.

https://wiki.archlinux.org/title/Steam/ … sktop_file
Or what if you explicitly select

DRI_PRIME=pci-0000_00_02_0 steam

w/ 0000_00_02_0 being the PCI ID of your IGP (likely, check lspci)

Offline

#29 2025-02-03 09:44:03

LRitzdorf
Member
Registered: 2022-12-08
Posts: 27

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

Yep, removed xf86-video-intel as soon as I finished my test. Thanks!

For all of these tests, I've just been running `steam` via my terminal — so desktop file edits shouldn't be relevant? My application launcher is (the Wayland fork of) Rofi, which to my knowledge doesn't parse `PrefersNonDefaultGPU` anyway. (Edit: yeah, just tested this, and no change.)

Setting `DRI_PRIME=pci-0000_00_02_0` (which is correct for my iGPU) has no effect either.

Last edited by LRitzdorf (2025-02-03 09:44:35)

Offline

#30 2025-02-04 16:47:31

seth
Member
Registered: 2012-09-03
Posts: 60,859

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

*sigh*

Time for the broadsword.

strace -f -tt -o /tmp/steam.strace steam
du -h /tmp/steam.strace # pot. very large you might want to gzip it?
cat /tmp/steam.strace | curl -F 'file=@-' 0x0.st

Offline

#31 2025-02-04 20:34:09

LRitzdorf
Member
Registered: 2022-12-08
Posts: 27

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

Oof, this is indeed the broadsword.

Trace is "only" 12MB; uploaded at http://0x0.st/8K3s.txt.

Offline

#32 2025-02-04 21:36:26

seth
Member
Registered: 2012-09-03
Posts: 60,859

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

Idk whether that's normal for steam, but it opens /usr/lib/libGLX_indirect.so.0 - have we asked for "printenv"?

Offline

#33 2025-02-05 00:24:35

LRitzdorf
Member
Registered: 2022-12-08
Posts: 27

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

Yep, see #9 in this thread. Also, `libGLX_indirect.so.0` is provided by Mesa, which I have installed and haven't customized at all.

Offline

#34 2025-02-05 09:11:02

seth
Member
Registered: 2012-09-03
Posts: 60,859

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

It's not so much that the file is there but that it gets accessed.
Is this on X11 or wayland (ie. xwayland)?

Don't use wayland for any of this, it complicates the situation because of the X11 nesting.
We need to make it work on X11 first, then see whether this translates to wayland (or why not)

Offline

#35 2025-02-06 00:13:38

LRitzdorf
Member
Registered: 2022-12-08
Posts: 27

Re: Steam: "glXChooseVisual failed," other OpenGL software unaffected

That trace was under Xwayland, but Steam has and continues to crash in the same way under X11 proper (specifically IceWM). New trace uploaded to http://0x0.st/8PHc.bin, in case that's preferred over my previous Wayland one, though it does still access `libGLX_indirect.so.0`.

Offline

Board footer

Powered by FluxBB