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

Re: [Xen-users] My GPU won't pass through. Is this my goodbye to Xen?



Dear Xen-users.

Thank you, thank you, thank you.
I was not aware of the vfb option.
You have given me hope again.

I have not been able to start a desktop manager yet, but I'm not getting the same problem anymore.
My current problem however is that DomU greets me in a small window.
I tried setting xen-fbfront.video to a higher resolution, but has no effect.


/etc/xen/ArkOS-dev_PV.cfg now looks like this:

name = 'ArkOS_Dev'
bootloader = "pygrub"
#kernel = "/mnt/arch/boot/x86_64/vmlinuz"
#ramdisk = "/mnt/arch/boot/x86_64/archiso.img"
#extra = "archisobasedir=arch archisolabel=ARCH_201511"
memory = 2048
vcpus = 3
disk = [ "format=raw, vdev=xvda, access=rw, target=/dev/vm_volumes/root.ArkOS_Dev", "format=raw, vdev=xvdb, access=rw, target=/dev/vm_volumes/swap.ArkOS_Dev"
       ]
vif = [ 'mac=00:16:3e:49:2b:a1,bridge=xenbr0' ]
vfb = ['type=vnc,vnclisten=0.0.0.0']
root = "/dev/xvda rw"


and my pygrub looks like this:

menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-a6ecbc99-beca-4c22-b591-51846a193e25' {
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a6ecbc99-beca-4c22-b591-51846a193e25
        else
search --no-floppy --fs-uuid --set=root a6ecbc99-beca-4c22-b591-51846a193e25
        fi
        echo    'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=a6ecbc99-beca-4c22-b591-51846a193e25 ro
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-linux.img
        echo    'Setting resolution paravirtualized framebuffer ...'
        xen-fbfront.video=32,1024,768
}


Folatt.


On 01-12-15 10:15, Ian Campbell wrote:
On Mon, 2015-11-30 at 16:38 -0300, Zir Blazer wrote:
Two things: Try using a HVM, not PV. And check X.org config inside
the VM, manually make a .conf file. You may need to use the FBDev
Driver, I recall having issues with that at some point.
If sticking with PV then the vfb= option[1] would be needed to create a
suitable /dev/fb0 device to run X. PV guests have no graphics devices
by default and the posted guest config didn't include one.

If running HVM then it might be worth playing with the vga= option[0]
in the guest cfg to pick a graphics card better supported by the guest
distro. (stdvga might be a better choice than the default cirrus these
days).

Ian.

[0] 
http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html#emulated_vga_graphics_device
[1] http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html#devices



_______________________________________________
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®.