View previous topic :: View next topic |
Author |
Message |
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Wed Jan 20, 2016 8:18 am Post subject: [SOLVED]No screens found(EE) |
|
|
Hi,
I installed Xorg, Kde and nvidia drivers, but when startx exit this error message: "No screens found(EE)".
I tried everything in my possibility, but I can not start kde.
My video card is an old Nvidia GeForce 7900 GT/GTO, and i think i need legacy drivers (304.xx is correct?)... but I don't know how to uninstall a drivers that i had installed and i don't know how install legacy drivers.
I tried to set 305.00 to a package.keywords in /etc/portage/package.mask/ and it install 304.131 version, but i'm not sure I did well, indeed the error at startx x is the same: "No screens found(EE)".
In make.conf in VIDEO_CARDS i have "nvidia" and i tried "nouveau" but the error is the same.
In xorg.conf i tried BusID "PCI:5:0:0", but i don't resolv.
Please help me!!!
Bye
Last edited by Maxxx on Mon Jan 25, 2016 9:55 pm; edited 1 time in total |
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Wed Jan 20, 2016 8:19 am Post subject: |
|
|
Please post the full /etc/X11/Xorg.conf ! |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Wed Jan 20, 2016 8:22 am Post subject: |
|
|
Ok, thank you very mich for your answer... now i'm unable to do it.
I'll do this afternoon.
Soon |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Wed Jan 20, 2016 2:26 pm Post subject: |
|
|
Hi... my /etc/X11/xorg.conf is:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etyc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Horizsync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Options "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:5:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54254 Location: 56N 3W
|
Posted: Wed Jan 20, 2016 9:05 pm Post subject: |
|
|
Maxxx,
Make friends with wgetpaste
Use it to put /var/log/Xorg.0.log onto a pastebin site. Tell us the link.
This will show what Xorg actually did when it started. xorg.conf shows what it was asked to do. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Thu Jan 21, 2016 6:41 am Post subject: |
|
|
And the xorg.0.log |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jan 21, 2016 8:29 am Post subject: |
|
|
Ok, thank you very much for your attention... I'll post Xorg.0.log with wgetpaste this afternoon, and i'll tell you a link.
Yesterday evening i compiled again kernel with "genkernell -config all" and i removed "*" in ATI video cards...
then i reconfigured grub 2 and i reboot system, but at "startx" the error is the same: "No screens found(EE)".
If it helps you, when i digit "startkde" the message is "&DISPLAY is not set..." and, i don't remember which command was, but i saw nvidia drivers and it were "nvidiafb".
TY |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Jan 21, 2016 1:10 pm Post subject: |
|
|
Quote: | [ 228.843] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[ 228.843] (EE) NVIDIA: system's kernel log for additional error messages. | Seems you didn't follow the wiki? |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jan 21, 2016 1:15 pm Post subject: |
|
|
Hi...
yes, but in genkernel -menuconfig all ther isn't nouveau flags in that menu. Why?
I rather checked all those related to nvidia. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu Jan 21, 2016 1:25 pm Post subject: |
|
|
looks like the age age old slipup of /usr/src/linux (what nvidia builds against) does match what you are booting
readlink /usr/src/linux && uname -r _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jan 21, 2016 1:40 pm Post subject: |
|
|
Thank you for response... then what should i do |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Jan 21, 2016 1:53 pm Post subject: |
|
|
Maxxx wrote: | Thank you for response... then what should i do |
Read the wiki article about Genkernel?
Sorry, I cannot advise since I've never used it. |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Thu Jan 21, 2016 2:06 pm Post subject: |
|
|
Naib wrote: | readlink /usr/src/linux && uname -r |
Maxxx wrote: | Thank you for response... then what should i do |
|
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jan 21, 2016 2:13 pm Post subject: |
|
|
Ok... the command "readlink /usr/src/linux && uname -r" returns this:
linux-4.1.12-gentoo
4.1.12-gentoo
Now, i must follow the wiki article about Genkernel in the menu of (changing the kernel) and then ricompile kernel and config Grub2... it's right? |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jan 21, 2016 5:30 pm Post subject: |
|
|
Or... first i must select "nouveau" in VIDEO_CARDS in /etc/portage/make.conf, and then recompile kernel (and so finally i'll find a nouveau flags to check)? |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu Jan 21, 2016 5:45 pm Post subject: |
|
|
you cannot use nouveau and nvidia drivers at the same time. Only one can have access to teh hardware. do you have nouveau loaded because that would explain everything.
1) you have installed nvidia drivers (ASSUMING that actually completed)
2) you are booting the same kernel as the one you installed nvidia to (the readlink command partially confirms this... equery f nvidia-drivers | grep -i [m]odule )
3) you have stated that xorg should use the nvidia drivers
IF nouveau is present and is loaded, the kernel will not be able to load nvidia and thus xorg will fail _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jan 21, 2016 5:59 pm Post subject: |
|
|
Ok, thank you very much to help me... but how i remove nouveau drivers?
emerge unmerge ... ???
Premise that in "genkernel --menuconfig all" there isn't a nouveau flag, then in recompiling kernel ther not should be loaded nouveau drivers... but, if I remember correctly, I should have somehow installed these drivers nouveau some day ago.
But now what should i do for uninstall these?
Bye |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54254 Location: 56N 3W
|
Posted: Thu Jan 21, 2016 6:22 pm Post subject: |
|
|
Maxxx,
The nvidia kernel module failed to load because its not there.
The nouveau could have loaded but you told it not to in xorg.conf - you selected the nvidia driver.
nouveau is in the kernel - I'm using it now.
You first step is to make up your mind which driver you want. You cannot have both in the same kernel at the same time.
Both drivers are in two pieces ... a kernel part and an xorg part.
Choose which driver you want to use and we can take it from there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jan 21, 2016 6:49 pm Post subject: |
|
|
Hi... I would have a nvidia drivers and i want to remove nouveau drivers.
I think I have the 304.131 version of nvidia drivers, but i-m not sure, and i think nvidia drivers could be ok for my GeForce 7900 GT/GTO.
Could you help me to remove nouveau from kernel and from Xorg?
Excuse me for my inesperience, but it is first time that i am installing gentoo. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54254 Location: 56N 3W
|
Posted: Thu Jan 21, 2016 7:13 pm Post subject: |
|
|
Maxxx,
My advice is to make it work first, make it better faster shinier when you name a working system to fall back on.
On that basis, lets make it work then add the nvidia driver. When it s broken, we know its nvidia.
First, we'll have a nice simple video driver that works with any video card made since 1998. Its slow and horrible but its an excellent test and its much better than no GUI at all. :)
As root ...
Edit your VIDEO_CARDS to add vesa, if its not already there.
Next Code: | emerge -1 xf86-video-vesa twm xclock xterm |
That installs the vesa video driver without rebuilding anything and the system wide default applications that Xorg tries to use.
They just work too.
Rename your xorg.conf so Xorg wont find it. We will want it later
As your normal user ...
If you have a ~/.xinitrc rename it, so its not found.
Do startx
If all is well, Xorg will start and show you three xterms and an analogue clock all running in twm.
You will have a USA keymap and right handed mouse, as that's the automatic defaults.
twm only uses the left mouse button.
That shows that Xorg works.
Once this works we can either add the nvidia driver in place of vesa or add in the desktop you really want to run but not both at the same time.
You can choose the order of the steps.
Nobody forgets their first Gentoo install, so you are among friends here. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jan 21, 2016 7:26 pm Post subject: |
|
|
Thanks a lot... therefore, first i put "vesa" in make.conf under VIDEO_CARDS, then "emerge -1 xf86-video-vesa twm xclock xterm"... after i rename /etc/X11/xorg.conf in xorg.conf.old (for example) and rename xinitrc (as normal user - not a root) in initrc.old (in which folder is initrc file?)... at the end startx
Right? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54254 Location: 56N 3W
|
Posted: Thu Jan 21, 2016 7:59 pm Post subject: |
|
|
Maxxx,
Thats it. If it works, we move on to the next step.
If not, wgetpaste the Xorg.0.log again and we fix it.
The ~/ means the current users home directory. /home/maxxx/ perhaps?
You may use ~/ in commands, so will work.
roots home directory is /root. For normal users its in /home/<user>/
-- edit --
The file name is .xinitrc
Its used to tell startx what to do. If its not found, which is what we want, the system wide default will be used. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jan 21, 2016 8:55 pm Post subject: |
|
|
Hi...
first i insert in /etc/portage/make.conf VIDEO_CARDS="vesa"
second "emerge -l xf86-video-vesa twm xclock xterm"
third rename file "mv /etc/X11/xorg.conf xorg.conf.old2" (because .old already existing)
fourth rename file "mv /.initrc /.initrc.old" (but as root, because as user it is impossible - error)
Then startx as user (and then also as root), but the error is the same.
This is the Xorg.0.log
https://bpaste.net/show/3a0b072f3254
Bye |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54254 Location: 56N 3W
|
Posted: Thu Jan 21, 2016 9:13 pm Post subject: |
|
|
Maxxx,
Something, somewhere, is telling xorg to load the nvidia driver.
Code: | [ 1099.472] (II) LoadModule: "nvidia" |
It must be something in Code: | [ 1099.439] (==) Using config directory: "/etc/X11/xorg.conf.d" |
What does Code: | grep -R nvidia /etc/X11/xorg.conf.d/* |
It should be a file with a line
Move that file out of /etc/X11/xorg.conf.d so its not used.
I did forget one step run choose the xorg-x11 option.
Code: | mv /.initrc /.initrc.old | is not correct.
The file name is .xinitrc. You may not have that file anyway. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|