View previous topic :: View next topic |
Author |
Message |
Blangero n00b
Joined: 03 Aug 2014 Posts: 5
|
Posted: Sun Aug 03, 2014 2:10 am Post subject: [HALF-SOLVED]Installing X, KMS not enabled |
|
|
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 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 :
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21489
|
Posted: Sun Aug 03, 2014 2:35 am Post subject: |
|
|
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 |
|
|
Blangero n00b
Joined: 03 Aug 2014 Posts: 5
|
Posted: Sun Aug 03, 2014 2:40 am Post subject: |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Sun Aug 03, 2014 2:40 am Post subject: |
|
|
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 |
|
|
Blangero n00b
Joined: 03 Aug 2014 Posts: 5
|
Posted: Sun Aug 03, 2014 2:47 am Post subject: |
|
|
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. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21489
|
Posted: Sun Aug 03, 2014 3:26 am Post subject: |
|
|
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 |
|
|
Blangero n00b
Joined: 03 Aug 2014 Posts: 5
|
Posted: Sun Aug 03, 2014 3:36 am Post subject: |
|
|
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 |
|
Back to top |
|
|
|