Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Startx Can't Find Screen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dkuflu
n00b
n00b


Joined: 14 Jun 2022
Posts: 10

PostPosted: Fri Jun 17, 2022 4:53 pm    Post subject: [SOLVED] Startx Can't Find Screen Reply with quote

I've just installed X11 using the Gentoo wiki, but I'm having trouble with startx. I get the error "no screens found" when I run startx, both as a normal user and root.


Startx log: https://pastebin.com/1YbQU0FW

I have an Nvidia GT 1030 GPU, and recently installed nouveau in case that matters.

Edit:
Loading nouveau as a module solved the issue


Last edited by dkuflu on Sat Jun 18, 2022 5:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1657

PostPosted: Fri Jun 17, 2022 5:24 pm    Post subject: Reply with quote

Code:
[   918.610] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[   918.610] (EE) open /dev/dri/card0: No such file or directory


Looks like the kernel bits are not yet ready.

Until /dev/dri/card0 and a hi-res console are prepared, Xorg will not work with nouveau nor the backup modesetting driver.

I suggest looking at dmesg for any issues preventing this.

I highly recommend setting CONFIG_DRM_NOUVEAU=m in the kernel and not built-in (aka * or y) in order to easily load any missing firmware (if any).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum