[haiku-bugs] Re: [Haiku] #15143: QXL/spice driver

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 08 Aug 2023 07:27:15 -0000

#15143: QXL/spice driver
-------------------------------+----------------------------
  Reporter:  kstabel           |      Owner:  nobody
      Type:  enhancement       |     Status:  new
  Priority:  normal            |  Milestone:  Unscheduled
 Component:  Drivers/Graphics  |    Version:  R1/Development
Resolution:                    |   Keywords:
Blocked By:                    |   Blocking:
  Platform:  All               |
-------------------------------+----------------------------
Comment (by johnsonjh):

 I must agree that performance of QXL is very poor here (on a very fast
 system, an Intel Xeon Gold 6246R at 4.1GHz).

 You can compare Haiku with SPICE vs. without easily to see the difference
 in overall snappiness very easily, no need for virt-manager or anything.

 * For SPICE, just put whatever password you want to set in haikupass.txt
 and start QEMU with something like:
 {{{
 qemu-system-x86_64
 \
     -usbdevice tablet
 \
     -smp 12
 \
     -m 2G
 \
     -net user,hostfwd=tcp::25723-:22
 \
     -net nic,model=virtio-net-pci
 \
     -drive file=haiku64.raw,format=raw,id=disk0,if=none
 \
     -device virtio-blk-pci,drive=disk0
 \
     -boot menu=on
 \
     -object secret,id=haikupass,file=haikupass.txt
 \
     -spice port=5900,disable-ticketing,password-secret=haikupass
 \
     -device virtio-serial -chardev
 spicevmc,id=vdagent,debug=0,name=vdagent \
     -device virtserialport,chardev=vdagent,name=com.redhat.spice.0
 \
     -vga qxl
 \
     -enable-kvm
 \
     -cpu host,host-phys-bits
 \
     -monitor stdio
 }}}

 * For non-SPICE with VNC, you remove the four lines starting with `-object
 ...` and change to vmware for the video type, and enable the VNC server.
 Once it starts up, use the command `change vnc password` to set the
 password.
 {{{
 qemu-system-x86_64
 \
     -usbdevice tablet
 \
     -smp 12
 \
     -m 2G
 \
     -net user,hostfwd=tcp::25723-:22
 \
     -net nic,model=virtio-net-pci
 \
     -drive file=haiku64.raw,format=raw,id=disk0,if=none
 \
     -device virtio-blk-pci,drive=disk0
 \
     -boot menu=on
 \
     -vnc 127.0.0.1:3,password
     -vga vmware
 \
     -enable-kvm
 \
     -cpu host,host-phys-bits
 \
     -monitor stdio
 }}}

 Using QXL in VESA mode with SPICE, you get a lot of tearing and generally
 much worse performance than using the VMware video device via VNC.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15143#comment:12>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: