Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HALF-SOLVED]Installing X, KMS not enabled
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Blangero
n00b
n00b


Joined: 03 Aug 2014
Posts: 5

PostPosted: Sun Aug 03, 2014 2:10 am    Post subject: [HALF-SOLVED]Installing X, KMS not enabled Reply with quote

I'm new to gentoo but I've got some experience in ubuntu and debian
It took more than 30 hours for me to install Gentoo and xorg-xserver on my old PC,
while finished installing, I installed nouveau and nvidia drivers which seems to be working correctly,
but I still cannot open X.

It says
Code:
KMS not enabled
and
Code:
No devices detected.


I install the kernel by genkernel which should work,
I also checked menuconfig but find KMS only for intel graphics, my graphic card is Nvidia 9600 and my CPU is AMD.
other KMS configs are all KMS_HELPER.

I've already tried modprobe drm-xxx-kms-helper but didn't solve it.
I've already googled a lot but none of the threads helped.

The weekend is almost over so I think I'd better ask here.


BTW, my /proc/fb is :

Code:
0 VESA VGA



Xorg.0.log:
http://bpaste.net/show/547495/


lsmod:
http://bpaste.net/show/547489/
lspci:
http://bpaste.net/show/547513/

kern and syslog

http://bpaste.net/show/547496/
http://bpaste.net/show/547504/



I also get kern.log dmesg syslog but they are kind of too big to put here.

Anyone know how to solve it?

---------------------------------

this problem is half salved with the help of https://forums.gentoo.org/viewtopic-t-994120-highlight-kms+enabled.html
I've ever read it but it says that I have to make my own kernel, but I though that genkernel makes the perfect kernel for me.

Finally I genkernell --menuconfig and disable all the FB I can see, after installing xterm, startx works.

But as Hu has mentioned I need to choose between nouveau and nvidia
now my lspci -v is :
Code:

   Kernel driver in use: nouveau
   Kernel modules: nvidia


If I use nvidia-xconfig, cannot startx, log said no nvidia kernel
else if I change the nvidia to nouveau in xorg.conf, very bad resolution.
else if I remove xorg.conf, startx correctly but after start xfce, I find it laggy, is it because nouveau not correctly configured?


Last edited by Blangero on Sun Aug 03, 2014 1:54 pm; edited 5 times in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13867

PostPosted: Sun Aug 03, 2014 2:35 am    Post subject: Reply with quote

To use the open driver, you must enable the kernel driver for your video card. You likely need at least DRM_NOUVEAU=y.
Back to top
View user's profile Send private message
Blangero
n00b
n00b


Joined: 03 Aug 2014
Posts: 5

PostPosted: Sun Aug 03, 2014 2:40 am    Post subject: Reply with quote

Hi Hu

What do you mean by ' open driver ' ? I installed the driver after setting make.conf and emerge it. Is this an 'open driver'?

I know how to compile kernel myself but the genkernel is said to do all usually configures, so setting the drm should be done in it, shouldn't it?
Or how can I check it?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2576

PostPosted: Sun Aug 03, 2014 2:40 am    Post subject: Reply with quote

Allow me to add that there is a handy tool in portage called wgetpaste. To use it you simply run wgetpaste /path/to/file or <command> | wgetpaste and post the url returned.

EDIT: It would also be helpful if you did this with the logs you posted already. They are causing formating problems due to line brakes. A simple edit will fix this.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Blangero
n00b
n00b


Joined: 03 Aug 2014
Posts: 5

PostPosted: Sun Aug 03, 2014 2:47 am    Post subject: Reply with quote

Hi The Doctor
I know it but still haven't get a try.

Since I can't startx so I don't know how to surf the Internet in console, so I have to write
log files in windows partition and reboot to Windows and google them.

I think it's time for me to try wgetpaste.

Well, I still have to record the returned url in Windows partition and reboot to Windows and post it here.

Cry. :cry:
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13867

PostPosted: Sun Aug 03, 2014 3:26 am    Post subject: Reply with quote

The open (source) driver for your card is Nouveau. You said you installed both Nouveau and the nVidia (proprietary) driver. You need to choose which one you want and remove the other. I recommend the open driver whenever practical.
Back to top
View user's profile Send private message
Blangero
n00b
n00b


Joined: 03 Aug 2014
Posts: 5

PostPosted: Sun Aug 03, 2014 3:36 am    Post subject: Reply with quote

Hu wrote:
The open (source) driver for your card is Nouveau. You said you installed both Nouveau and the nVidia (proprietary) driver. You need to choose which one you want and remove the other. I recommend the open driver whenever practical.


In face, at first I installed only Nouveau but failed to startx, I think it's the driver's problem and write Nvidia into make.conf,which, after emerge the driver, didn't solve the problem.

So I think the problem has few things to do with the two drivers, of course I'll remove one after everything is fine.

But I have to get into X first :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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