public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] virt-manager qemu problem
@ 2018-11-17 10:55 jdm
  2018-11-17 23:39 ` Mick
  0 siblings, 1 reply; 4+ messages in thread
From: jdm @ 2018-11-17 10:55 UTC (permalink / raw
  To: gentoo-user

Hi,

I am trying to run virt-manager and or qemu with 3d acceleration using
virtio-gpu options. 

When I start the virtual machine in virt-manager all I get is a screen
of static (complete screen corruption of lines and blocks) 

I also get the same problem when trying to start from CLI with the
following

/usr/bin/qemu-system-x86_64 \
-enable-kvm \
-cpu host \
-smp 8 \
-m 4G \
-net nic,macaddr=52:54:00:12:34:56 -net user \
-soundhw es1370 \
-usb -device usb-tablet \
-show-cursor \
-vga virtio \
-display gtk,gl=on \
-drive file=arch.img,if=virtio &

This used to work fine but has recently gone wrong. I have tried
several guests all with the same results of corrupted screens.

I can start machines with normal qxl options and all is fine so
think this is just an issue with virtio 3d acceleration.

Any ideas?

Thanks

John





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] virt-manager qemu problem
  2018-11-17 10:55 [gentoo-user] virt-manager qemu problem jdm
@ 2018-11-17 23:39 ` Mick
  2018-11-18 13:49   ` jdm
  0 siblings, 1 reply; 4+ messages in thread
From: Mick @ 2018-11-17 23:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]

On Saturday, 17 November 2018 10:55:21 GMT jdm wrote:
> Hi,
> 
> I am trying to run virt-manager and or qemu with 3d acceleration using
> virtio-gpu options.
> 
> When I start the virtual machine in virt-manager all I get is a screen
> of static (complete screen corruption of lines and blocks)
> 
> I also get the same problem when trying to start from CLI with the
> following
> 
> /usr/bin/qemu-system-x86_64 \
> -enable-kvm \
> -cpu host \
> -smp 8 \
> -m 4G \
> -net nic,macaddr=52:54:00:12:34:56 -net user \
> -soundhw es1370 \
> -usb -device usb-tablet \
> -show-cursor \
> -vga virtio \
> -display gtk,gl=on \
> -drive file=arch.img,if=virtio &
> 
> This used to work fine but has recently gone wrong. I have tried
> several guests all with the same results of corrupted screens.
> 
> I can start machines with normal qxl options and all is fine so
> think this is just an issue with virtio 3d acceleration.
> 
> Any ideas?
> 
> Thanks
> 
> John

All I can think is this should be related to the host GPU and any recent 
update to its drivers.  On an old Radeon here I have not noticed any problems 
running:

-display gtk,gl=on

or

-display sdl,gl=on

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] virt-manager qemu problem
  2018-11-17 23:39 ` Mick
@ 2018-11-18 13:49   ` jdm
  2018-11-18 15:20     ` Mick
  0 siblings, 1 reply; 4+ messages in thread
From: jdm @ 2018-11-18 13:49 UTC (permalink / raw
  To: gentoo-user

On Sat, 17 Nov 2018 23:39:42 +0000
Mick <michaelkintzios@gmail.com> wrote:

> On Saturday, 17 November 2018 10:55:21 GMT jdm wrote:
> > Hi,
> > 
> > I am trying to run virt-manager and or qemu with 3d acceleration
> > using virtio-gpu options.
> > 
> > When I start the virtual machine in virt-manager all I get is a
> > screen of static (complete screen corruption of lines and blocks)
> > 
> > I also get the same problem when trying to start from CLI with the
> > following
> > 
> > /usr/bin/qemu-system-x86_64 \
> > -enable-kvm \
> > -cpu host \
> > -smp 8 \
> > -m 4G \
> > -net nic,macaddr=52:54:00:12:34:56 -net user \
> > -soundhw es1370 \
> > -usb -device usb-tablet \
> > -show-cursor \
> > -vga virtio \
> > -display gtk,gl=on \
> > -drive file=arch.img,if=virtio &
> > 
> > This used to work fine but has recently gone wrong. I have tried
> > several guests all with the same results of corrupted screens.
> > 
> > I can start machines with normal qxl options and all is fine so
> > think this is just an issue with virtio 3d acceleration.
> > 
> > Any ideas?
> > 
> > Thanks
> > 
> > John  
> 
> All I can think is this should be related to the host GPU and any
> recent update to its drivers.  On an old Radeon here I have not
> noticed any problems running:
> 
> -display gtk,gl=on
> 
> or
> 
> -display sdl,gl=on
> 

I decided to update virglrenderer upto version 9999 (not sure if I
should do this but heyho) as there is only one version available. This
has allowed me to run vm from CLI so that has helped there but not with
virt-manager, which now just shows a blank screen.

I have a RX480 radeon card which is yearish old so perhaps support for
newer cards is not as good.

John


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] virt-manager qemu problem
  2018-11-18 13:49   ` jdm
@ 2018-11-18 15:20     ` Mick
  0 siblings, 0 replies; 4+ messages in thread
From: Mick @ 2018-11-18 15:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2072 bytes --]

On Sunday, 18 November 2018 13:49:12 GMT jdm wrote:
> On Sat, 17 Nov 2018 23:39:42 +0000
> 
> Mick <michaelkintzios@gmail.com> wrote:
> > On Saturday, 17 November 2018 10:55:21 GMT jdm wrote:
> > > Hi,
> > > 
> > > I am trying to run virt-manager and or qemu with 3d acceleration
> > > using virtio-gpu options.
> > > 
> > > When I start the virtual machine in virt-manager all I get is a
> > > screen of static (complete screen corruption of lines and blocks)
> > > 
> > > I also get the same problem when trying to start from CLI with the
> > > following
> > > 
> > > /usr/bin/qemu-system-x86_64 \
> > > -enable-kvm \
> > > -cpu host \
> > > -smp 8 \
> > > -m 4G \
> > > -net nic,macaddr=52:54:00:12:34:56 -net user \
> > > -soundhw es1370 \
> > > -usb -device usb-tablet \
> > > -show-cursor \
> > > -vga virtio \
> > > -display gtk,gl=on \
> > > -drive file=arch.img,if=virtio &
> > > 
> > > This used to work fine but has recently gone wrong. I have tried
> > > several guests all with the same results of corrupted screens.
> > > 
> > > I can start machines with normal qxl options and all is fine so
> > > think this is just an issue with virtio 3d acceleration.
> > > 
> > > Any ideas?
> > > 
> > > Thanks
> > > 
> > > John
> > 
> > All I can think is this should be related to the host GPU and any
> > recent update to its drivers.  On an old Radeon here I have not
> > noticed any problems running:
> > 
> > -display gtk,gl=on
> > 
> > or
> > 
> > -display sdl,gl=on
> 
> I decided to update virglrenderer upto version 9999 (not sure if I
> should do this but heyho) as there is only one version available. This
> has allowed me to run vm from CLI so that has helped there but not with
> virt-manager, which now just shows a blank screen.
> 
> I have a RX480 radeon card which is yearish old so perhaps support for
> newer cards is not as good.
> 
> John

I'm still on virglrenderer-0.6.0, with a 10+ year old RV730/M96-XT [Mobility 
Radeon HD 4670] and radeon rather than amdgpu firmware.  I am not using virt-
manager, just qemu off the CLI.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-18 15:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-17 10:55 [gentoo-user] virt-manager qemu problem jdm
2018-11-17 23:39 ` Mick
2018-11-18 13:49   ` jdm
2018-11-18 15:20     ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox