LinuxQuestions.org
Register a domain and help support LQ
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 09-11-2008, 02:46 PM   #1
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 31
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)?

vitals:
openSUSE 11.0
KDE 4.1 Factory (SUSE repo's)
compiz-fusion

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, 02:57 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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-11-2008 at 11:12 PM.
 
Old 09-12-2008, 03:01 PM   #3
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

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

Original Poster
Rep: Reputation: 31
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, 11:48 AM   #5
bootaniq
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?
 
  


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


All times are GMT -5. The time now is 11:30 AM.

Main Menu
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