Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde in qemu vm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
SarahS93
Guru
Guru


Joined: 21 Nov 2013
Posts: 516

PostPosted: Sun Jul 21, 2019 1:08 am    Post subject: kde in qemu vm Reply with quote

i will run a gentoo linux system with kde in a qemu virtual machine

lspci
Code:
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
00:01.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 04)
00:02.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:03.0 Display controller: Red Hat, Inc. QXL paravirtual graphic card (rev 04)
00:04.0 Communication controller: Red Hat, Inc. Virtio console
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)



i do start the vm with this options
Code:
#!/bin/sh

  vm="01"
 cpu="2"
 ram="4096"
disk="vm01_disk.raw"
pass="pass321X"

qemu-system-x86_64 \
-M pc-q35-2.4 \
-cpu host \
-machine accel=kvm \
-smp $cpu \
-m $ram \
-k de \
-rtc base=localtime \
-drive file=$disk,id=drive-sata0-0-2,format=raw \
-realtime mlock=off \
-net nic,model=virtio,macaddr=00:11:00:11:00:$vm \
-net tap,ifname=qtap$vm,script=no,downscript=no \
-vga qxl \
-device qxl \
-spice port=99$vm,addr=0.0.0.0,password=$pass \
-device virtio-serial-pci \
-device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \
-chardev spicevmc,id=spicechannel0,name=vdagent \
-usb -device usb-tablet \
-runas sarah \
-daemonize \
-boot c \
-pidfile vm$vm_run.pid &


if i try to move a window in this kde vm, i can move it only slowy.

is there anything that i can tune for faster moving windows and surfing normaly on websites?

is qxl ok?

what for a compositor do i chose in kde?
Back to top
View user's profile Send private message
SarahS93
Guru
Guru


Joined: 21 Nov 2013
Posts: 516

PostPosted: Thu Jul 25, 2019 8:10 am    Post subject: Reply with quote

anyone can help, please
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14972

PostPosted: Fri Jul 26, 2019 1:47 am    Post subject: Reply with quote

Are you using the appropriate video driver for qxl in the guest?
Back to top
View user's profile Send private message
SarahS93
Guru
Guru


Joined: 21 Nov 2013
Posts: 516

PostPosted: Fri Jul 26, 2019 6:49 pm    Post subject: Reply with quote

starting qemu-system-x86_64 with .... -vga qxl and .... -device qxl ....

in the vm :
/etc/X11/xorg.conf.d/20-qxl.conf
Code:

  Section "Device"
     Identifier                      "qxl"
     Driver                          "qxl"
     Option "DPI"                    "96 x 96"
     Option "ENABLE_IMAGE_CACHE"     "True"
     Option "ENABLE_FALLBACK_CACHE"  "False"
     Option "ENABLE_SURFACES"        "False"
  EndSection


make.conf "VIDEO_CARDS="qxl"

and "x11-drivers/xf86-video-qxl" is installed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum