Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 09-11-2008, 03:46 PM   #1
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 32
How to specify video driver depending on kernel loaded (xen/standard)

Hey guys. I was trying to play around with Xen some time ago and gave up because I was using NVidia drivers and they aren't supported in Xen, so when I would boot the xen kernel, video would never work and I would get a blank screen. I want to try again now but I still want my default non-xen kernel to boot with the nvidia driver.

I figure I can create a boot script (or add to an existing one) that unloads the nvidia modules for that particular boot if it recognizes the xen kernel. The problem is I don't know where to do this and at what stage in the boot process video modules are loaded/configured.

Does anyone know what a good place to start is or if there is an easier way (like an extra boot parameter added to xen section in grub)?

openSUSE 11.0
KDE 4.1 Factory (SUSE repo's)

I plan on submitting a 'how to' for this problem if I can get it working.

Thanks for your help.

NOTE: There is a way to compile an older version of the nvidia drivers to work with the xen kernel, however, I do not want to do this.
Old 09-11-2008, 03:57 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
If you have a new kernel, it doesn't contain an nvidia.ko kernel driver module. You do need to load an alternate xorg.conf file when starting X that uses the generic nv driver (assuming it works with zen).

You can try that in YaST2 -> System -> Profile Manager. Or you can start X manually using the other configuration file.

Last edited by jschiwal; 09-12-2008 at 12:12 AM.
Old 09-12-2008, 04:01 PM   #3
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Original Poster
Rep: Reputation: 32
Ok, I will try this when I get some time. Thank you.
Old 09-22-2008, 11:55 AM   #4
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Original Poster
Rep: Reputation: 32
jschiwal, scpm works great! However, I prefer vmware to xen since I am familiar with vmware and like my compiz.

Do all distro's have scpm or is that a suse only thing?
Old 12-05-2010, 12:48 PM   #5
LQ Newbie
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
I am sorry for my bad english, it not my native.
May be question is stupid, but i use linux a few day and i need to have Xen.
My distro is Suse Enterprise Desktop 11. I install Xen in YaST2.
And question is what i need to do in Profile Manager?


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
Making XP use the standard VGA driver for an old card with no XP driver MonctonJohn General 4 02-25-2008 10:33 AM
X server crashes with i810 video driver and fc6 xen kernel sivak1 Fedora 3 06-01-2007 09:33 PM
VIA CN700 video driver FC4 kernel cornelpdt Linux - Hardware 0 09-11-2006 07:34 AM
SVGALIB permissions different depending on kernel 2.4 or 2.6? gargamel Slackware 0 09-06-2006 09:08 PM
Error "Kernel version mismatch" when nic driver will be loaded grubjo Linux - Networking 1 10-03-2003 05:12 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:53 AM.

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