Article 4VQAW No way to pass Geforce GT218

No way to pass Geforce GT218

by
camerabambai
from LinuxQuestions.org on (#4VQAW)
I have setup a old Windows XP kvm guest to play old games(from year 2000-2009), I'm not interested in new games.
With Ati card radeon 6400 as guest all works fine, but the card is really slow even in old games.
I have tried a Nvidia Card as guest

Code:06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65] (rev a2)
06:00.1 Audio device [0403]: NVIDIA Corporation High Definition Audio Controller [10de:0be3] (rev a1)If I install the card with antother vga(fake vga as qlx, or vmvga, or cirrus), and I reboot with a configuration like this.

Code:<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>winxp</name>
<uuid>83dae250-aa44-4405-a973-a8864b6ecf9b</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<memoryBacking>
<hugepages/>
</memoryBacking>
<vcpu placement='static'>1</vcpu>
<cputune>
<vcpupin vcpu='0' cpuset='0'/>
</cputune>
<os>
<type arch='x86_64' machine='pc-i440fx-4.1'>hvm</type>
<boot dev='hd'/>
<bootmenu enable='yes'/>
</os>
<features>
<acpi/>
<apic/>
<hyperv>
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>
<vpindex state='on'/>
<synic state='on'/>
<stimer state='on'/>
<reset state='on'/>
<vendor_id state='on' value='1234567890ab'/>
<frequencies state='on'/>
</hyperv>
<kvm>
<hidden state='on'/>
</kvm>
<vmport state='off'/>
</features>
<cpu mode='host-passthrough' check='none'/>
<clock offset='localtime'>
<timer name='rtc' present='no' tickpolicy='catchup'/>
<timer name='pit' present='no' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
<timer name='hypervclock' present='yes'/>
<timer name='tsc' present='yes' mode='native'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='sda' bus='sata'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/home/user/.local/share/libvirt/images/winxp.qcow2'/>
<target dev='sdb' bus='sata'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<disk type='file' device='floppy'>
<driver name='qemu' type='raw'/>
<target dev='fda' bus='fdc'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</controller>
<controller type='fdc' index='0'/>
<interface type='network'>
<mac address=':**:**:**:**:**:**'/>
<source network='private'/>
<model type='pcnet'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<sound model='ac97'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</sound>
<video>
<model type='none'/>
</video>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<vendor id='0x046d'/>
<product id='0xc21a'/>
</source>
<address type='usb' bus='0' port='2'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</hostdev>
<memballoon model='none'/>
</devices>
<qemu:commandline>
<qemu:arg value='-object'/>
<qemu:arg value='input-linux,id=mouse,evdev=//dev/input/by-id/usb-Logitech_USB_Receiver-if01-event-mouse'/>
<qemu:arg value='-object'/>
<qemu:arg value='input-linux,id=kbd,evdev=/dev/input/by-id/usb-_USB_Keyboard-event-kbd,grab_all=on,repeat=on'/>
<qemu:arg value='-set'/>
<qemu:arg value='device.hostdev1.x-vga=on'/>
<qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
<qemu:env name='QEMU_AUDIO_DAC_FIXED_FREQ' value='48000'/>
<qemu:env name='QEMU_AUDIO_DAC_TRY_POLL' value='0'/>
<qemu:env name='QEMU_AUDIO_ADC_FIXED_FREQ' value='48000'/>
<qemu:env name='QEMU_AUDIO_ADC_TRY_POLL' value='0'/>
<qemu:env name='QEMU_AUDIO_TIMER_PERIOD' value='1000'/>
<qemu:env name='QEMU_PA_SERVER' value='localhost'/>
</qemu:commandline>
</domain>It start with a black screen ,and sometimes give me the login, some times not(black screen, but machine is working and reachable from net).
The problem is: why I cannot see the seabios screen and windows start logo as ati do without problems?
I see on dmesg those errors

Code: vfio-pci 0000:06:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
vfio-pci 0000:06:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000so I think is a vbios problem, I have tried to pass 6 different compatible vbios from techpowerup, but on someone I get error invalid pci rom header.., in other no error messages but black screen.
Someone know if is possible to get a modded vbios compatible with seabios for this card?
Or a card similar to this which work 100% for old games?
Thanks
Some info for help

kernel is: 5.3.12
slackware-current
libvirt 5.9.0
qemu 4.1.1
host card: ati 5400
guest card: nvidia gt218 Asus Brandlatest?d=yIl2AUoC8zA latest?i=t7qj6bCCm0M:X6YwjVI3v2E:F7zBnMy latest?i=t7qj6bCCm0M:X6YwjVI3v2E:V_sGLiP latest?d=qj6IDK7rITs latest?i=t7qj6bCCm0M:X6YwjVI3v2E:gIN9vFwt7qj6bCCm0M
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments