[ovirt-users] Re: spice options hook

2020-04-21 Thread Victor Toso
Hi,

On Tue, Apr 21, 2020 at 11:43:48AM -, ozme...@hotmail.com wrote:
> my first problem is hook file.
> When i add file before_vm_start directory and restart engine,
> it shows under host hooks file on the web page. But options
> cannot be displayed under vm custom properties section
> 
> if i set spiceoptions ;
>  engine-config -s UserDefinedVMProperties=spiceoptions=^.*$ --cver=4.3

Hm, could you try instead:

spiceoptions={'streaming':{'mode':'all'}}

> engine-config -g UserDefinedVMProperties
> UserDefinedVMProperties:  version: 4.1
> UserDefinedVMProperties:  version: 4.2
> UserDefinedVMProperties: spiceoptions=^.*$ version: 4.3

I can tell if streaming is enable if you provide qemu cmd line
for what is running (e.g: ps aux | grep -i qemu ...)

> systemctl restart ovirt-engine
> 
> after that under vm custom options shows spiceoptions section.
> But nothing works.  according to hook file README, needs to be
> appear options and youtube became more fluent

What do you mean with nothing works exactly?


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YIUF6HOMKRU5HEL27DMEGE4MINFEBK6T/


[ovirt-users] Re: spice options hook

2020-04-21 Thread Victor Toso
Hi,

On Tue, Apr 21, 2020 at 11:45:34AM +0200, Gianluca Cecchi wrote:
> On Tue, Apr 21, 2020 at 11:10 AM Victor Toso  wrote:
> 
> [snip]
> 
> > For mjpeg encoding, you don't need to change anything. For
> > x264/vp8 with GStreamer, spice must be built with GStreamer
> > option enabled. You can check if that's the case for your spice
> > server library by running ldd in the .so file, e.g:
> >
> >  spice (master 717ed19a) $ ldd ~/dev/lib64/libspice-server.so | grep -i gst
> > libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0
> > (0x7f393b57d000)
> > libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x7f393b568000)
> > libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x7f393b0df000)
> >
> >
> Just for reference,
> - on latest 4.3.9 ovirt node ng
> [root@ovirt ~]# ldd /usr/lib64/libspice-server.so.1.12.4 | grep -i gst
> [root@ovirt ~]#
> 
> - on latest 4.4 beta4 ovirt node ng
> [root@novirt2 ~]# ldd /usr/lib64/libspice-server.so.1.13.0 | grep -i gst
> libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x7f8b7845f000)
> libgstvideo-1.0.so.0 => /lib64/libgstvideo-1.0.so.0 (0x7f8b781c3000)
> libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x7f8b77f4c000)
> libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x7f8b77c0c000)
> [root@novirt2 ~]#

Cool,

> Plus, you need the plugins for encoding in your host.
> >
> In term of? Packages? How to check?
> 
> Gianluca

In terms of packages, that can vary a bit due license/patent
code but as quick check, spice's autotools does checks the
following:


https://gitlab.freedesktop.org/spice/spice/-/blob/master/configure.ac#L93

x264enc element is in gst-plugins-ugly while vp8enc and vp9enc in
gst-plugins-good. You can check if you have each of those in the
path by running gst-inspect-1.0, eg:

$ gst-inspect-1.0 vp8enc | head
Factory Details:
  Rank primary (256)
  Long-nameOn2 VP8 Encoder
  KlassCodec/Encoder/Video
  Description  Encode VP8 video streams
  Author   David Schleef , Sebastian 
Dröge 

Plugin Details:
  Name vpx
  Description  VP8 plugin
 
Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Q2KQP6G5OXI4SY5MRVAD7QFUEE2DFV3V/


[ovirt-users] Re: spice options hook

2020-04-21 Thread Victor Toso
Hi,

On Tue, Apr 21, 2020 at 07:42:20AM -, ozme...@hotmail.com wrote:
> So, can you discribe how can i use streaming method on Ovirt
> 4.3?

Looking at the hook you posted earlier:


https://github.com/oVirt/vdsm/blob/master/vdsm_hooks/spiceoptions/before_vm_start.py

It needs user to provide the options and for this feature to work
streaming=filter or streaming=all must be giving to spice server
to enable streaming.

> do i need to change something on host or engine I need to
> solve youtube or other video problems

For mjpeg encoding, you don't need to change anything. For
x264/vp8 with GStreamer, spice must be built with GStreamer
option enabled. You can check if that's the case for your spice
server library by running ldd in the .so file, e.g:

 spice (master 717ed19a) $ ldd ~/dev/lib64/libspice-server.so | grep -i gst
libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x7f393b57d000)
libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x7f393b568000)
libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x7f393b0df000)

Plus, you need the plugins for encoding in your host.

> Additionally, steraming needs to hardware accelerator, all
> streaming apps or offers hardware acceletor for best performace

As mentioned earlier, the encoding parameters are hardcoded [0]
so, even if you argue that gpu is preferred, that's not currently
supported but patches are welcome!

[0] 
https://gitlab.freedesktop.org/spice/spice/-/blob/master/server/gstreamer-encoder.c#L887

Video streaming like Youtube, you should get audio sync, lower
bandwidth, etc. 

Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2OQYPMGOU3HZDDZNAUSKHWPYJPVRI3W5/


[ovirt-users] Re: spice options hook

2020-04-20 Thread Victor Toso
Hi,

On Mon, Apr 20, 2020 at 12:14:28PM -, ozme...@hotmail.com wrote:
> Hi, 
> We're using oVirt 4.3 and want to use spice streaming to better
> user experience, for example youtube etc.
> I've tried to use before_vm_start script, but lots of problems
> came out.
> 1 - on  default environmet, hook script returns of no such file
> or directory, because python3 does not exist on the system if i
> install python3, vdsm stops working if change interpreter in
> the script, vdms retuns rc=0 error code hook=114 and it does
> not appear on the vm custom properties So, could you help me to
> run this hook properly
> we've tested 
> https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/spiceoptions
> Master and 4.3  branch returns same error code and nothing appeared on the 
> "custom properties"
> 
> is there anyone who is use it successfully 

Sorry, I can't help much on the oVirt hook/setup ...

> 2 -  for this experince is GPU neccessery (not vGPU) , our
> server has standard 8mb onboard gpu

... but no, you don't need GPU in the host for this feature.
Spice streaming in the host supports two encoders: a mjepg
implementation in spice and a gstreamer one with support to
mjpeg, h264 and vp8. The encoding parameters are hardcoded but
I've tested them all in the past and worked well for youtube-like
scenarios... but feel free to open bugs upstream if not [0]

[0] https://gitlab.freedesktop.org/spice/spice

Good luck with the hook.

Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZAODFRFVR7ZTNZSE3YK23AMH6RV7YSEF/


[ovirt-users] Re: USB turns off and wont come alive

2019-07-24 Thread Victor Toso
Hi,

