Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] virt-manager qemu problem
Date: Sun, 18 Nov 2018 15:20:08
Message-Id: 2481237.ca48oSUebe@dell_xps
In Reply to: Re: [gentoo-user] virt-manager qemu problem by jdm
1 On Sunday, 18 November 2018 13:49:12 GMT jdm wrote:
2 > On Sat, 17 Nov 2018 23:39:42 +0000
3 >
4 > Mick <michaelkintzios@×××××.com> wrote:
5 > > On Saturday, 17 November 2018 10:55:21 GMT jdm wrote:
6 > > > Hi,
7 > > >
8 > > > I am trying to run virt-manager and or qemu with 3d acceleration
9 > > > using virtio-gpu options.
10 > > >
11 > > > When I start the virtual machine in virt-manager all I get is a
12 > > > screen of static (complete screen corruption of lines and blocks)
13 > > >
14 > > > I also get the same problem when trying to start from CLI with the
15 > > > following
16 > > >
17 > > > /usr/bin/qemu-system-x86_64 \
18 > > > -enable-kvm \
19 > > > -cpu host \
20 > > > -smp 8 \
21 > > > -m 4G \
22 > > > -net nic,macaddr=52:54:00:12:34:56 -net user \
23 > > > -soundhw es1370 \
24 > > > -usb -device usb-tablet \
25 > > > -show-cursor \
26 > > > -vga virtio \
27 > > > -display gtk,gl=on \
28 > > > -drive file=arch.img,if=virtio &
29 > > >
30 > > > This used to work fine but has recently gone wrong. I have tried
31 > > > several guests all with the same results of corrupted screens.
32 > > >
33 > > > I can start machines with normal qxl options and all is fine so
34 > > > think this is just an issue with virtio 3d acceleration.
35 > > >
36 > > > Any ideas?
37 > > >
38 > > > Thanks
39 > > >
40 > > > John
41 > >
42 > > All I can think is this should be related to the host GPU and any
43 > > recent update to its drivers. On an old Radeon here I have not
44 > > noticed any problems running:
45 > >
46 > > -display gtk,gl=on
47 > >
48 > > or
49 > >
50 > > -display sdl,gl=on
51 >
52 > I decided to update virglrenderer upto version 9999 (not sure if I
53 > should do this but heyho) as there is only one version available. This
54 > has allowed me to run vm from CLI so that has helped there but not with
55 > virt-manager, which now just shows a blank screen.
56 >
57 > I have a RX480 radeon card which is yearish old so perhaps support for
58 > newer cards is not as good.
59 >
60 > John
61
62 I'm still on virglrenderer-0.6.0, with a 10+ year old RV730/M96-XT [Mobility
63 Radeon HD 4670] and radeon rather than amdgpu firmware. I am not using virt-
64 manager, just qemu off the CLI.
65
66 --
67 Regards,
68 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature