Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Xorg won't start using nouveau, No devices detected
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
lilrc
n00b
n00b


Joined: 23 Sep 2012
Posts: 19
Location: Sweden

PostPosted: Sun Sep 23, 2012 5:30 pm    Post subject: [SOLVED] Xorg won't start using nouveau, No devices detected Reply with quote

I have a major problem getting nouveau to work with xorg. It worked some time ago until I recompiled the kernel using a different config file (sadly, I lost the working one...). I have tried editing the kernel config for some time but I can't get it working. The nouveau kernel driver works except that startx gives me errors. The framebuffer console looks fine and /sys/class/drm seems OK.

I get "(EE) No devices detected" and "no screens found" from the Xorg.0.log. The complete file can be found at: http://pastebin.com/e3Qj2NHg

The dmesg also seems pretty OK.
The complete output: http://pastebin.com/L20XauBT

There is another thread on the forum which handles a similar problem (https://forums.gentoo.org/viewtopic-p-6712339.html) where the solution was adding udev to the correct runlevel. I've added udev to sysinit, but still no luck.

Here's also the output of "lspci", if it could be relevant. http://pastebin.com/DJbzHpa6

The card works with the nv-driver (with nouveau removed from both kernelspace and userspace). The nv-driver however lacks some nice functions, like acceleration. I can also get X started with the VESA-driver.

All help is greatly appreciated


Last edited by lilrc on Thu Sep 27, 2012 6:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sun Sep 23, 2012 5:46 pm    Post subject: Reply with quote

lilrc,

Everything you posted looks good, so the problem must be with something you didn't post.

Can we see your kernel .config file please. The decompressed /proc/config.gz is preferred but if thats not there, the .config that belongs to the kernel shown by
Code:
 uname -a

That may or may not be the same kernel as pointed to by /usr/src/linux.

Your dmesg claims
Code:
 [    0.000000] Linux version 3.5.4-gentoo-gkalle (root@kalle-gentoo) (gcc version 4.6.3 (Gentoo 4.6.3 p1.6, pie-0.5.2) ) #7 SMP PREEMPT Sun Sep 23 17:55:39 CEST 2012

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lilrc
n00b
n00b


Joined: 23 Sep 2012
Posts: 19
Location: Sweden

PostPosted: Sun Sep 23, 2012 6:46 pm    Post subject: Reply with quote

Alright, here is my kernel config, it is from the decompressed /proc/config.gz.
http://pastebin.com/hHmA3Drk
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Sun Sep 23, 2012 9:02 pm    Post subject: Reply with quote

The kernel side of things looks mostly fine, except for this:
Code:
CONFIG_EXPERT=y
This allows you to disable important kernel parts like file locking or sockets. It should never be enabled unless you really know what you are doing and carefully check all oldconfig options on kernel upgrade.

Also check that your sysfs is mounted properly.

If nouveau still won't work, you can use the xf86-video-modesetting driver which is not accerelated, but works with xrandr 1.2.
Back to top
View user's profile Send private message
lilrc
n00b
n00b


Joined: 23 Sep 2012
Posts: 19
Location: Sweden

PostPosted: Mon Sep 24, 2012 1:38 pm    Post subject: Reply with quote

Unsetting CONFIG_EXPERT fixed the problem! :D

Thank you very much for your help! :D
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