You are not logged in.
Hello, I have an Arch with virt manager where I installed a small ArchVM. I have there the problem that picture and sound is asynchronous in Youtube videos. In a VM under VirtualBox and VMWare I do not have the problem.
I have installed in the VM: "qemu-guest-agent" and "spice-vdagent". I can also change the window of the VM and the resolution changes. The VM is otherwise quite fast.
As video driver I tried QXL or Virtio (with 3d acceleration). It does not bring any difference.
What do I have to set to watch well Youtube in a VM?
Infos from host:
System:
Kernel: 5.15.48-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/vmlinuz-linux-lts
root=UUID=0412f374-4005-45f4-a162-50566e7b8da6 rw rootflags=subvol=@
rootfstype=btrfs loglevel=3 split_lock_detect=off
Desktop: KDE Plasma v: 5.25.0 tk: Qt v: 5.15.4 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Arch Linux
Machine:
Type: Laptop System: TUXEDO product: TUXEDO Book XP14 Gen12 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: NB01 model: NV4XMB,ME,MZ serial: <superuser required> UEFI: INSYDE
v: 1.07.14NRTR1 date: 08/24/2021
Battery:
ID-1: BAT0 charge: 44.9 Wh (100.0%) condition: 44.9/49.4 Wh (91.0%)
volts: 16.8 min: 15.2 model: Notebook BAT type: Li-ion serial: <filter>
status: full
Memory:
RAM: total: 31.14 GiB used: 10.73 GiB (34.5%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP
arch: Tiger Lake built: 2020 process: Intel 10nm family: 6
model-id: 0x8C (140) stepping: 1 microcode: 0xA4
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 1324 high: 2042 min/max: 400/4700 scaling:
driver: intel_pstate governor: powersave cores: 1: 1191 2: 2042 3: 1578
4: 1061 5: 1817 6: 859 7: 967 8: 1080 bogomips: 44851
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2
avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd
avx512dq avx512f avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2
cdp_l2 clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16
cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
flush_l1d fma fpu fsgsbase fsrm fxsr gfni ht hwp hwp_act_window hwp_epp
hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ida intel_pt invpcid
invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b
movdiri msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm
pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed
rdt_a rdtscp rep_good sdbg sep sha_ni smap smep split_lock_detect ss ssbd
sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
tsc_adjust tsc_deadline_timer tsc_known_freq umip vaes vme vmx vnmi
vpclmulqdq vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: CLEVO/KAPOK
driver: i915 v: kernel arch: Gen12.1 process: Intel 10nm built: 2020-21
ports: active: DP-1 off: eDP-1 empty: DP-2, DP-3, DP-4, HDMI-A-1
bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
Device-2: Chicony USB2.0 Camera type: USB driver: uvcvideo bus-ID: 3-7:3
chip-ID: 04f2:b684 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1015x571mm (39.96x22.48")
s-diag: 1165mm (45.85")
Monitor-1: DP-1 pos: primary model: Gigabyte M32U serial: <filter>
built: 2021 res: 3840x2160 dpi: 140 gamma: 1.2
size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9 modes:
max: 3840x2160 min: 720x400
Monitor-2: eDP-1 note: disabled model: Najing CEC Panda 0x0050 built: 2019
res: 3840x2160 dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85")
diag: 355mm (14") ratio: 16:9 modes: 1920x1080
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.1.1
direct render: Yes
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: CLEVO/KAPOK
driver: snd_hda_intel bus-ID: 5-2.6:5 v: kernel
alternate: snd_sof_pci_intel_tgl chip-ID: 0bda:48f0 bus-ID: 00:1f.3
class-ID: 0300 chip-ID: 8086:a0c8 class-ID: 0403
Device-2: Realtek USB Audio type: USB driver: hid-generic,usbhid
Sound Server-1: ALSA v: k5.15.48-1-lts running: yes
Sound Server-2: PulseAudio v: 16.0 running: no
Sound Server-3: PipeWire v: 0.3.52 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
chip-ID: 8086:a0f0 class-ID: 0280
IF: wlan0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: CLEVO/KAPOK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 35:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp53s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
bus-ID: 3-1.2.3.3:9 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-4: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
bus-ID: 6-2.3:4 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp4s0u2u3 state: down mac: <filter>
IF-ID-1: macvtap2 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-2: virbr0 state: up speed: 10 Mbps duplex: unknown mac: <filter>
Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1 all]
IF-ID-3: vnet0 state: unknown speed: 10 Mbps duplex: full mac: <filter>
Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1 all]
WAN IP: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-10:5 chip-ID: 8087:0026 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 931.51 GiB used: 533.57 GiB (57.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 4B2QEXM7 temp: 27.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 931.01 GiB size: 931.01 GiB (100.00%)
used: 533.4 GiB (57.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 0412f374-4005-45f4-a162-50566e7b8da6
ID-2: /.snapshots raw-size: 931.01 GiB size: 931.01 GiB (100.00%)
used: 533.4 GiB (57.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 0412f374-4005-45f4-a162-50566e7b8da6
ID-3: /boot raw-size: 511 MiB size: 510 MiB (99.80%)
used: 179.4 MiB (35.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
label: N/A uuid: F154-D988
ID-4: /home raw-size: 931.01 GiB size: 931.01 GiB (100.00%)
used: 533.4 GiB (57.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 0412f374-4005-45f4-a162-50566e7b8da6
fs: nfs4 remote: 192.168.1.7:/
ID-9: /var/cache/pacman/pkg raw-size: 931.01 GiB
size: 931.01 GiB (100.00%) used: 533.4 GiB (57.3%) fs: btrfs
dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
uuid: 0412f374-4005-45f4-a162-50566e7b8da6
ID-10: /var/log raw-size: 931.01 GiB size: 931.01 GiB (100.00%)
used: 533.4 GiB (57.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 0412f374-4005-45f4-a162-50566e7b8da6
Swap:
Alert: No swap data was found.
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 3-1:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0608 class-ID: 0900
Hub-5: 3-1.2:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0608 class-ID: 0900
Device-1: 3-1.2.2:7 info: Holtek Keyboard type: Keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
power: 100mA chip-ID: 04d9:1603 class-ID: 0300
Hub-6: 3-1.2.3:8 info: VIA Labs VL812 Hub ports: 4 rev: 2.1
speed: 480 Mb/s chip-ID: 2109:2812 class-ID: 0900
Device-1: 3-1.2.3.3:9 info: Realtek RTL8153 Gigabit Ethernet Adapter
type: Network driver: r8152 interfaces: 1 rev: 2.1 speed: 480 Mb/s
power: 100mA chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
Device-2: 3-1.3:6 info: Sunplus Innovation Optical Mouse type: Mouse
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s
power: 98mA chip-ID: 1bcf:0005 class-ID: 0301
Device-3: 3-7:3 info: Chicony USB2.0 Camera type: Video driver: uvcvideo
interfaces: 4 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b684
class-ID: 0e02 serial: <filter>
Device-4: 3-10:5 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb
interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026
class-ID: e001
Hub-7: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-8: 5-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 5-1:2 info: Chrontel Billboard type: Billboard driver: N/A
interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 200mA chip-ID: 0639:7213
class-ID: 1100 serial: <filter>
Hub-9: 5-2:3 info: Cypress HX3PD Hub ports: 8 rev: 2.1 speed: 480 Mb/s
chip-ID: 04b4:2347 class-ID: 0900
Hub-10: 5-2.2:4 info: Cypress CY4603 ports: 4 rev: 2.1 speed: 480 Mb/s
chip-ID: 04b4:6506 class-ID: 0900
Device-1: 5-2.6:5 info: Realtek USB Audio type: HID
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 0bda:48f0 class-ID: 0300
Device-2: 5-2.8:6 info: Cypress Dock Management Controller type: Billboard
driver: N/A interfaces: 2 rev: 2.0 speed: 12 Mb/s chip-ID: 04b4:521b
class-ID: 1100 serial: <filter>
Hub-11: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-12: 6-2:2 info: Cypress HX3PD Hub ports: 5 rev: 3.2 speed: 10 Gb/s
chip-ID: 04b4:4347 class-ID: 0900
Hub-13: 6-2.2:3 info: Cypress CY-HX3 HUB ports: 4 rev: 3.1 speed: 5 Gb/s
chip-ID: 04b4:6504 class-ID: 0900
Device-1: 6-2.2.4:5 info: Genesys Logic USB Storage type: Mass Storage
driver: usb-storage interfaces: 1 rev: 3.2 speed: 5 Gb/s power: 896mA
chip-ID: 05e3:0754 class-ID: 0806 serial: <filter>
Device-2: 6-2.3:4 info: Realtek RTL8153 Gigabit Ethernet Adapter
type: Network driver: r8152 interfaces: 1 rev: 3.0 speed: 5 Gb/s
power: 288mA chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
Sensors:
System Temperatures: cpu: 52.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 279 Uptime: 7h 44m wakeups: 49 Init: systemd v: 251
default: graphical tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1
Packages: pacman: 1277 lib: 285 Shell: Zsh v: 5.9 running-in: konsole
inxi: 3.3.18
Infos from the VM
System:
Kernel: 5.18.5-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/vmlinuz-linux
root=UUID=1a7fb24a-d269-4607-a97d-118a44a83b0c rw rootflags=subvol=@
rootfstype=btrfs loglevel=3
Desktop: LXQt v: 1.1.0 tk: Qt v: 5.15.4 info: lxqt-panel wm: Openbox
v: 3.6.1 vt: 1 dm: SDDM Distro: Arch Linux
Machine:
Type: Kvm System: QEMU product: Standard PC (Q35 + ICH9, 2009) v: pc-q35-7.0
serial: <superuser required> Chassis: type: 1 v: pc-q35-7.0
serial: <superuser required>
Mobo: N/A model: N/A serial: N/A BIOS: SeaBIOS v: ArchLinux 1.16.0-1
date: 04/01/2014
Battery:
Message: No system battery data found. Is one present?
Memory:
RAM: total: 7.76 GiB used: 2.52 GiB (32.5%)
RAM Report:
missing: Required tool dmidecode not installed. Check --recommends
CPU:
Info: model: 11th Gen Intel Core i7-1165G7 bits: 64 type: SMP
arch: Tiger Lake built: 2020 process: Intel 10nm family: 6
model-id: 0x8C (140) stepping: 1 microcode: 0xA4
Topology: cpus: 2x cores: 1 smt: <unsupported> cache:
L1: 2x 64 KiB (128 KiB) desc: d-1x32 KiB; i-1x32 KiB L2: 2x 4 MiB (8 MiB)
desc: 1x4 MiB L3: 2x 16 MiB (32 MiB) desc: 1x16 MiB
Speed (MHz): avg: 2803 min/max: N/A cores: 1: 2803 2: 2803 bogomips: 11216
Flags: 3dnowprefetch abm adx aes apic arat arch_capabilities arch_perfmon
avx avx2 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vp2intersect
avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi
avx512vl bmi1 bmi2 clflush clflushopt clwb cmov constant_tsc cpuid
cpuid_fault cx16 cx8 de ept ept_ad erms f16c flexpriority fma fpu fsgsbase
fsrm fxsr gfni hypervisor ibpb ibrs ibrs_enhanced invpcid invpcid_single
lahf_lm lm mca mce md_clear mmx movbe movdir64b movdiri msr mtrr nopl nx
ospke pae pat pcid pclmulqdq pdcm pdpe1gb pge pku pni popcnt pse pse36
rdpid rdrand rdseed rdtscp rep_good sep sha_ni smap smep ss ssbd sse sse2
sse4_1 sse4_2 ssse3 stibp syscall tpr_shadow tsc tsc_adjust
tsc_deadline_timer tsc_known_freq umip vaes vme vmx vnmi vpclmulqdq vpid
x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Red Hat QXL paravirtual graphic card driver: qxl v: kernel ports:
active: Virtual-1 empty: Virtual-2,Virtual-3,Virtual-4 bus-ID: 00:01.0
chip-ID: 1b36:0100 class-ID: 0300
Display: x11 server: X.org v: 1.21.1.3 driver: X: loaded: modesetting
alternate: fbdev,vesa gpu: qxl display-ID: :0 screens: 1
Screen-1: 0 s-res: 3258x1744 s-size: <missing: xdpyinfo>
Monitor-1: Virtual-1 res: 3258x1744 hz: 60 size: N/A modes: max: 3258x1744
min: 640x480
OpenGL: renderer: llvmpipe (LLVM 13.0.1 256 bits) v: 4.5 Mesa 22.1.1
direct render: Yes
Audio:
Device-1: Intel 82801I HD Audio vendor: Red Hat QEMU Virtual Machine
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e
class-ID: 0403
Sound Server-1: ALSA v: k5.18.5-arch1-1 running: yes
Sound Server-2: PulseAudio v: 16.0 running: no
Sound Server-3: PipeWire v: 0.3.52 running: yes
Network:
Device-1: Red Hat Virtio network driver: virtio-pci v: 1 modules: virtio_pci
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 02:00.0
chip-ID: 1af4:1041 class-ID: 0200
IF-ID-1: enp2s0 state: up speed: -1 duplex: unknown mac: <filter>
IP v4: <filter> type: dynamic scope: global
IP v4: <filter> type: secondary dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Message: No bluetooth data found.
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 10 GiB used: 541.35 GiB (5413.5%)
ID-1: /dev/vda maj-min: 254:0 model: N/A size: 10 GiB block-size:
physical: 512 B logical: 512 B speed: <unknown> type: N/A serial: N/A
scheme: MBR
SMART Message: Unknown smartctl error. Unable to generate data.
Optical-1: /dev/sr0 vendor: QEMU model: QEMU DVD-ROM rev: 2.5+
dev-links: cdrom
Features: speed: 4 multisession: yes audio: yes dvd: yes rw: none
state: running
Partition:
ID-1: / raw-size: 9.8 GiB size: 9.8 GiB (100.00%) used: 7.78 GiB (79.4%)
fs: btrfs dev: /dev/vda2 maj-min: 254:2 label: N/A
uuid: 1a7fb24a-d269-4607-a97d-118a44a83b0c
ID-2: /.snapshots raw-size: 9.8 GiB size: 9.8 GiB (100.00%)
used: 7.78 GiB (79.4%) fs: btrfs dev: /dev/vda2 maj-min: 254:2 label: N/A
uuid: 1a7fb24a-d269-4607-a97d-118a44a83b0c
ID-3: /boot raw-size: 200 MiB size: 196.9 MiB (98.44%)
used: 171.7 MiB (87.2%) fs: vfat dev: /dev/vda1 maj-min: 254:1 label: N/A
uuid: 85A7-DF45
ID-4: /home raw-size: 9.8 GiB size: 9.8 GiB (100.00%)
used: 7.78 GiB (79.4%) fs: btrfs dev: /dev/vda2 maj-min: 254:2 label: N/A
uuid: 1a7fb24a-d269-4607-a97d-118a44a83b0c
ID-5: /shared_folder raw-size: N/A size: 931.01 GiB
used: 533.4 GiB (57.3%) fs: virtiofs source: ERR-102
ID-6: /var/cache/pacman/pkg raw-size: 9.8 GiB size: 9.8 GiB (100.00%)
used: 7.78 GiB (79.4%) fs: btrfs dev: /dev/vda2 maj-min: 254:2 label: N/A
uuid: 1a7fb24a-d269-4607-a97d-118a44a83b0c
ID-7: /var/log raw-size: 9.8 GiB size: 9.8 GiB (100.00%)
used: 7.78 GiB (79.4%) fs: btrfs dev: /dev/vda2 maj-min: 254:2 label: N/A
uuid: 1a7fb24a-d269-4607-a97d-118a44a83b0c
Swap:
Alert: No swap data was found.
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 15 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-1:2 info: QEMU USB Tablet type: HID driver: hid-generic,usbhid
interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA chip-ID: 0627:0001
class-ID: 0300 serial: <filter>
Hub-2: 2-0:1 info: Super-speed hub ports: 15 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
Message: No sensor data found. Is lm-sensors configured?
Info:
Processes: 175 Uptime: 3h 1m wakeups: 3030 Init: systemd v: 251
default: graphical tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1
Packages: pacman: 555 lib: 181 Shell: Zsh v: 5.9 running-in: qterminal
inxi: 3.3.18
Last edited by treeh0rse (2022-06-26 20:28:26)
Offline
Audio:
Device-1: Intel 82801I HD Audio vendor: Red Hat QEMU Virtual Machine
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e
class-ID: 0403
Sound Server-1: ALSA v: k5.18.5-arch1-1 running: yes
Sound Server-2: PulseAudio v: 16.0 running: no
Sound Server-3: PipeWire v: 0.3.52 running: yes
Is pipewire-alsa installed ?
Which browser are you using to play the youtube videos ?
Does the asynchronoous behaviour also occur when playing videos through mpv on the guest ?
Last edited by Lone_Wolf (2022-06-19 13:04:26)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Online
pipewire-alsa is installed.
Firefox and Chrome
The problem also occurs in mpv.
Offline
For clarity :
When using virtio driver you did verify virgl 3d was activated by looking at dmesg ?
Have you tried with vmware or std as vga guest driver ?
Post output of pacman -Qs xf86-video on guest please.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Online
Thank you very much for helping me.
> When using virtio driver you did verify virgl 3d was activated by looking at dmesg ?
Dmesg:
[ 2.878462] [drm] pci: virtio-vga detected at 0000:00:01.0
[ 2.878473] checking generic (fa000000 130000) vs hw (fa000000 800000)
[ 2.878475] fb0: switching to virtio_gpu from VESA VGA
[ 2.878586] Console: switching to colour dummy device 80x25
[ 2.878647] virtio-pci 0000:00:01.0: vgaarb: deactivate vga console
[ 2.878807] [drm] features: +virgl +edid -resource_blob -host_visible
[ 2.878808] [drm] features: -context_init
[ 2.879521] [drm] number of scanouts: 1
[ 2.879527] [drm] number of cap sets: 2
[ 2.888955] virtio_net virtio2 enp2s0: renamed from eth0
[ 2.888980] [drm] cap set 0: id 1, max-version 1, max-size 308
[ 2.893514] systemd-journald[246]: Received client request to flush runtime journal.
[ 2.901910] systemd-journald[246]: File /var/log/journal/e7838409b9ce4c41b95e883203dcc939/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 2.916444] [drm] cap set 1: id 2, max-version 2, max-size 696
[ 2.938789] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized
[ 2.976185] [drm] Initialized virtio_gpu 0.1.0 0 for virtio0 on minor 0
[ 2.991019] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[ 2.994268] virtio_gpu virtio0: [drm] drm_plane_enable_fb_damage_clips() not called
[ 2.994288] Console: switching to colour frame buffer device 160x50
[ 3.017678] i2c i2c-0: 1/1 memory slots populated (from DMI)
[ 3.017683] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD
[ 3.032038] virtio_gpu virtio0: [drm] fb0: virtio_gpudrmfb frame buffer device
$ inxi -G
Graphics:
Device-1: Red Hat Virtio GPU driver: virtio-pci v: 1
Display: x11 server: X.org v: 1.21.1.3 driver: X: loaded: modesetting
gpu: virtio_gpu resolution: 2780x1770~75Hz
OpenGL: renderer: llvmpipe (LLVM 13.0.1 256 bits) v: 4.5 Mesa 22.1.1
I think virgl is activated.
> Have you tried with vmware or std as vga guest driver ?
I don't know exactly what you mean, can I set "vmware" in Virt-Manager? I once changed to VGA in Virt-Manager and allocated 512MB (maximum) video memory. Now the resolution does not adjust automatically with the window size. The youtube video and a video with mpv is still asynchronous with the sound.
> Post output of pacman -Qs xf86-video on guest please.
local/xf86-video-vmware 13.3.0-3 (xorg-drivers)
X.org vmware video driver
Last edited by treeh0rse (2022-06-20 15:54:45)
Offline
> Have you tried with vmware or std as vga guest driver ?
Ich weiß nicht ganz genau was du meinst, kann ich "vmware" in Virt-Manager einstellen? Ich habe mal in Virt-Manager auf VGA umgestellt und 512MB (maximum) Videospeicher zugewiesen. Jetzt stellt sich die Auflösung nicht mehr automatisch mit der Fenstergröße ein. Das Youtubevideo und ein Video mit mpv ist immer noch asynchron zum Ton.
Have a go at the manual: man --pager='less -p -vga\ \type' qemu
Offline
Uuuuhhhgg wrong language.
Offline
Yeah, right I don't use virt-manger, I really dislike using it myself, cli only...
What you can do is use the man page posted to get what you need and create your own XML
https://libvirt.org/formatdomain.html#video-devices
Hope your able to figure it out with the already supplied info by Lone_Wolf
Offline
Ok, thanks. I'll take a look the next time. Maybe I can also add this to Virt-manager.
By the way, I use a Windows 10VM to play "The Settlers 4". The picture and sound are synchronous.
Offline
Getting virtio 3d acceleration to work requires some setting up, see https://wiki.archlinux.org/title/QEMU#virtio
[ 2.878462] [drm] pci: virtio-vga detected at 0000:00:01.0
basic functionality of virtio is active, but there's no sign of a line with [drm] virgl 3d acceleration enabled so that part probably doesn't work .
Apart from the special setup, check virglrenderer is installed on the host.
Last edited by Lone_Wolf (2022-06-21 09:57:02)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Online
I cannot get it work.
Lone_Wolf and qinohe: Does "virtio 3d acceleration" works for you?
> Currently a work in progress, supporting only very recent (>= 4.4) Linux guests with mesa (>=11.2) compiled with the option gallium-drivers=virgl
Does it work on a arch guest? Mesa is compiled with gallium-drivers=virgl
https://github.com/archlinux/svntogit-p … k/PKGBUILD
qemu-system-x86_64 -cdrom $cdr -boot order=a -drive file=$hdf,format=raw -m 8G -enable-kvm -machine q35 -device intel-iommu -cpu host -device virtio-vga-gl -display sdl,gl=on
console output:
> gl_version 46 - core profile enabled
> GLSL feature level 460
If I start with -vga vmware:
qemu-system-x86_64 -cdrom $cdr -boot order=a -drive file=$hdf,format=raw -m 8G -enable-kvm -machine q35 -device intel-iommu -cpu host -vga vmware
X won't start.
Offline
Well, first of all I don't use '-vga vmware' second: I never used 'virtio 3d acceleration'
Though, it seems to work?? on my guest using these options:
-device virtio-vga-gl -display gtk,gl=on
After that calling dmesg for drm
[drm] pci: virtio-vga detected
[drm] features: +virgl +edid
But I don't get that specific message: 'virgl 3d acceleration enabled' ...
Loading the guest also provides this message(host)
gl_version 46 - core profile enabled
GLSL feature level 460
edit: my line is based on variables, changed that..;)
Question/s: does X start on the guest if you do not try to enable 'virtio 3d acceleration'?
I'll show you the command I used to start my guest, but, it runs from ISO not an HD-image!
qemu-system-x86_64 -boot order=d,menu=on,reboot-timeout=5000 -m size=3072,slots=0,maxmem=3221225472 -k en-us -name archlinux-lightdm-2022.06.21-x86_64.iso,process=archlinux-lightdm-2022.06.21-x86_64.iso_0 -device virtio-scsi-pci,id=scsi0 -device virtio-vga-gl -display gtk,gl=on -audiodev pa,id=snd0 -device ich9-intel-hda -device hda-output,audiodev=snd0 -device virtio-net-pci,romfile=,netdev=net0 -nedev user,id=net0,hostfwd=tcp::60032-:22 -machine type=q35,accel=kvm,usb=on,pcspk-audiodev=snd0 -global ICH9-LPC.disable_s3=1 -enable-kvm -device scsi-cd,bus=scsi0.0,drive=cdrom0 -drive id=cdrom0,if=none,format=raw,media=cdrom,read-only=on,file=/home/mark/archiso/iso-and-img/iso-img/archlinux-lightdm-2022.06.21-x86_64.iso -serial stdio -no-reboot
You can use your own tweaked 'run_archiso.sh' - that's what I do...
(see)https://gitlab.archlinux.org/archlinux/ … archiso.sh - why invent a new wheel if only the tires need air...;)
Last edited by qinohe (2022-06-22 19:45:10)
Offline
I have little time, so I can only answer now.
[drm] pci: virtio-vga detected
[drm] features: +virgl +edid
...
gl_version 46 - core profile enabled
GLSL feature level 460
This is what happens to me. But Virgl does not seem to be active.
> Question/s: does X start on the guest if you do not try to enable 'virtio 3d acceleration'?
How do you mean that? "not try to enable "virtio 3d acceleration"?" If I use:
> qemu-system-x86_64 -cdrom $cdr -boot order=a -drive file=$hdf,format=raw -m 8G -enable-kvm -machine q35 -device intel-iommu -cpu host
The vm starts fine.
I'll show you the command I used to start my guest, but, it runs from ISO not an HD-image!
I can not start your commado, I do not even know how to build a custom ISO. Someday I will learn. I am a noob. But I tried it with another ISO file:
>sh vmscript.sh D
>qemu-system-x86_64: -nedev: invalid option
I cannot find this option (-nedev) in the qemu manpage.
But by the way, I like qemu from the command line. It seems to start faster than via virt-manager.
Offline
How do you mean that? "not try to enable "virtio 3d acceleration"?" If I use:
> qemu-system-x86_64 -cdrom $cdr -boot order=a -drive file=$hdf,format=raw -m 8G -enable-kvm -machine q35 -device intel-iommu -cpu host
The vm starts fine.
What I mean is if you start the VM does X start?
I can not start your commado,
>qemu-system-x86_64: -nedev: invalid optionI cannot find this option (-nedev) in the qemu manpage.
There is no 'nedev' in my line, there is 'netdev'
But by the way, I like qemu from the command line. It seems to start faster than via virt-manager.
I don't like using virt-manager at all I very much dislike it kudos to anyone who is able to use that (in my eyes) POS...
CLI is the way to go;)
Btw: if you execute 'glxinfo' in the guest you should see something similar to the next output:
...
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0x1af4)
Device: virgl (0x1010)
Version: 22.1.2
Accelerated: yes
Video memory: 0MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.3
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: virgl
...
To me that indicates 'virgl' is doing it's job, maybe someone can confirm that?
edit: use 'glxinfo -B' to get the above output immediately (see) man glxinfo
Yeah I made a mistake with that line 'nedev' I will paste the result in a few minutes!
Last edited by qinohe (2022-06-24 19:36:17)
Offline
the correct line:
qemu-system-x86_64 -boot order=a,menu=on,reboot-timeout=5000 -m size=3072,slots=0,maxmem=3221225472 -k en-us -name archlinux-lightdm-2022.06.22-x86_64.iso,process=archlinux-lightdm-2022.06.22-x86_64.iso_0 -device virtio-scsi-pci,id=scsi0 -device virtio-vga-gl -display sdl,gl=on -audiodev pa,id=snd0 -device ich9-intel-hda -device hda-output,audiodev=snd0 -device virtio-net-pci,romfile=,netdev=net0 -netdev user,id=net0,hostfwd=tcp::-:22 -machine type=q35,accel=kvm,usb=on,pcspk-audiodev=snd0 -global ICH9-LPC.disable_s3=1 -enable-kvm -device scsi-cd,bus=scsi0.0,drive=cdrom0 -drive id=cdrom0,if=none,format=raw,media=cdrom,read-only=on,file=/home/mark/archiso/iso-and-img/iso-img/archlinux-lightdm-2022.06.22-x86_64.iso -serial stdio -no-reboot
Offline
What I mean is if you start the VM does X start?
Yes X starts.
There is no 'nedev' in my line, there is 'netdev'
Works flawless for me.
Btw: if you execute 'glxinfo' in the guest you should see something similar to the next output:
direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Mesa/X.org (0x1af4) Device: virgl (0x1010) Version: 22.1.2 Accelerated: yes Video memory: 0MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.3 Max compat profile version: 3.1 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 OpenGL vendor string: Mesa/X.org OpenGL renderer string: virgl
To me that indicates 'virgl' is doing it's job, maybe someone can confirm that?
edit: use 'glxinfo -B' to get the above output immediately (see) man glxinfo
That is also the case with me. Already from the beginning in Virt-manager. But according to Wiki should be:
[drm] virgl 3d acceleration enabled
@ Lone_Wolf does this work for you?
>the correct line:
I like the terminal output... very interesting. I have to think over the options.
I don't like using virt-manager at all sad I very much dislike it kudos to anyone who is able to use that (in my eyes) POS...
CLI is the way to go;)
I still like it. Just add USB devices (Webcam/ USB-Stick) to do video chats for work in M$ Teams or something. Add network cards... It's very quick and easy for me.
I wish there was the easy option to export the Qemu commando line from a Virt-Manager VM.
(And I have(!) to use Windows because the driver for my Logitech vf0770 webcam quite stupidly no longer works with new kernels. I used it many years with ubuntu and at least some months with arch. In a win10VM the webcam works)
But what this topic is about: Is the picture and sound of a Youtube video in sync in your VM?
And: Thank you for trying to help me.
Offline
That is also the case with me. Already from the beginning in Virt-manager. But according to Wiki should be:
[drm] virgl 3d acceleration enabled
It could be the message is old and the one you see now is the current(new)?
I like the terminal output... very interesting. I have to think over the options. smile
'man qemu' is your biggest friend here, everything is in there and there is a lot of info on other distro fora & wiki's - like Gentoo or RedHat F.I.
I still like it. Just add USB devices (Webcam/ USB-Stick) to do video chats for work in M$ Teams or something. Add network cards... It's very quick and easy for me.
I wish there was the easy option to export the Qemu commando line from a Virt-Manager VM.
(And I have(!) to use Windows because the driver for my Logitech vf0770 webcam quite stupidly no longer works with new kernels. I used it many years with ubuntu and at least some months with arch. In a win10VM the webcam works)
All these can be run (easily) with CLI options just start reading man pages and wiki's and you'll get there + it gives enormous insight!
edit: I remember this thread about running Windows10-Qemu-CLI, there is a lot of extra info too:
https://bbs.archlinux.org/viewtopic.php?id=274354
Last edited by qinohe (2022-06-24 20:50:49)
Offline
Thank you, but is the picture and sound of a Youtube video in sync in your VM?
Offline
It was a little discovery for me since I never use audio in my VM's, but yes, audio is definitely in sync with the footage.
And damn if I would want to use this all the time I'd pull out my hairs:( I prefer metal for this.
edit: BTW. did you try to change the offset for the audio channel?
I wont guarantee it does 'anything' for you but it's worth a try I think
Last edited by qinohe (2022-06-25 13:21:53)
Offline
LOL. It just works when I add a sound card. Video and audio is in sync.
> qemu-system-x86_64 -cdrom $cdr -boot order=a -drive file=$hdf,format=raw -m 4G -enable-kvm -machine q35 -device intel-iommu -cpu host -device virtio-vga-gl -display sdl,gl=on -device intel-hda -device hda-duplex
The problem really seems to be Virt-Manager.
Thank you very much!!!!!
Edit: The problem is not virt-manager but SPICE.
Last edited by treeh0rse (2022-06-26 06:31:30)
Offline
Short update: It is now syncron. I installed two more things on the host:
[2022-07-09T16:35:57+0200] [ALPM] installed libxvmc (1.0.13-1)
[2022-07-09T16:35:57+0200] [ALPM] installed xf86-video-intel (1:2.99.917+916+g31486f40-2)
The output of "sudo dmesg | grep drm" did not change in the VM.
Offline