Change:
gcc.cc nss nspr <ins> xorg.libxcb </ins> ]); allPkgs = overridePkgs ++ [ steam-runtime ];

Discussion:
This started on unstable on the 4th or the 3rd of October. Not really sure what's wrong, here's the log from the terminal. Be on latest unstable, try to run steam. system: host os: multi-user?: sandbox: version: channels(root): channels(okina): nixpkgs:
I have the same issue here with an AMD card.
My bad I should have mentioned I'm using an AMD card too. It's an RX 560, which should be using the AMDGPU driver.
Same issue with amdgpu.
Same issue with an Intel card.
I just got this after rebasing on master. I believe the problem is outside of the steam packages, because I updated those first and it still worked. I'll try to find some time to bisect it, but I know this much so far: If anyone narrows it down more, please let me know.
I think I found where it went wrong: 1.12 -1.13 Now I'll try to find out why...
Ok, this gets steam working for me: If anyone can confirm, that would be great. I'll make a PR.
I've seen this happen when I have steam installed in a user environment, and then I update my system in the meantime. Reinstalling seems to fix it. I've been doing weird things such as swapping my graphics drivers lately so that might have something to do with it as well.
I did try removing and reinstalling , but it didn't make a difference. I believe this is just a library incompatibility with libGLX after libxcb was upgraded.
I can confirm that it works after applying your change. Nice!
shouldn't matter; it's more likely about nixpkgs versions of the steam package and the NixOS.
Is there some way I can work around this in 18.09?
assuming its exactly the same problem, you could cherry pick the fix: It probably should have been backported.
Pushed .
Sadly, this didn't fix it for me... Should I open a new issue?
if the symptoms are exactly the same maybe just post some system info and logs here first
Log is pretty much exactly the same, but here you go anyways system: "x86_64-linux" host os: Linux 4.14.78, NixOS, 19.03pre156996.

(Koi) multi-user?: no sandbox: no version: nix-env (Nix) 2.1.3 channels(root): "nixos-unstable, nixpkgs-unstable" channels(keno): "" I installed steam without root privileges from this repo's master branch.
I see the same on 18.09 with an Intel card, tried both system-level install and in user env nix-info:
It appeared that setting from did the trick (though I also switched to Prime and didn't try bumblebee with it yet)
That fixed it for me, too! This issue can be closed again, as far as I'm concerned. This info even already is in the wiki. I don't know why I missed that, sorry!
I guess it could be worth to add this option to but I'm not sure when exactly it is required
It's not really related to nvidia. Steam runs 32-bit stuff that need OpenGL &ndash; for that you need 32-bit drivers.
It's documented . I didn't know the error shows this kind of message (now) :-/ Perhaps we could wrap steam with a script that checks it and throws a more helpful message or something...
I was getting "glXChooseVisual failed" after changing from 18.09 channel 4.19 to unstable 4.19 (also tried on unstable 4.20). I had (as a post above suggests) the whole time (needed for it to work on the first channel I was on). Doing seems to have fixed it.
What worked was setting: inside and rebuilding as mentioned above. Deleting: did not fix the issue. I do know that Steam used to work before on NixOS 19.03 and I did upgrade to NixOS 20.03 Beta so it is possible that some OS or NVidia driver update broke it.
I made a module that allows users to just do to apply those workarrounds
Hey, despite using , I unfortunately once again am encountering glXChooseVisual failed. :C What I think is everything you need to know about my nix config: This is my log: The dump btw is not helpful, because it seems to use an unsupported text encoding.

I've tried disabeling blender-hip and setting the drivers to amdgpu, but after a rebuilt and reboot, the same error still consisted. A system with basically the same config with the only difference being works on my laptop with a nvidia gpu. So I would suspect something about amdgpu and/or amdgpupro is currently not working with steam, but as a novice I must say digging into this is far over my head.
decided to make this a new bug report, but it is probably the issue, I just reported here. (we know each other)
I'm on debian with an nivida rtx 3080 card. Having similar issues when installing steam via nix-env Here is my steam output:
I am experiencing this issue on nixos 22.11. Edit: Issue was related to an improper installation of steam. Following the directions on the wiki solved the issue.
I also ran into this (Intel graphics on nixos-unstable), but it was fixed by copying some config to my global from another machine: I don't know if this will help others, and I suspect not all of this is necessary, but it's the config I had on the first machine and it Worked For Me.
Only the steam package and the open firewall is necessary. This is handily
Adding driSupport32Bit fixed it for me :/ Everyone's saying this is mentioned in the wiki, I can find no mention of driSupport32Bit in either nor . Even if it was mentioned, why isn't driSupport32Bit part of the config for steam?
That's because is enabled if you actually do instead of simply adding steam to your list of packages
same for me