-   Linux - Desktop (
-   -   How to specify video driver depending on kernel loaded (xen/standard) (

CRC123 09-11-2008 02:46 PM

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.

jschiwal 09-11-2008 02:57 PM

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.

CRC123 09-12-2008 03:01 PM

Ok, I will try this when I get some time. Thank you.

CRC123 09-22-2008 10:55 AM

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?

bootaniq 12-05-2010 11:48 AM

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?

All times are GMT -5. The time now is 10:22 AM.