i created a VM and installed Ubuntu on it. But the Spice viewer (browser) is incredible slow. Moving the mouse, clicking or keyboard commands, are not working or with a delay of multiple seconds.
I’ve tried different solutions but nothing is working:
Higher memory → up to 16 GiB and no minimun memory set
I’ve red that using the spice viewer desktop client is solving the problem. But i don’t want to install somewhere a windows machine just for this purpose.
You don’t need a Windows machine. What is your desktop machine? If it’s not Windows, maybe it’s Linux? Let me know. There are other Spice clients for other desktops. But many have had trouble with browser based so spice client definitely best choice.
If you want 8 Threads, you need to enter it as 4 cores, 2 threads
Also, i would try without CPU sets first.
If nothing helps, sometimes a HDMI dummy plug solves this problem. Not sure if this also helps with spice, it does with other remote software if you have a GPU assigned/passed through.
Browser based SPICE sucks. I have never used it for anything more than the initial OS install. For proper remote access, use something guest native (xrdp, etc).
As mentioned as well though, you are possibly(?) setting this up wrong - I’m assuming you have a 4-Core/8-Thread machine, in which case you would want to be setting “Cores” to 4 and “Threads” to 2. CPU Set also starts from 0.
Possibly stupid question, but you have installed “ubuntu_server” “for docker”. Why are you using a SPICE viewer in the first place? Have you installed a DE (if so, why??), would it not be easier to use SSH?
I’ve had this issue too, even using non-browser options. Swapping VM OS away from Ubuntu fixed it. Specifically, Devuan xfce. Not ideal, but it worked.