[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re : Re : Xen VGA Passthrough Questions



Hi,

How do I stop lightdm display manager and X.org server in Ubuntu 11.10 and unload the nouveau vga driver?

I can run "sudo killall lightdm" and lightdm and X.org X server will be terminated successfully, but I cannot force nouveau to unload at all. It always say nouveau module is in use even if I use "sudo modprobe --force --remove nouveau".

I need to unload the following kernel modules for successful Xen VGA passthrough.
rmmod nouveau
rmmod ttm
rmmod drm_kms_helper
rmmod drm

Please read Deactivating KMS and unloading Nouveau at http://nouveau.freedesktop.org/wiki/KernelModeSetting

But setting "echo 0 > /sys/class/vtconsole/vtcon1/bind" causes the display to hang and I can't do anything more at all.

I can't force nouveau,ttm,drm_kms_helper,drm kernel modules to unload. Help!!!

Also, if I add xen-pciback.hide=(01:00.0) to the module line in GRUB2, the display turns blank while booting and I can't do anything at all. Any ideas?

Thank you very much.

Yours sincerely,

Teo En Ming (Zhang Enming)

On 21/03/2012 00:36, Casey DeLorme wrote:
Hello,

Supposedly both the board & CPU must have VT-d, the E6300 does not:

If pciback was compiled into your kernel (not a module) then you can add "xen-pciback.hide=(01:00.0)" to the module line in your grub.cfg, substituting your lspci device names.

nVidia supposedly requires patches and only works in Windows XP, there are a few Windows 7 success stories, but they seem rare.  Most people have success without patches using AMD cards.

Best of luck.

~Casey DeLorme


On Tue, Mar 20, 2012 at 11:39 AM, Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@xxxxxxxxx> wrote:
Dear David Techer and others,

I thought Intel H61 chipset and MSI motherboards officially don't support VT-x and VT-d? There is no VT-d enabling option in MSI motherboard BIOS.

I want to test Xen VGA passthrough for Windows 8 Consumer Preview 64-bit English HVM domU with my Intel DQ45CB motherboard and Intel Pentium Dual Core E6300 2800 MHz.

By the way, I am using Linux kernel 3.3.0 Final. Should I use PCIBACK or PCI-STUB? If I use pciback, what arguments should I parse to the kernel command line in GRUB2? Please point me to the documentation for kernel command line arguments in the linux kernel source tree.

My graphics card: Palit NVIDIA Geforce 8400 GS PCI Express x16 SGD$44


Thank you very much.

Yours sincerely,

Teo En Ming (Zhang Enming)


On 20/03/2012 23:17, David TECHER wrote:
You're welcome.

Keep in mind that if you are going to upgrade BIOS for your motherboard, those values for your card may changed.

I was in this situation last time  BIOS was upgraded.

It does mean that those values will changed each time you upgrade your motherboad BIOS but having thos values changed after a BIOS upgrade could occur for a specific upgrade.

Don't ask me why...I do not know.

So you will be well advised to heck those values for each BIOS upgrade.

Moreover don't waste your time to test VGA PassThrough for NVIDIA for Windows  7. For Windows 7 use ATI.

I did my tests for playing with wine 1.4/1.5 on domU Ubuntu Lucid 10.04.4 PV HVM (game like Crysis 2) and it rocks :)

My configuration:

Manufacturer: MSI / Product Name: H61MU-E35 (MS-7680)
Bios version: V10.11




De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@xxxxxxxxx>
À : David TECHER <davidtecher@xxxxxxxx>
Cc : "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@xxxxxxxxx>
Envoyé le : Mardi 20 mars 2012 16h02
Objet : Re: Re : Xen VGA Passthrough Questions

Dear David Techer,

Thank you.

I think the following command is sufficient.

dmesg | grep 01:00.0 | grep "pci.*mem"

Yours sincerely,

Teo En Ming (Zhang Enming)

On 20/03/2012 17:54, David TECHER wrote:
Hi Teo,

The 3 first lines with pattern 'pci.*mem' need to be returned

U need to use somethign like

root@gemini:~# lspci |grep VGA
02:00.0 VGA compatible controller: nVidia Corporation Device 0ca2 (rev a2)
root@gemini:~# dmesg|grep 02:00.0 |grep ' pci [0-9].*mem'|head -n3
[    0.174458] pci 0000:02:00.0: reg 10: [mem 0xfb000000-0xfbffffff]
[    0.174466] pci 0000:02:00.0: reg 14: [mem 0xd0000000-0xdfffffff 64bit pref]
[    0.174475] pci 0000:02:00.0: reg 1c: [mem 0xee000000-0xefffffff 64bit pref]

Kind regards



De : Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@xxxxxxxxx>
À : "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>; David TECHER <davidtecher@xxxxxxxx>; Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@xxxxxxxxx>
Envoyé le : Mardi 20 mars 2012 8h39
Objet : Xen VGA Passthrough Questions

Dear David Techer,

I have read through your article on Xen VGA passthrough on http://www.davidgis.fr.

It appears that the following command on your blog doesn't work.

dmesg | grep 01:00.0 | grep BAR

The above command shows nothing at all. Is there an alternative solution?

Thank you very much.

Yours sincerely,

Teo En Ming (Zhang Enming)







_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.