Gentoo Archives: gentoo-user

From: jdm <jdm@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] virt-manager qemu problem
Date: Sun, 18 Nov 2018 13:49:22
Message-Id: 20181118134912.2f69d461@jdm.myzen.co.uk
In Reply to: Re: [gentoo-user] virt-manager qemu problem by Mick
1 On Sat, 17 Nov 2018 23:39:42 +0000
2 Mick <michaelkintzios@×××××.com> wrote:
3
4 > On Saturday, 17 November 2018 10:55:21 GMT jdm wrote:
5 > > Hi,
6 > >
7 > > I am trying to run virt-manager and or qemu with 3d acceleration
8 > > using virtio-gpu options.
9 > >
10 > > When I start the virtual machine in virt-manager all I get is a
11 > > screen of static (complete screen corruption of lines and blocks)
12 > >
13 > > I also get the same problem when trying to start from CLI with the
14 > > following
15 > >
16 > > /usr/bin/qemu-system-x86_64 \
17 > > -enable-kvm \
18 > > -cpu host \
19 > > -smp 8 \
20 > > -m 4G \
21 > > -net nic,macaddr=52:54:00:12:34:56 -net user \
22 > > -soundhw es1370 \
23 > > -usb -device usb-tablet \
24 > > -show-cursor \
25 > > -vga virtio \
26 > > -display gtk,gl=on \
27 > > -drive file=arch.img,if=virtio &
28 > >
29 > > This used to work fine but has recently gone wrong. I have tried
30 > > several guests all with the same results of corrupted screens.
31 > >
32 > > I can start machines with normal qxl options and all is fine so
33 > > think this is just an issue with virtio 3d acceleration.
34 > >
35 > > Any ideas?
36 > >
37 > > Thanks
38 > >
39 > > John
40 >
41 > All I can think is this should be related to the host GPU and any
42 > recent update to its drivers. On an old Radeon here I have not
43 > noticed any problems running:
44 >
45 > -display gtk,gl=on
46 >
47 > or
48 >
49 > -display sdl,gl=on
50 >
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

Replies

Subject Author
Re: [gentoo-user] virt-manager qemu problem Mick <michaelkintzios@×××××.com>