[SOLVED] Reverting back to nouveau from bumblebee/nvidia fails
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Reverting back to nouveau from bumblebee/nvidia fails
Hi,
After the latest kernel update, bumblebee and/or the nvidia drivers fail. I decided to simply revert back to nouveau drivers but that doesn't work. I believe I have deleted everything relevant: dkms, bbswitch, bumblebee, nvidia drivers, xorg files (I might have deleted too much here, lol)... I don't know what else to try.
I have a Fedora 17 x86_64 system installed on an Asus N55SF laptop.
Any ideas? Anything else I should provide (logs, outputs, etc)?
I'll post Xorg.0.log as well:
...
Well, I have no idea how to copy files from one HDD to another, so that log is out. I can however type the result of "startx" and "systemctl status prefdm.service":
Code:
root@Obviously ~# startx
xauth: file /root/.serverauth.1119 (the number changes I think) does not exist
X.Org X Server 1.12.3
Release Date: 2012-07-09
X Protocol Version 11, Revision 0
Build Operating System: (tell me if this is needed. Nouveau isn't mentioned here)
Build Date: 20 September 2012 07:51:23AM
Build ID: xorg-x11-server 1.12.3-2.fc17
Current version of pixman: 0.24.4
(irrelevant info)
Markers: (irrelevant)
(==) Log file: "/var/log/Xorg. (irrelevant)
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xinit: Unable to run program "xterm": No such file or directory
Specify a program on the command line or make sure that /usr/bin
is in your path
xinit: connection to X server lost
waiting for X server to shut down Server terminated successfully (0). Closing log file.
root@Obviously ~# systemctl status prefdm.service
prefdm.service - Display Manager
Loaded: loaded (/usr/lib/systemd/system/prefdm.service; static)
Active: inactive (dead) (Result: exit-code) since Tue, 02 Oct 2012 20:04:23 +0200
Process: 926 ExecStart=/etc/X11/prefdm -nodaemon (code=exited, status=203/EXEC)
CGroup: name=systemd:/system/prefdm.service
Last edited by Serophis; 10-02-2012 at 11:49 AM.
Reason: update
I have reinstalled bumblebee, bbswitch and dkms as I had it (from this guide). And following your suggestion I did a:
Code:
yum reinstall xorg-x11*
Now the error I get when trying "startx" is "No screens found". Nouveau might have been blacklisted when I reinstalled xorg (I'll check that now), but it does seem to load.
Edit:
Nouveau is not blacklisted anywhere now. The problem still persists.
Last edited by Serophis; 10-05-2012 at 03:13 AM.
Reason: Update
... and proceeded to un-blacklist nouveau after i installed akmod-nvidia.
"startx" gives me "No screens found", but in the beginning it says something about /.serverauth.(random number) "does not exist". Not sure how relevant.
Google is no help whatsoever.
EDIT:
Ok, I'm getting desperate and I don't want to program in Java on Windows... So here is the contents of Xorg.0.log typed by hand:
Code:
[ 347.097]
X.Org X Server 1.12.3
Release Date: 2012-07-09
[ 347.099] X Protocol Version 11, Revision 0
[ 347.100] Build Operating System: 2.6.32-220.17.1.e16.x86_64
[ 347.101] Current Operating System: Linux Obviously 3.5.4-2.fc17.x86_64 #1 SMP time and date whatever
[ 347.101] Kernel Command Lince: Nouevau isn't blacklisted here
[ 347.103] Build Date: whatever
[ 347.104] Build ID: xorg-x11-server 1.12.3-2.fc17
[ 347.105] Current version of pixman: 0.24.4
[ 347.107] Before reporting bla bla bla
[ 347.114] (==) Log file: "/var/log/Xorg.0.log"
[ 347.114] (==) Using config file: "/etc/X11/xorg.conf"
[ 347.114] (==) Using config directory "/usr/share/X11/xorg.conf.d"
[ 347.114] (==) No Layout section. Using the first Screen section.
[ 347.114] (==) No screen section available. Using defaults.
[ 347.114] (**) |-->Screen "Default Screen Section" (0)
[ 347.114] (**) | |-->Monitor "<default monitor>"
[ 347.114] (==) No device specified for screen "Default Screen Section"
Using the first device section listed.
[ 347.114] (**) | |-->Device "Videocard0"
[ 347.114] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 347.114] (==) Automatically adding devices
[ 347.114] (==) Automatically enabling devices
[ 347.114] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 347.114] (**) ModulePath set to "/usr/lib64/xorg/modules/extensions/nvidia,/usr/lib64/xorg/modules"
[ 347.114] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 347.114] (II) Loader magic: 0x7c6ac0
[ 347.114] (II) Module ABI versions:
[ 347.114] X.Org ANSI C Emulation: 0.4
[ 347.114] X.Org Video Driver: 12.0
[ 347.114] X.Org XInput driver : 16.0
[ 347.114] X.Org Server Extension : 6.0
[ 347.115] (--) PCI:*(0:0:2:0) 8086:0116:1043:2050 rev 9, (I was unable to discern the rest from the picture I took. Let me know if this section is important)
[ 347.115] (II) LoadModule: "extnod"
[ 347.117] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[ 347.117] (II) Module extnod: vendor="X.Org Foundation"
[ 347.117] compiled for 1.12.3, module version = 1.0.0
[ 347.117] Module class: X.Org Server Extension
[ 347.117] (II) Loading extension SELinux
[ 347.117] (II) Loading extension MIT-SCREEN-SAVER
[ 347.117] (II) Loading extension XFree06-VidModeExtension
[ 347.117] (II) Loading extension XFree06-DGA
[ 347.117] (II) Loading extension DPMS
[ 347.117] (II) Loading extension XVideo
[ 347.117] (II) Loading extension XVideo-MotionCompensation
[ 347.117] (II) Loading extension X-Resource
[ 347.117] (II) LoadModule: "dbe"
[ 347.118] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[ 347.118] (II) Module dbe: vendor="X.Org Foundation"
[ 347.118] compiled for 1.12.3, module version = 1.0.0
[ 347.118] Module class: X.Org Server Extension
[ 347.118] ABI class: X.Org Server Extension
[ 347.118] (II) Loading extension DOUBLE.BUFFER
[ 347.118] (II) LoadModule: "glx"
[ 347.118] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 347.118] (II) Module glx: vendor="X.Org Foundation"
[ 347.118] compiled for 1.12.3, module version = 1.0.0
[ 347.118] ABI class: X.Org Server Extension, version 6.0
[ 347.118] (==) AIGLX enabled
[ 347.118] (II) Loading extension GLX
[ 347.118] (II) LoadModule: "record"
[ 347.118] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[ 347.118] (II) Module record: vendor="X.Org Foundation"
[ 347.118] compiled for 1.12.3, module version = 1.13.0
[ 347.118] Module class: X.Org Server Extension
[ 347.118] ABI class: X.Org Server Extension, version 6.0
[ 347.118] (II) Loading extension RECORD
[ 347.118] (II) LoadModule: "dri"
[ 347.118] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[ 347.118] blablabla not writing this **** again
[ 347.118] (II) Loading extension XFree86-DRI
[ 347.118] (II) LoadModule: "dri2"
[ 347.118] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[ 347.118] blablabla vendor X.Org Foundation etc
[ 347.118] (II) Loading extension DRI2
[ 347.118] (II) LoadModule: "nvidia"
[ 347.118] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 347.119] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 347.119] compiled for 4.0.2, module version = 1.0.0
[ 347.119] Module class: X.Org Video Driver
[ 347.666] (II) NVIDIA dlloader X Driver 304.37 time and date
[ 347.667] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 347.667] (--) using VT number 4
[ 347.685] (EE) No devices detected.
[ 347.685]
Fatal server error:
[ 347.685] no screens found
[ 347.685]
Please consult the Fedora Project support bla bla bla the end
Please check you have the X11-server installed tooo,
Quote:
this was worth it!
So... you have the nouveau module/driver installed, but your x script is trying to initiate the nVidia module.
Could be as simple as editing the /etc/X11/xorg.conf file.
to get a console to login, try these key combination/s
Code:
ctrl+alt+F1
Generally F1 through to F6 gives a login screen.
One maybe the failed x-server, just leave it for now and login as root to edit the xorg.conf file.
the xserver also looks after mouse and keys, when it's really broken you won't be able to type....
type,
Code:
vi /etc/X11/xorg.conf
type "i" to insert(edit)
scroll down and replace nvidia with nouveau or add a line like this.
Code:
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce 6100 and later"
# Driver "nv" # this line is commented (#) and will not be read.
Driver "nouveau"
# Driver "nvidia"
# Driver "vesa"
Option "DPMS"
EndSection
Next time you only have to swap hashes(#) to try a different module.
once you're happy with the edit,
type ESC, to exit insert mode.
type :wq! to write and quit vi. !=do it now!(force, you may not need !)
type exit to logout, switch back to the failed-gui (ctrl+alt+Fn)
type ctrl+alt+<-- (backspace) to restart the server (bit like win95, sometimes more is better, I use the sequence twice)
After editing /etc/X11/xorg.conf to say nouveau instead of nvidia, I also did a "yum install xorg-x11-server*" and installed everything there. With "cat Xorg.0.log | grep EE/nvidia" I noticed that module /usr/lib64/xorg/modules/extensions/nvidia was still being loaded. For that i did a cp of /etc/X11/xorg.conf.d/00-nvidia.conf to 00-nvidia.conf.old and deleted that file. Now only nouveau is loaded, but the problem still persists. No devices/no screens are found and .serverauth(random number) still doesn't exist.
"Started Display Manager" always fails when booting up. I'll come back with the contents of "systemctl status prefdm.service":
Maybe bumblebee might be ruining things here? Should I try to remove bumblebee and bbswitch together with the nvidia drivers perhaps? I can live with nouveau.
Last edited by Serophis; 10-06-2012 at 05:50 AM.
Reason: update
I tried the Xorg -configure thingy but got an error that "Number of screens don't match number of devices" or something along those lines, and the xorg.conf file had a lot more information on it than it previously had.
HOWEVER, I might be on the verge of a breakthrough. I made a live usb image of Fedora and copied the contents of X11 there over to my computers X11 (I made a backup of the old X11 directory obviously). Now the screen on boot goes back between black and loading (with the mouse cursor) which shows great promise. The problem now, I think, is that the X11 folder I copied and pasted is configured for the usb on /dev/sdd/. Is there a way to change it?
The problem first appeared with the kernel 3.5.4-2.fc17-x86_64 with my bumblebee/bbswitch setup. I know that nouveau works on my system. Also, Display Manager starts now but flickers (probably due to some settings in the newly cped X11 directory), which shows real promise.
Thanks for the help but I simply copy and pasted my home folder and reinstalled (amazed at how much is intact afterwards, lol).
I would have loved to play more around with this actually but I use and need this computer fully functional for school. At least now I know that I shouldn't try and use optimus technology without being prepared.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.