NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.01k stars 14.02k forks source link

Xorg does not work out of the box on Intel GMA 3150 graphics #75014

Open nh2 opened 4 years ago

nh2 commented 4 years ago

Issue description

NixOS 19.09 on a Samsung Chromebook 500C "Alex", installed via https://github.com/nh2/chrubuntu-anyos.

Xorg does not start. /var/log/X.0.log shows:

(EE) modeset(0): Failed to initialize glamor at ScreenInit() time.

Workaround

Set the option

services.xserver.videoDrivers = [ "intel" ];

Reason

This fixes the modesetting driver breaking the graphics; the (bad) default is

services.xserver.videoDrivers = [ "radeon" "cirrus" "vesa" "vmware" "modesetting" ];

I found this solution via #61125 from #55520.

What to do

Can we change NixOS somehow so that on this graphics hardware where modesetting doesn't work, we use intel instead?

nixos-discourse commented 4 years ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/more-than-a-week-trying-to-run-any-de-or-wm-on-my-i686-old-notebook-can-someone-help-me-please/5580/7

stale[bot] commented 4 years ago

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

nixos-discourse commented 7 months ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/fresh-system-after-graphical-install-hangs-on-started-display-manager/40970/12