Repository navigation
Closed
Labels
Description
Describe the bug
CloudBuilt (AppID 262390) fails to launch. It uses OpenGL but does not have a native Linux build so it runs via Proton. I can't remember any other game off the top of my head that I know to use OpenGL 3.2 and not have a Linux build but I imagine they would also be affected.
Some suspicious lines from the journal right before Proton throws an "abort/retry/ignore" dialog and the game dies:
pressure-vessel-wrap[117646]: W: Found more than one possible libdrm data directory from provider
SDL_CreateWindow Error: No matching GL pixel format available
SDL_GetWindowWMInfo Error: Invalid window
Not Windows, this should be handledSDL_GetWindowWMInfo Error: Invalid window
Failed to initialize OpenGL
Initiated OpenGL
Error: OpenGL 3.2 not supported
Additional context
This used to be working just fine, some change in the last 6 months broke it. Also it works with Proton 5.0 so it seems to be specifically changes related to running Proton with the newer Soldier runtime.
Notify maintainers
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 5.14.21, NixOS, 22.05 (Quokka)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.4`
- channels(root): `"nixos-22.05pre334855.29d1f6e1f62"`
- channels(jansol): `""`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: steam
# a list of nixos modules affected by the problem
module:Reacted by 4aep, Maarten van den Berg and Martino Fontana
Activity
from-nibly commentedon Dec 13, 2021
Also having this same issue specifically with the game freeways.
tfc commentedon Dec 28, 2021
i also get a similar error message where i think it's the same problem with the "unmetal" demo via steam. It says "ChoosePixelFormat failed" and googling that error message hints towards a lack of opengl contexts.
AtilaSaraiva commentedon Jan 19, 2022
I'm having the same problem with the game Move or Die. I started using the flatpak version and it worked fine.
jonringer commentedon Apr 19, 2022
Is this still relevant? I have made many fixes since this was opened.
AtilaSaraiva commentedon Apr 19, 2022
Oh nice, I will test it out.
jansol commentedon Apr 19, 2022
This particular problem persists on nixos-unstable as of 1ffba9f2f683
jonringer commentedon Apr 19, 2022
which video card manufacturer do you have? for nvidia, can you try enabling modeset?
jansol commentedon Apr 20, 2022
The card is an AMD Radeon RX 6600XT, using the mesa driver.
jansol commentedon Jul 4, 2022
Still broken, also affects the Cyberpunk 2077 launcher
SuperSamus commentedon Jul 10, 2022
Other than confirming the problem, there is another issue with both Proton
and regular Wine: they are unable to use WineD3D (translation layer from Direct3D to OpenGL).EDIT: Only Proton, not Wine.
You can test on Proton with by adding the launch options:
PROTON_USE_WINED3D=1 %command%.You can test on Wine by... not installing DXVK (which is necessary because of this issue).Using an AMG iGPU with Mesa.
halturin commentedon Jul 11, 2022
not sure if its related, but got this error on trying to start Cyberpunk 2077

plabadens commentedon Jul 11, 2022
The CDPR launcher requires OpenGL, even though the game itself doesn't. You can work around the launcher crashing by adding
--launcher-skipto the Steam command line options, and that should start the game directly.jansol commentedon Jul 11, 2022
That does indeed work around the problem for that game, but the launcher is an easy way to reproduce the issue with a decently popular title so it is good to have listed here.
halturin commentedon Jul 11, 2022
I think I know why it can't reach these libs...
run.shmust be patched.jansol commentedon Jul 11, 2022
I suspect this is about the ldconfig database again. There was a lot of fiddling with that in the past too.
ashkitten commentedon Aug 2, 2022
so, i messed around a bit with this issue today. it turns out, adding
/run/opengl-driver{,32}/libtold.so.confseems to work... for 64-bit games (i tested with cs:go)running
ldconfigfromsteam-runspews out a bunch of stuff about libraries being truncated:Details
i'm not sure why it's saying this; it seems similar to this issue, but that issue was resolved in glibc 2.31 (we're on 2.34), and this also only seems to affect 32-bit libraries. i tried to run
ldconfigunder a debugger, but due to optimization i wasn't able to figure out anything useful even with symbols fromglibc.debug.ashkitten commentedon Aug 2, 2022
#184842 should fix this issue. please test!