On Tue, Jul 23, 2019 at 03:49:44PM -, Darin Schmidt wrote:
> I have 2 usb controllers installed via a riser card plugged
> into a M.2 slot. (Like those used for mining with GPU's).
> Everything works great for a long time, then my Windows 10 VM
> freezes and I lose all USB activity. LSPCI still sees the
> devices:
> 
> 0a:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host 
> Controller
> 0b:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host 
> Controller
> 43:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host 
> Controller
> 44:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host 
> Controller
> 
> I assume a and b are the same physical card as its supposed to
> have 2 channels each, same with 44 and 43.
> 
> I tried for both 44 and 43
> 
> echo "1" > /sys/bus/pci/devices/\:43\:00.0/remove
> echo "1" > /sys/bus/pci/rescan
> echo "1" > /sys/bus/pci/devices/\:43\:00.0/reset
> 
> This did not work. I cannot determine if its just the VM thats
> no longer seeing/using the hardware or if its the hardware
> itself. I wonder if its a power state thing as well? Nothing I
> plug into the card seems to be recognized. Any Suggestions?

I'd guess that it could be some state issue in the host too.

If you are using remote-viewer + spice for usbredir, you might
consider checking the logs from the client to see channel's state
when windows freezes. Log from spice server could also say if the
issue is in the host + spice, but depending on the issue could be
usb on qemu or guest drivers /o\

> rebooting the VM doesnt help either. It appears the hardware is
> functioning, but anything you plug into it isnt being detected.

If you disconnect + connect your client, any changes? Which kind
of usb device are you redirecting?

Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2VL4OXF3VIFJY5RA2BKG6JK6BNLUAKRU/


[ovirt-users] Re: SPICE and Windows 10

2019-05-24 Thread Victor Toso
On Fri, May 24, 2019 at 07:08:12PM +0800, Colin Coe wrote:
> Hi Victor
> 
> The SPICE server is
> rpm -q spice-server
> spice-server-0.14.0-6.el7_6.1.x86_64
> 
> On the VM we're using SPICE QXL.
> 
> Looks like
> https://www.spice-space.org/download/windows/qxl-wddm-dod/qxl-wddm-dod-0.19/spice-qxl-wddm-dod-0.19.zip
> has the performance fixes you mentioned.
> 
> Any ideas if/when this will be shipped with/on the RHV Tools ISO?

Not sure if on 4.3, perhaps 4.4.
4.3 indeed has 0.18 version of qxl-wddm-dod

CC'ing Sandro.

Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VSLHKQN6CGO3KEQ4OH7DALPXHY3HC6UO/


[ovirt-users] Re: SPICE and Windows 10

2019-05-24 Thread Victor Toso
On Fri, May 24, 2019 at 02:26:31PM +0800, Colin Coe wrote:
> Hi all
> 
> We've just updated our dev environment from 4.1 to RHV 4.3 and found that
> while a lot better, Windows 10 under SPICE still isn't great.
> 
> We're running dual screen VMs at 2560x1440 resolution.  The Windows login
> screen is particularly bad although once logged in it gets better but not
> great.  The benchmark here is Windows 10 vs Windows 7 VMs.
> 
> We've gone into settings / advanced and set "configure for best
> performance".  Latest RHV tools (4.3-6) are installed.  We've also created
> "/etc/ovirt-engine/osinfo.conf.d/20-overload.properties" containing:
> os.windows_10.devices.display.vramMultiplier.value = 4
> os.windows_10x64.devices.display.vramMultiplier.value = 4
> 
> When we set the multiplier to 8, as recommended in another thread,
> ovirt-engine fails to restart.
> 
> I know there have been a few threads on this but I'd like to ask what is
> the advice for RHV/oVirt 4.3 to make Windows 10 faster?  VDI on RHV makes
> up an important part of what we do and RDP, VNC, etc are not an option.

* What is the version of spice server running on the host?
* Which device/drivers are you using?

The driver for Windows 8+, including Windows 10 should be the
qxl-wddm-dod [0][1] one. The changelog [2] for the latest
version, 0.19, includes the line "Improve performance vs spice
server 14.0 and earlier".

[0] https://gitlab.freedesktop.org/spice/win32/qxl-wddm-dod
[1] https://www.spice-space.org/download/windows/
[2] https://gitlab.freedesktop.org/spice/win32/qxl-wddm-dod/raw/master/Changelog

Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GU2D5V6E2W3VC3T3SAEMYN4E7Z5FRXW2/


[ovirt-users] Re: remote-viewer can not display console properly

2019-04-08 Thread Victor Toso
Hi,

On Sat, Apr 06, 2019 at 05:07:57PM -, p...@zj.sgcc.com.cn wrote:
> I installed ovirt 4.2.8 on centos7,hosts and vms runs norml.
> However, the virtual machine console often does not display
> properly. When I open the console, only "connected to graphic
> server" is displayed.

It can help a bit if you add --spice-debug command line argument
to remote-viewer and share those logs.


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GLYZMNGNN3CPLZ57GF4D2RGHVSH4A5YE/


[ovirt-users] Re: How to Copy-Paste without QXL ?

2019-03-06 Thread Victor Toso
Hi,

On Tue, Mar 05, 2019 at 05:01:30PM +0100, jeanbaptiste.coup...@nfrance.com 
wrote:
> Hello Victor,
> 
> Thanks for answer.
> 
> Attached, output of remote-viewer, with --debug --spice-debug. During this
> debug session I've tried some time to paste content (via CTRL+SHIFT+V)
> 
> Regards,
> Jean-Baptiste,
> 
> -----Message d'origine-
> De : Victor Toso  
> Envoyé : mardi 5 mars 2019 15:39
> À : jeanbapti...@nfrance.com
> Cc : users@ovirt.org
> Objet : Re: [ovirt-users] How to Copy-Paste without QXL ?
> 
> Hi Jean,
> 
> On Tue, Mar 05, 2019 at 02:20:59PM -, jeanbapti...@nfrance.com wrote:
> > Hello Guys,
> > 
> > I try to make work copy and paste from a virt-viewer client to a Linux 
> > VM (Centos 6).
> > I have install spice-vdagent (service run). Guest is configured as QXL 
> > + Spice. I also have test :
> > - Enable SPICE clipboard copy and paste
> > - Enable VirtIO serial console
> > 
> > But Paste (CTRL + SHIFT + V ?) not work
> > 
> > Is this function can work without QXL driver ?
> 
> The copy, like drag, those are features that rely on
> spice-vdagent, not QXL.
> 
> I assume that spice-vdagent and spice-vdagentd are running without errors in
> your CentOS 6 box? If that's the case, you can share some logs from the
> client remote-viewer or virt-viewer --debug --spice-debug.
> 
> Cheers,
> Victor

> [nfrance@astreinte T??l??chargements]$ remote-viewer --debug --spice-debug
> (remote-viewer:4108): virt-viewer-DEBUG: Opening display to 
> file:///tmp/mozilla_nfrance0/console.vv
> (remote-viewer:4108): virt-viewer-DEBUG: Guest (null) has unsupported file 
> display type
> (remote-viewer:4108): virt-viewer-DEBUG: Opening display to 
> file:///home/nfrance/T%C3%A9l%C3%A9chargements/console(2).vv
> (remote-viewer:4108): virt-viewer-DEBUG: Guest (null) has unsupported file 
> display type
> (remote-viewer:4108): virt-viewer-DEBUG: Opening display to 
> file:///home/nfrance/T%C3%A9l%C3%A9chargements/console.vv
> (remote-viewer:4108): virt-viewer-DEBUG: Guest (null) has a spice display
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:286 New session (compiled 
> from package spice-gtk 0.33)

What is your Client OS? spice-gtk 0.33 was released in Oct 7,
2016... You might benefit by trying something newer (last was
0.36 done in Jan 11, 2019)

> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:290 Supported channels: 
> main, display, inputs, cursor, playback, record, smartcard, usbredir, webdav
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:523 auto-connect 
> filter set to 0x03,-1,-1,-1,0|-1,-1,-1,-1,1
> (remote-viewer:4108): virt-viewer-DEBUG: Start fetching oVirt main entry point
> (remote-viewer:4108): virt-viewer-DEBUG: After open connection callback fd=-1
> (remote-viewer:4108): virt-viewer-DEBUG: Opening connection to display at 
> file:///home/nfrance/T%C3%A9l%C3%A9chargements/console.vv
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:523 auto-connect 
> filter set to -1,-1,-1,-1,0
> (remote-viewer:4108): virt-viewer-DEBUG: fullscreen display 0: 0
> (remote-viewer:4108): virt-viewer-DEBUG: app is not in full screen
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:1743 no migration in 
> progress
> (remote-viewer:4108): GSpice-DEBUG: spice-channel.c:137 main-1:0: 
> spice_channel_constructed
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2246 main-1:0: new main 
> channel, switching
> (remote-viewer:4108): GSpice-DEBUG: spice-gtk-session.c:1099 Changing main 
> channel from (nil) to 0x15bb19200
> (remote-viewer:4108): virt-viewer-DEBUG: New spice channel 0x15bb19200 
> SpiceMainChannel 0
> (remote-viewer:4108): virt-viewer-DEBUG: notebook show status 0x15b442230
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
> 8087:07dc (0x15b5a57b0)
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
> 0b97:7772 (0x15b60c390)
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
> 04f2:b3b1 (0x15b2bfdc0)
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
> 1199:9063 (0x15b59ec20)
> (remote-viewer:4108): GSpice-DEBUG: spice-channel.c:2610 main-1:0: Open 
> coroutine starting 0x15bb19200
> (remote-viewer:4108): GSpice-DEBUG: spice-channel.c:2451 main-1:0: Started 
> background coroutine 0x15bb18860
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2192 main-1:0: Using TLS, 
> port 5901
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2125 open host 
> 172.20.0.7:5901
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2047 main-1:0: connecting 
> 0x7f8e65c50a60...
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2031 

[ovirt-users] Re: How to Copy-Paste without QXL ?

2019-03-05 Thread Victor Toso
Hi Jean,

On Tue, Mar 05, 2019 at 02:20:59PM -, jeanbapti...@nfrance.com wrote:
> Hello Guys,
> 
> I try to make work copy and paste from a virt-viewer client to
> a Linux VM (Centos 6).
> I have install spice-vdagent (service run). Guest is configured
> as QXL + Spice. I also have test :
> - Enable SPICE clipboard copy and paste
> - Enable VirtIO serial console
> 
> But Paste (CTRL + SHIFT + V ?) not work
> 
> Is this function can work without QXL driver ?

The copy, like drag, those are features that rely on
spice-vdagent, not QXL.

I assume that spice-vdagent and spice-vdagentd are running
without errors in your CentOS 6 box? If that's the case, you can
share some logs from the client remote-viewer or virt-viewer
--debug --spice-debug.

Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FNP6WOTOM7OHMSP74XDZOQXFGFREB5VF/


[ovirt-users] Re: Spice console very poor performance for Windows 10 vm

2019-02-15 Thread Victor Toso
Hi,

On Fri, Feb 15, 2019 at 04:24:15PM +0200, Leo David wrote:
> Hi Everyone,
> Any thoughts on this ?
> It seems that audio streaming is affected as well, and
> bandwidth is not an issue in this case.

What audio issues do you see?

> 'm thinking that maybe if I just just disable compression on
> spice,  things would get a bit better...maybe.
> Thank you !
> 
> On Wed, Feb 13, 2019 at 8:05 AM Leo David  wrote:
> 
> > Thank you so much Victor !
> > Anyone, any ideea how could I disable video compression for
> > spice console on particular vms ?

I'm not familiar with oVirt interface but it shouldn't be hard if
you have access to the host.

# virsh edit $vm-name

switch what you have in graphics to:


  
  



> > I am trying to implement an "almost" full desktop experience
> > with an oVirt based vdi environment.
> > And besides the Windows10 spice issues ( which are the main
> > cause of this thread ), it seems that Windows 7 is affected
> > too by the multimedia playing perspective. Which makes a
> > total blocker on project implementation

Do you have spice-guest-tools installed?

> > Any suggestions/ similar experiences ?
> > Thank you very much and have a nice day !
> >
> > Leo

Cheers,
Victor
> >
> > On Mon, Feb 11, 2019, 12:01 Victor Toso  >
> >> Hi,
> >>
> >> On Mon, Feb 11, 2019 at 11:50:49AM +0200, Leo David wrote:
> >> > Hi,
> >> > "This enable host-side streaming, are you sure you want it?"
> >> > Not sure yet, but i would at least disable compression, video
> >> > playing seems to be pretty poor, and crackling ( youtube, etc )
> >>
> >> For playing video use-cases (youtube) it might be okay but not
> >> for playing games as it has some hard coded delay in the
> >> streaming code path.
> >>
> >> The streaming is mjpeg so you don't save much bandwidth either.
> >>
> >> > "AFAIK, if virsh edit exits without issue, you need to shutdown
> >> > the vm and then start it again"
> >> > I did that,  and when the vm comes back on,  my changes are not there
> >> > anymore 
> >>
> >> Might be something specific to ovirt, not sure :(
> >>
> >> I hope someone else can help you.
> >>
> >> > On Mon, Feb 11, 2019 at 10:45 AM Victor Toso 
> >> wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > On Sun, Feb 10, 2019 at 02:08:48PM +0200, Leo David wrote:
> >> > > > Hi,
> >> > > >
> >> > > > I am trying to disable video compression as per this thread:
> >> > > > https://lists.ovirt.org/pipermail/users/2017-January/078753.html
> >> > > >
> >> > > > The thing is that I just can't figure out where to place the
> >> following:
> >> > > >
> >> > > > 
> >> > > > 
> >> > > > 
> >> > > > 
> >> > >
> >> > > This enable host-side streaming, are you sure you want it?
> >> > >
> >> > > > 
> >> > > >
> >> > > > If I attempt to edit vm properties by using virsh and add these
> >> > > > custom settings, the configuration file gets overwritten once
> >> > > > the vm reboots.
> >> > >
> >> > > AFAIK, if virsh edit exits without issue, you need to shutdown
> >> > > the vm and then start it again. Reboot is not enough.
> >> > >
> >> > > > Any suggestions?
> >> > > >
> >> > > > Thank you,
> >> > > >
> >> > > > Leo
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > On Wed, Feb 6, 2019 at 7:17 PM Leo David  wrote:
> >> > > >
> >> > > > > Hello everyone,
> >> > > > > Any chance that this issue to be already fixed in the new 4.3
> >> version ?
> >> > > > > Thank you !
> >> > > > >
> >> > > > > On Tue, Jan 8, 2019, 12:25 Victor Toso  >> wrote:
> >> > > > >
> >> > > > >> Hi,
> >> > > > >>
> >> > > > >> On Tue, Jan 08, 2019 at 12:08:31PM +0200, Leo David wrote:
> >> > > > >> > Thank you very mucjh,  and sorry f

[ovirt-users] Re: Spice console very poor performance for Windows 10 vm

2019-02-11 Thread Victor Toso
Hi,

On Mon, Feb 11, 2019 at 11:50:49AM +0200, Leo David wrote:
> Hi,
> "This enable host-side streaming, are you sure you want it?"
> Not sure yet, but i would at least disable compression, video
> playing seems to be pretty poor, and crackling ( youtube, etc )

For playing video use-cases (youtube) it might be okay but not
for playing games as it has some hard coded delay in the
streaming code path.

The streaming is mjpeg so you don't save much bandwidth either.
 
> "AFAIK, if virsh edit exits without issue, you need to shutdown
> the vm and then start it again"
> I did that,  and when the vm comes back on,  my changes are not there
> anymore 

Might be something specific to ovirt, not sure :(

I hope someone else can help you.

> On Mon, Feb 11, 2019 at 10:45 AM Victor Toso  wrote:
> 
> > Hi,
> >
> > On Sun, Feb 10, 2019 at 02:08:48PM +0200, Leo David wrote:
> > > Hi,
> > >
> > > I am trying to disable video compression as per this thread:
> > > https://lists.ovirt.org/pipermail/users/2017-January/078753.html
> > >
> > > The thing is that I just can't figure out where to place the following:
> > >
> > > 
> > > 
> > > 
> > > 
> >
> > This enable host-side streaming, are you sure you want it?
> >
> > > 
> > >
> > > If I attempt to edit vm properties by using virsh and add these
> > > custom settings, the configuration file gets overwritten once
> > > the vm reboots.
> >
> > AFAIK, if virsh edit exits without issue, you need to shutdown
> > the vm and then start it again. Reboot is not enough.
> >
> > > Any suggestions?
> > >
> > > Thank you,
> > >
> > > Leo
> > >
> > >
> > >
> > >
> > > On Wed, Feb 6, 2019 at 7:17 PM Leo David  wrote:
> > >
> > > > Hello everyone,
> > > > Any chance that this issue to be already fixed in the new 4.3 version ?
> > > > Thank you !
> > > >
> > > > On Tue, Jan 8, 2019, 12:25 Victor Toso  > > >
> > > >> Hi,
> > > >>
> > > >> On Tue, Jan 08, 2019 at 12:08:31PM +0200, Leo David wrote:
> > > >> > Thank you very mucjh,  and sorry for being so lazy to search
> > > >> > for that rpm by myself. Somehow, fedora rpms missed from my
> > > >> > mind.  Oh boy, it requires a lot of packages. Do you think
> > > >> > would it be a good idea to temporarily install fedora repos, do
> > > >> > the yum installation to get the dependencoes too and then
> > > >> > disable the repo ? I am thinking to not break the ovirt node
> > > >> > installation.
> > > >>
> > > >> The easiest path is to get the source from your current rpm,
> > > >> apply the patch mentioned in previous email, build, install,
> > > >> test.
> > > >>
> > > >> If that does not work you can rollback. If works, you can rethink
> > > >> what is best.
> > > >>
> > > >> Cheers,
> > > >>
> > > >> >  yum localinstall spice-server-0.14.1-1.fc30.x86_64.rpm
> > > >> > Loaded plugins: enabled_repos_upload, fastestmirror,
> > imgbased-persist,
> > > >> > package_upload, product-id, search-disabled-repos,
> > subscription-manager,
> > > >> > vdsmupgrade
> > > >> > This system is not registered with an entitlement server. You can
> > use
> > > >> > subscription-manager to register.
> > > >> > Examining spice-server-0.14.1-1.fc30.x86_64.rpm:
> > > >> > spice-server-0.14.1-1.fc30.x86_64
> > > >> > Marking spice-server-0.14.1-1.fc30.x86_64.rpm as an update to
> > > >> > spice-server-0.14.0-2.el7_5.3.x86_64
> > > >> > Resolving Dependencies
> > > >> > --> Running transaction check
> > > >> > ---> Package spice-server.x86_64 0:0.14.0-2.el7_5.3 will be updated
> > > >> > ---> Package spice-server.x86_64 0:0.14.1-1.fc30 will be an update
> > > >> > --> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
> > for
> > > >> > package: spice-server-0.14.1-1.fc30.x86_64
> > > >> > Loading mirror speeds from cached hostfile
> > > >> >  * epel: ftp.nluug.nl
> > > >> >  * ovirt-4.2-epel: ftp.nluug.nl
> > > >> > --&g

[ovirt-users] Re: Spice console very poor performance for Windows 10 vm

2019-02-11 Thread Victor Toso
Hi,

On Sun, Feb 10, 2019 at 02:08:48PM +0200, Leo David wrote:
> Hi,
> 
> I am trying to disable video compression as per this thread:
> https://lists.ovirt.org/pipermail/users/2017-January/078753.html
> 
> The thing is that I just can't figure out where to place the following:
> 
> 
> 
> 
> 

This enable host-side streaming, are you sure you want it?

> 
> 
> If I attempt to edit vm properties by using virsh and add these
> custom settings, the configuration file gets overwritten once
> the vm reboots.

AFAIK, if virsh edit exits without issue, you need to shutdown
the vm and then start it again. Reboot is not enough.

> Any suggestions?
> 
> Thank you,
> 
> Leo
> 
> 
> 
> 
> On Wed, Feb 6, 2019 at 7:17 PM Leo David  wrote:
> 
> > Hello everyone,
> > Any chance that this issue to be already fixed in the new 4.3 version ?
> > Thank you !
> >
> > On Tue, Jan 8, 2019, 12:25 Victor Toso  >
> >> Hi,
> >>
> >> On Tue, Jan 08, 2019 at 12:08:31PM +0200, Leo David wrote:
> >> > Thank you very mucjh,  and sorry for being so lazy to search
> >> > for that rpm by myself. Somehow, fedora rpms missed from my
> >> > mind.  Oh boy, it requires a lot of packages. Do you think
> >> > would it be a good idea to temporarily install fedora repos, do
> >> > the yum installation to get the dependencoes too and then
> >> > disable the repo ? I am thinking to not break the ovirt node
> >> > installation.
> >>
> >> The easiest path is to get the source from your current rpm,
> >> apply the patch mentioned in previous email, build, install,
> >> test.
> >>
> >> If that does not work you can rollback. If works, you can rethink
> >> what is best.
> >>
> >> Cheers,
> >>
> >> >  yum localinstall spice-server-0.14.1-1.fc30.x86_64.rpm
> >> > Loaded plugins: enabled_repos_upload, fastestmirror, imgbased-persist,
> >> > package_upload, product-id, search-disabled-repos, subscription-manager,
> >> > vdsmupgrade
> >> > This system is not registered with an entitlement server. You can use
> >> > subscription-manager to register.
> >> > Examining spice-server-0.14.1-1.fc30.x86_64.rpm:
> >> > spice-server-0.14.1-1.fc30.x86_64
> >> > Marking spice-server-0.14.1-1.fc30.x86_64.rpm as an update to
> >> > spice-server-0.14.0-2.el7_5.3.x86_64
> >> > Resolving Dependencies
> >> > --> Running transaction check
> >> > ---> Package spice-server.x86_64 0:0.14.0-2.el7_5.3 will be updated
> >> > ---> Package spice-server.x86_64 0:0.14.1-1.fc30 will be an update
> >> > --> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for
> >> > package: spice-server-0.14.1-1.fc30.x86_64
> >> > Loading mirror speeds from cached hostfile
> >> >  * epel: ftp.nluug.nl
> >> >  * ovirt-4.2-epel: ftp.nluug.nl
> >> > --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for
> >> package:
> >> > spice-server-0.14.1-1.fc30.x86_64
> >> > --> Processing Dependency: libcrypto.so.1.1()(64bit) for package:
> >> > spice-server-0.14.1-1.fc30.x86_64
> >> > --> Processing Dependency: libgstapp-1.0.so.0()(64bit) for package:
> >> > spice-server-0.14.1-1.fc30.x86_64
> >> > --> Processing Dependency: libgstbase-1.0.so.0()(64bit) for package:
> >> > spice-server-0.14.1-1.fc30.x86_64
> >> > --> Processing Dependency: libgstreamer-1.0.so.0()(64bit) for package:
> >> > spice-server-0.14.1-1.fc30.x86_64
> >> > --> Processing Dependency: libgstvideo-1.0.so.0()(64bit) for package:
> >> > spice-server-0.14.1-1.fc30.x86_64
> >> > --> Processing Dependency: liborc-0.4.so.0()(64bit) for package:
> >> > spice-server-0.14.1-1.fc30.x86_64
> >> > --> Processing Dependency: libssl.so.1.1()(64bit) for package:
> >> > spice-server-0.14.1-1.fc30.x86_64
> >> > --> Finished Dependency Resolution
> >> > Error: Package: spice-server-0.14.1-1.fc30.x86_64
> >> > (/spice-server-0.14.1-1.fc30.x86_64)
> >> >Requires: libgstvideo-1.0.so.0()(64bit)
> >> > Error: Package: spice-server-0.14.1-1.fc30.x86_64
> >> > (/spice-server-0.14.1-1.fc30.x86_64)
> >> >Requires: libgstbase-1.0.so.0()(64bit)
> >> > Error: Package: spice-server-0.14.1-1.fc30.x86_64
> >> > (/spice-server-0.14.1-1.fc30.x86

[ovirt-users] Re: Spice console very poor performance for Windows 10 vm

2019-01-08 Thread Victor Toso
Hi,

On Tue, Jan 08, 2019 at 12:08:31PM +0200, Leo David wrote:
> Thank you very mucjh,  and sorry for being so lazy to search
> for that rpm by myself. Somehow, fedora rpms missed from my
> mind.  Oh boy, it requires a lot of packages. Do you think
> would it be a good idea to temporarily install fedora repos, do
> the yum installation to get the dependencoes too and then
> disable the repo ? I am thinking to not break the ovirt node
> installation.

The easiest path is to get the source from your current rpm,
apply the patch mentioned in previous email, build, install,
test.

If that does not work you can rollback. If works, you can rethink
what is best.

Cheers,

>  yum localinstall spice-server-0.14.1-1.fc30.x86_64.rpm
> Loaded plugins: enabled_repos_upload, fastestmirror, imgbased-persist,
> package_upload, product-id, search-disabled-repos, subscription-manager,
> vdsmupgrade
> This system is not registered with an entitlement server. You can use
> subscription-manager to register.
> Examining spice-server-0.14.1-1.fc30.x86_64.rpm:
> spice-server-0.14.1-1.fc30.x86_64
> Marking spice-server-0.14.1-1.fc30.x86_64.rpm as an update to
> spice-server-0.14.0-2.el7_5.3.x86_64
> Resolving Dependencies
> --> Running transaction check
> ---> Package spice-server.x86_64 0:0.14.0-2.el7_5.3 will be updated
> ---> Package spice-server.x86_64 0:0.14.1-1.fc30 will be an update
> --> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for
> package: spice-server-0.14.1-1.fc30.x86_64
> Loading mirror speeds from cached hostfile
>  * epel: ftp.nluug.nl
>  * ovirt-4.2-epel: ftp.nluug.nl
> --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package:
> spice-server-0.14.1-1.fc30.x86_64
> --> Processing Dependency: libcrypto.so.1.1()(64bit) for package:
> spice-server-0.14.1-1.fc30.x86_64
> --> Processing Dependency: libgstapp-1.0.so.0()(64bit) for package:
> spice-server-0.14.1-1.fc30.x86_64
> --> Processing Dependency: libgstbase-1.0.so.0()(64bit) for package:
> spice-server-0.14.1-1.fc30.x86_64
> --> Processing Dependency: libgstreamer-1.0.so.0()(64bit) for package:
> spice-server-0.14.1-1.fc30.x86_64
> --> Processing Dependency: libgstvideo-1.0.so.0()(64bit) for package:
> spice-server-0.14.1-1.fc30.x86_64
> --> Processing Dependency: liborc-0.4.so.0()(64bit) for package:
> spice-server-0.14.1-1.fc30.x86_64
> --> Processing Dependency: libssl.so.1.1()(64bit) for package:
> spice-server-0.14.1-1.fc30.x86_64
> --> Finished Dependency Resolution
> Error: Package: spice-server-0.14.1-1.fc30.x86_64
> (/spice-server-0.14.1-1.fc30.x86_64)
>Requires: libgstvideo-1.0.so.0()(64bit)
> Error: Package: spice-server-0.14.1-1.fc30.x86_64
> (/spice-server-0.14.1-1.fc30.x86_64)
>Requires: libgstbase-1.0.so.0()(64bit)
> Error: Package: spice-server-0.14.1-1.fc30.x86_64
> (/spice-server-0.14.1-1.fc30.x86_64)
>Requires: libgstreamer-1.0.so.0()(64bit)
> Error: Package: spice-server-0.14.1-1.fc30.x86_64
> (/spice-server-0.14.1-1.fc30.x86_64)
>Requires: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
> Error: Package: spice-server-0.14.1-1.fc30.x86_64
> (/spice-server-0.14.1-1.fc30.x86_64)
>Requires: liborc-0.4.so.0()(64bit)
> Error: Package: spice-server-0.14.1-1.fc30.x86_64
> (/spice-server-0.14.1-1.fc30.x86_64)
>Requires: libcrypto.so.1.1()(64bit)
> Error: Package: spice-server-0.14.1-1.fc30.x86_64
> (/spice-server-0.14.1-1.fc30.x86_64)
>Requires: libssl.so.1.1(OPENSSL_1_1_0)(64bit)
> Error: Package: spice-server-0.14.1-1.fc30.x86_64
> (/spice-server-0.14.1-1.fc30.x86_64)
>Requires: libgstapp-1.0.so.0()(64bit)
> Error: Package: spice-server-0.14.1-1.fc30.x86_64
> (/spice-server-0.14.1-1.fc30.x86_64)
>Requires: libssl.so.1.1()(64bit)
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> Uploading Enabled Repositories Report
> Loaded plugins: fastestmirror, product-id, subscription-manager
> This system is not registered with an entitlement server. You can use
> subscription-manager to register.
> Cannot upload enabled repos report, is this client registered?
> 
> Thank you  !
> 
> Leo
> 
> On Tue, Jan 8, 2019 at 10:19 AM Victor Toso  wrote:
> 
> > Hi,
> >
> > On Mon, Jan 07, 2019 at 07:29:13PM +0200, Leo David wrote:
> > > Thank you very much Victor,
> > > Is there a rpm that I can easily install on all the nodes, or will I need
> > > to build that version from sources ?
> >
> > You can fetch the release of 0.14.1 version at
> > https://gitlab.freedesktop.org/spice/spice/tags
> >
> > Y

[ovirt-users] Re: Spice console very poor performance for Windows 10 vm

2019-01-08 Thread Victor Toso
Hi,

On Mon, Jan 07, 2019 at 07:29:13PM +0200, Leo David wrote:
> Thank you very much Victor,
> Is there a rpm that I can easily install on all the nodes, or will I need
> to build that version from sources ?

You can fetch the release of 0.14.1 version at
https://gitlab.freedesktop.org/spice/spice/tags

You can fetch an rpm from Fedora here
https://koji.fedoraproject.org/koji/buildinfo?buildID=1138474

Cheers,

> On Mon, Jan 7, 2019, 19:14 Victor Toso  
> > Hi,
> >
> > On Mon, Jan 07, 2019 at 07:00:04PM +0200, Leo David wrote:
> > > Thank you very much !
> > >
> > > I have modified /etc/ovirt-engine/osinfo.conf.d/00-defaults.properties
> > file
> > > and added the last line
> > >
> > > # Windows10x64
> > > os.windows_10x64.id.value = 27
> > > os.windows_10x64.name.value = Windows 10 x64
> > > os.windows_10x64.derivedFrom.value = windows_8x64
> > > os.windows_10x64.productKey.value =
> > > os.windows_10x64.resources.maximum.ram.value = 2097152
> > > os.windows_10x64.cpu.unsupported.value = conroe, opteron_g1
> > > os.windows_10x64.sysprepPath.value =
> > > ${ENGINE_USR}/conf/sysprep/sysprep.w10x64
> > > *os.windows_10x64.devices.display.vramMultiplier.value = 2*
> > >
> > > The vm has the "Windows10x64" profile configured
> > >
> > > Restarted the ovirt-engine vm, powered on the Windows 10 vm. Not any
> > > difference...The console is very slow, almost unusable.
> > >
> > > Also, tried to upgrade spice-server on the node, but it seems that there
> > > aeno updates available. At the moment, it is installed:
> > >  spice-server.x86_64   0.14.0-2.el7_5.3
> >
> > Just for reference, the patch in spice-server that should help is
> > from the mail thread
> >
> >
> > https://lists.freedesktop.org/archives/spice-devel/2018-June/044237.html
> >
> > Merged as
> >
> >
> > https://gitlab.freedesktop.org/spice/spice/commit/ca4984570f425e87e92abe5f62f9687bb55c1e14
> >
> > Looking at the repo with git tag --contains ca4984570f425e87e92
> > it shows v0.14.1.
> >
> > 0.14.0-2 probably does not contain that. Either update to 0.14.1
> > or backport the patch. It does need to shutdown and start the VM
> > again.
> >
> > > Any thoughts ?
> > >
> > > Thank you !
> >
> > I hope it helps ;)
> >
> > Cheers,
> >


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UG7EJHF7W3DKEZZ7X4GXEJ4HSPBN3JA2/


[ovirt-users] Re: Spice console very poor performance for Windows 10 vm

2019-01-07 Thread Victor Toso
Hi,

On Mon, Jan 07, 2019 at 07:00:04PM +0200, Leo David wrote:
> Thank you very much !
> 
> I have modified /etc/ovirt-engine/osinfo.conf.d/00-defaults.properties file
> and added the last line
> 
> # Windows10x64
> os.windows_10x64.id.value = 27
> os.windows_10x64.name.value = Windows 10 x64
> os.windows_10x64.derivedFrom.value = windows_8x64
> os.windows_10x64.productKey.value =
> os.windows_10x64.resources.maximum.ram.value = 2097152
> os.windows_10x64.cpu.unsupported.value = conroe, opteron_g1
> os.windows_10x64.sysprepPath.value =
> ${ENGINE_USR}/conf/sysprep/sysprep.w10x64
> *os.windows_10x64.devices.display.vramMultiplier.value = 2*
> 
> The vm has the "Windows10x64" profile configured
> 
> Restarted the ovirt-engine vm, powered on the Windows 10 vm. Not any
> difference...The console is very slow, almost unusable.
> 
> Also, tried to upgrade spice-server on the node, but it seems that there
> aeno updates available. At the moment, it is installed:
>  spice-server.x86_64   0.14.0-2.el7_5.3

Just for reference, the patch in spice-server that should help is
from the mail thread 

https://lists.freedesktop.org/archives/spice-devel/2018-June/044237.html

Merged as


https://gitlab.freedesktop.org/spice/spice/commit/ca4984570f425e87e92abe5f62f9687bb55c1e14

Looking at the repo with git tag --contains ca4984570f425e87e92
it shows v0.14.1.

0.14.0-2 probably does not contain that. Either update to 0.14.1
or backport the patch. It does need to shutdown and start the VM
again.

> Any thoughts ?
> 
> Thank you !

I hope it helps ;)

Cheers,


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GJ6JRN5WDLFWITP4MTCGSZ2O3ZOOYZLX/


[ovirt-users] Re: Spice console very poor performance for Windows 10 vm

2019-01-07 Thread Victor Toso
Hi,

See,

https://lists.freedesktop.org/archives/spice-devel/2018-October/046023.html

So, update your spice-server too (host).

Cheers,

On Sun, Jan 06, 2019 at 09:57:20PM +0200, Leo David wrote:
> Hello Everyone,
> Maybe I am something wrong, but spice console seem to be very laggy and
> slow for windows 10 vms. I have tried both qxl and qxl-dod drivers,  but no
> luck so far...
> As a notice, the Win 2012R2 vm console is running fine, the problem seems
> to only affect Windows 10.
> Any ideas,  what should I do to sort this out ?
> Thank you very much !
> 
> Leo
> 
> 
> -- 
> Best regards, Leo David

> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZPQQELK74526J3Y6FOX7JG7WHJ2GCMOS/



signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7CYPGJVLVGG3GVVTTXTRIEI3VLIVF3YL/


[ovirt-users] Re: Vm console direct connection

2019-01-02 Thread Victor Toso
Hi,

On Wed, Jan 02, 2019 at 12:29:49PM +0200, Leo David wrote:
> Thank you,
> No luck so far, just can't figure out how to setup a direct connection from
> remote-viewer to my oVirt vms...
> I basically need to setup some oVirt thin clients by using remote viewer
> binary, and just dont know how to directly connect as
> "ovirt://engine.url/vm_name.
> Any ideeas ?
> Any successfull thin clients implementations by using only
> opensource pieces ?

What do you get when you try to connect with remote-viewer?

AFAIK, ovirt://$engine/$vm should work but you might need to
explicit point to the certificates with extra command line
arguments; plus, some configurations might not work indeed,
see

https://bugzilla.redhat.com/show_bug.cgi?id=1402909

Cheers,

> Cheers,
> 
> Leo
> 
> On Sun, Dec 30, 2018, 11:11 Yedidyah Bar David  
> > On Sun, Dec 30, 2018 at 10:28 AM Leo David  wrote:
> > >
> > > Hello everyone,
> > > Could someone be so kind to tell me if there's any chance that
> > virt-viewer or any other client can be used to directly connect to vms
> > running on oVirt without the need for  the user to access the portal first ?
> >
> > There is gnome-boxes, which should be able to do that. Didn't try it
> > myself.
> >
> > You might also check:
> >
> >
> > https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/get_display_ticket.py
> >
> > Best regards,
> > --
> > Didi
> >

> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/OHIKJ4AR4LA7VLZFESI7OJEJDO4EEMDP/



signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YURSETZ7S54QBE6VACJXWF37CPJCHWVG/


[ovirt-users] Re: SPICE QXL Crashes Linux Guests

2018-12-03 Thread Victor Toso
Hi,

On Sun, Nov 25, 2018 at 02:48:13PM -0500, Alex McWhirter wrote:
> I'm having an odd issue that i find hard to believe could be a
> bug, and not some kind of user error, but im at a loss for
> where else to look.

Looks like a bug or bad configuration between host/guest. Let's
see.

> when booting a linux ISO with QXL SPICE graphics, the boot
> hangs as soon as kernel modesetting kicks in. Tried with latest
> debian, fedora, and centos.  Sometimes it randomly works, but
> most often it does not. QXL / VGA VNC work fine. However if i
> wait a few minutes after starting the VM for the graphics to
> start, then there are no issues and i can install as usual.
> 
> So after install, i reboot, hangs on reboot right after
> graphics switch back to text mode with QXL SPICE, not with VNC.
> So i force power off, reboot, and wait a while for it to boot.
> If i did text only install, when i open a spice console it will
> hang after typing a few characters. If i did a graphical
> install then as long as i waited long enough for X to start,
> then it works perfectly fine.

From the logs of second email:

 | [3.201725] [drm] Initialized qxl 0.1.0 20120117 for :00:02.0 on 
minor 0

Quite old qxl? Would it be possible to update it? 0.1.5 was
released in 2016-12-19 [0], that's almost 5 years of bugfixing,
etc.


https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/tags/xf86-video-qxl-0.1.5

> I tried to capture some logs, but since the whole guest OS
> hangs it's rather hard to pull off. I did see an occasional
> error about the mouse driver, so that's really all i have to go
> on.
> 
> As for the spice client, im using virt-viewer on windows 10
> x64, tried various versions of virt-viewer just to be sure, no
> change. I also have a large amount on windows guests with QXL
> SPICE. These all work with no issue.  Having guest agent
> installed in the linux guest seems to make no difference.
> 
> There are no out of the ordinary logs on the VDSM hosts, but i
> can provide anything you may need. It's not specific to any one
> host, i have 10 VM hosts in the cluster, they all do. They are
> westmere boxes if that makes a difference.
> 
> Any ideas on how i should approach this? VNC works well enough
> for text only linux guest, but not being able to reboot my GUI
> linux guests without also closing my spice connection is a
> small pain.

Maybe just updating the qxl would solve the issue but which
configuration you have set in regards to memory for qxl?

I see in the logs

 | [3.163127] [drm] qxl: 16M of VRAM memory size
 | [3.163127] [drm] qxl: 63M of IO pages memory ready (VRAM domain)
 | [3.163128] [drm] qxl: 32M of Surface memory size

Not sure if driver is using UMS (old) or KMS mode on Debian...

https://www.spice-space.org/multiple-monitors.html

> as far as ovirt versions im on the latest, this is a rather
> fresh install.  just set it up a few days ago, but i've been a
> long time ovirt user. I am using a squid spice proxy if that
> makes a difference.

Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BYV5NFMZQOCKCJ4RXXVGO5PZR27E2J7O/


[ovirt-users] Re: drag file from local machine to vm

2018-11-21 Thread Victor Toso
Hi,

If you are using windows client, you need UsbDk installed.

https://www.spice-space.org/download.html

You can run remote-viewer from console with --spice-debug option
in order to check what is wrong. Feel free to post the log here.

Cheers,

On Wed, Nov 21, 2018 at 03:12:53AM -, max zhang wrote:
> Thanks,
>  >>>By the way,I also want to use USB-redirect function,But I
>  >>>found
>  the function option is grey..  <<  different reasons. - Is your client running on windows or
>  linux machine? - Is the VM configured for USB? Look for 'USB
>  redirection' in the link above.
> >>>The stages:
> 1.enable VM's usb support on web manager.
> 2.choose SPICE as remote protocol.
> 3.use console to connect VM as administrator or  use vm via user portal .
> problem:
> Found that the option of usb-redirect is grey.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/F7ZETW55I5TFWTWATGCXNDKVEFP4PR6K/


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ORSTDHGHKUYQQ4HMH3EWN2I34UXM7JYK/


[ovirt-users] Re: drag file from local machine to vm

2018-11-20 Thread Victor Toso
Hi,

On Tue, Nov 20, 2018 at 03:14:00AM -, max zhang wrote:
> Hi friends ,i found it is successfully to drag file from local
> machine to vm,which login via remote-viewer.However,when I
> failed to drag file from VM to local machine,It is weird.

The drag-and-drop support is only from Local machine to VM.
Remote-viewer copies the file and send it to the spice-vdagent
(guest agent).

> Maybe something else need to do?

Nothing can be done for this feature at this moment.

You can try another feature, shared folder, which uses WebDAV.
Look for 'Folder sharing' at

https://www.spice-space.org/spice-user-manual.html

> By the way,I also want to use USB-redirect function,But I found
> the function option is grey..

That could happen for different reasons.
- Is your client running on windows or linux machine?
- Is the VM configured for USB? Look for 'USB redirection' in the
  link above.

Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RROHY4BJIUHD2QURKBZE6QHNV3VMHMGW/


[ovirt-users] Re: Primary passthrough: QXL gets dosent disabled on boot Windows 10

2018-07-31 Thread Victor Toso
Hi,

On Mon, Jul 30, 2018 at 06:47:40AM +, Alexis Enrrique Gavidia Albornoz 
wrote:
> when the VM boots with the real GPU attached, the emulated QXL
> graphics gets disabled by windows itself., Moreover, you can
> install windows 7 running on QXL, then install the real GPU
> drivers and the QXL will be turned off by windows, why with
> WIndows 10 dose not ocure the same behaivor, i want to use my
> Quadro k2200 as the primary board.

Not sure but perhaps you should be using qxl-wddm-dod driver for
Windows 10?

I think that's not the one included in spice-guest-tools so you'd
need to download and install it from download in the Windows
binaries section at, 
https://www.spice-space.org/download.html

Let me know if that helps.

Cheers,


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RNIKFFHLA6AO3KIMBZINUBUU4TYNG3Y2/


[ovirt-users] Re: Spice console pixelated noise on display changes

2018-07-27 Thread Victor Toso
Hi,

On Thu, Jul 26, 2018 at 08:27:09PM -0400, Greg Sheremeta wrote:
> Great. Did you open a bug? If not, please do :)

The discussion in spice mailing list took place at [0].
Investigation, reply [1] and fix [2] by teuf

[0] https://lists.freedesktop.org/archives/spice-devel/2018-July/044572.html
[1] https://lists.freedesktop.org/archives/spice-devel/2018-July/044699.html
[2] https://gitlab.freedesktop.org/spice/spice/commit/48179332d9

No bug was filled but I'll be doing that now to keep record of
regressions.

Many thanks again for this report and discussion ;)

