LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 06-07-2012, 07:27 AM   #1
Morgawr
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
How can I instruct my kernels to use different X drivers based on kernel version?


Hello, I have a rather weird questions.

I'm trying to work with XEN virtualization and I need to boot into a kernel (compiled it myself) using a different set of gpu drivers than usual. I have an nVidia GTX570 which uses proprietary nVidia drivers (Which don't work in XEN).

I want to get rid on these drivers for just one kernel, for the other kernel (which currently works) I want to keep the nVidia ones.

I know it's not simple and it wouldn't be manual, but I want to be able to swap the drivers around when I need to boot into one or the other kernel.
Following these:
https://trisquel.info/en/forum/how-i...nvidia-drivers
http://nouveau.freedesktop.org/wiki/InstallNouveau
http://us.download.nvidia.com/XFree8...alldriver.html
I realized I have to:
1) build a different libdrm for nouveau drivers
2) swap the old and new libdrm depending on which kernel I need to boot
3) not install the nvidia kernel module (nvidia.ko) for the newer kernel (DONE by default)
4) swap the xorg.conf file based on which kernel I boot into (easy to do)

There's a few steps I'm missing though, mainly how to get the actual nouveau drivers to work with the kernel. I edited my xorg.conf to use "nouveau" as drivers, but when I boot it goes into a black screen and doesn't work (not even into tty, just a black screen with a blinking cursor). I supposedly "installed" the nouveau drivers with "sudo apt-get install xserver-xorg-video-nouveau", I also edited the file in /etc/modprobe.d/ to remove the blacklist from the nouveau drivers (created by the nvidia proprietary drivers).

Any tips? Am I missing something? Obviously I'm not asking how to flip between the two drivers, that I will figure out myself, I just want to get nouveau to work on this kernel even though I have the nVidia drivers installed (for another kernel!).

Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kernel Log: New X Server, 3D drivers for Radeon 5000 and new stable kernels LXer Syndicated Linux News 0 08-26-2010 04:10 PM
LXer: Kernel Log: 2.6.36 development and new stable kernels and drivers LXer Syndicated Linux News 0 08-12-2010 07:30 AM
LXer: Kernel Log: Graphics drivers and Mesa3D updated, four new stable kernels LXer Syndicated Linux News 0 04-08-2010 03:00 AM
how do i Remaster my debian based distro to a newer kernel version austinium Debian 3 06-21-2008 12:50 PM
how to load kernel module based on kernel version? linetnew Linux - Newbie 3 05-10-2005 12:45 PM


All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration