Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx works, but xinit fails with "no screens found"
View unanswered posts
View posts from last 24 hours

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


Joined: 27 Nov 2012
Posts: 2

PostPosted: Fri Dec 18, 2015 1:09 pm    Post subject: startx works, but xinit fails with "no screens found&qu Reply with quote

Hi, I'm using the radeon/radeonsi driver (VIDEO_CARDS="radeon radeonsi") because I'm using a HD7850 on a fresh install of amd64 Gentoo with the kernel being linux-4.1.12-gentoo. When I use "xinit /usr/bin/awesome" (Awesome is a window manager), I get a "no screens found".

However, using "startx /usr/bin/awesome" works fine. I don't have an xorg.conf (I haven't make one anyway).

My Xorg.0.log.old (when starting X with xinit): http://fh.tl/1n

The part that seems to cause the error is here:
Code:
[  2072.380] (EE) RADEON(0): [drm] failed to set drm interface version.
[  2072.380] (EE) RADEON(0): Kernel modesetting setup failed
[  2072.380] (II) UnloadModule: "radeon"
[  2072.380] (EE) Screen(s) found, but none have a usable configuration.
[  2072.380] (EE)
Fatal server error:
[  2072.380] (EE) no screens found(EE)
[  2072.380] (EE)


My Xord.0.log (when starting X with startx): http://fh.tl/1p

My Linux .config file: http://fh.tl/1k (CONFIG_DRM_RAEON_UMS is set to n because x11-drivers/xf86-video-ati told me it shouldn't be set in the post-emerge messages)

My /etc/portage/make.conf: http://fh.tl/1E

3D acceleration appears to work, but it is capped at 60Hz (that's fine).

Why doesn't xinit work?

Thanks.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Sat Dec 19, 2015 9:29 am    Post subject: Re: startx works, but xinit fails with "no screens foun Reply with quote

rbvim wrote:
When I use "xinit /usr/bin/awesome" (Awesome is a window manager), I get a "no screens found".

Why at all are you doing that? https://wiki.gentoo.org/wiki/Awesome#Starting recommends to put certain things into ~/.xinitrc.
Doesn't that work for you?

P.S.
If you really want to use the xinit command directly, see man 1 xinit
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