Cheers,

> On Tue, Jul 10, 2018 at 7:50 AM Mitja Mihelič 
> wrote:
> 
> > Answering the question for posterity.
> > We found a temporary solution to the described problem.
> > We had a development cluster with a working SPICE console. By comparing
> > packages we have established the differences between working and not
> > working SPICE setup. We have isolated the spice-server package.
> > The installed version was spice-server-0.14.0-2.el7_5.3.x86_64
> > We downgraded the package to spice-server-0.12.8-2.el7.1.x86_64 and
> > rebooted the nodes in sequence.
> > Now the SPICE console works again.
> >
> > Kind regards,
> > Mitja
> >
> > On 13/06/2018 09:57, Mitja Mihelič wrote:
> >
> > Greg, thank you for the referral. I will post my question there.
> >
> > Since oVirt uses spice it seemed like a good shot to ask fellow admins
> > here in the hope somebody has come across something alike.
> >
> > Kind regards,
> > Mitja
> >
> > On 12/06/2018 20:39, Greg Sheremeta wrote:
> >
> > The spice-devel list can probably help:
> > https://lists.freedesktop.org/mailman/listinfo/spice-devel
> >
> > Best wishes,
> > Greg
> >
> > On Tue, Jun 12, 2018 at 10:25 AM, Mitja Mihelič 
> > wrote:
> >
> >> Dear all,
> >>
> >> We are running the following setup:
> >> ovirt-engine host:
> >> - CentOS release 7.5.1804
> >> - ovirt-engine-4.1.9.1-1.el7.centos.noarch
> >> - spice-html5-0.1.7-1.el7.noarch
> >>
> >> We have noticed problems with the Spice console. When it opens and
> >> displays the information presented by the VM's console it is OK at first.
> >> But as soon as any part of the display changes, that part gets replaced by
> >> random pixelated noise.
> >> For example I open the console of a standard CentOS server. When I type
> >> something at the login prompt the text is invisible and random pixels are
> >> displayed at the position of the blinking cursor. Please see attached
> >> screenshot spice-1-login_typing_and_cursor_waiting.png.
> >>
> >> Please also see other the attached screenshots.
> >> Login prompt after VM reboot: spice-2-login_after_boot.png
> >> Login prompt after hitting Enter a few times: spice-3-login_2x_enter.png
> >>
> >> We have tried and succesfully reproduced the issue on OSX (Chrome, FF,
> >> Safari) and Windows (Chrome, FF).
> >> VNC works fine.
> >>
> >> Why would this be happening? Help would be very much appreciated.
> >>
> >> Kind regards,
> >> Mitja
> >>
> >> --
> >> Mitja Mihelič
> >> ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
> >> tel: +386 1 479 8877, fax: +386 1 479 88 7
> >>
> >> ___
> >> Users mailing list -- users@ovirt.org
> >> To unsubscribe send an email to users-le...@ovirt.org
> >> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> >> oVirt Code of Conduct:
> >> https://www.ovirt.org/community/about/community-guidelines/
> >> List Archives:
> >> https://lists.ovirt.org/archives/list/users@ovirt.org/message/UOJIM33UOXVIX4IP7KMFZIFJPCBICWRG/
> >>
> >>
> >
> >
> > --
> >
> > GREG SHEREMETA
> >
> > SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
> >
> > Red Hat NA
> >
> > 
> >
> > gsher...@redhat.comIRC: gshereme
> > 
> >
> >
> >
> >
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > oVirt Code of Conduct: 
> > https://www.ovirt.org/community/about/community-guidelines/
> > List Archives: 
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/MYC5DFCOIE2AMVQHCWW2Y6BYIB7PEWXF/
> >
> >
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > oVirt Code of Conduct:
> > https://www.ovirt.org/community/about/community-guidelines/
> > List Archives:
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/62YGELGO7IF4Y7KYY25HBTKTNYXDTELJ/
> >
> 
> 
> -- 
> 
> GREG SHEREMETA
> 
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
> 
> Red Hat NA
> 
> 
> 
> gsher...@redhat.comIRC: gshereme
> 

> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to 

Re: [ovirt-users] [Spice-devel] Video performance

2017-01-10 Thread Victor Toso
Hi,

> Hi,
>
>  I have installed ovirt engine 4.0.5 on centos 7.3. I installed
> ovirt-node on a separate phyical system and added it to ovirt-engine.
>  I installed windows 7 in a VM on the node. I installed all the virtio
> drivers in the guest. The protocol used by me to access VM is Spice
> QXL. I have installed virt-viewer on the clients to access (one is
> windows and othe ris ubuntu)
>  Now, when I pay the sample video "wildlife" in the windows the video
> frame rate is very low and it is skipping a aot of frames. I tested
> it on both of the clients. The screen resolution is 1280x1024 on
> ubuntu and 1366x768 on windows.
>
> The *lscpu* output of the node is:
>
> Architecture:  x86_64
> CPU op-mode(s):32-bit, 64-bit
> Byte Order:Little Endian
> CPU(s):48
> On-line CPU(s) list:   0-47
> Thread(s) per core:2
> Core(s) per socket:12
> Socket(s): 2
> NUMA node(s):  2
> Vendor ID: GenuineIntel
> CPU family:6
> Model: 62
> Model name:Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
> Stepping:  4
> CPU MHz:   3047.097
> BogoMIPS:  5406.43
> Virtualization:VT-x
> L1d cache: 32K
> L1i cache: 32K
> L2 cache:  256K
> L3 cache:  30720K
> NUMA node0 CPU(s): 0-11,24-35
> NUMA node1 CPU(s): 12-23,36-47
>
> The top command output is showing the following on the node:
>
> PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
> COMMAND
>
> 30219 qemu  20   0 5040176 4.048g  13564 S 113.2  3.2  16:05.49
> qemu-kvm
>
>  6178 root  15  -5 1495476  48092  10676 S  28.1  0.0 300:58.82
> supervdsmServer
>
>   361 root  25   5   0  0  0 S   7.0  0.0 333:14.58
> ksmd
>
>   265 root  rt   0   0  0  0 S   2.6  0.0   0:06.80
> migration/32
>
> 27504 qemu  20   0 5137240 4.412g  13516 S   2.6  3.5  10:53.39
> qemu-kvm
>
> 30222 root  20   0   0  0  0 S   2.0  0.0   0:11.98
> vhost-30219
>
>  6329 vdsm   0 -20 3258204 151772  13004 S   0.7  0.1  65:29.75 vdsm
>
> -
> Please suggest what should I do to improve the video performance.

You could try enabling the streaming mode, disabled by default in el7
due different issues (see [0])

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1294564

To enable the streaming mode, you should include that inside the
graphics node, see mine bellow for an example. Options are 'off', 'all'
and 'filter'.







Cheers,
  toso


signature.asc
Description: PGP signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users