Skip to content

[client] opengl: initialize scale to 1.0#1181

Merged
gnif merged 1 commit intognif:masterfrom
jacobmcnamee:opengl-scale-init
Aug 29, 2025
Merged

[client] opengl: initialize scale to 1.0#1181
gnif merged 1 commit intognif:masterfrom
jacobmcnamee:opengl-scale-init

Conversation

@jacobmcnamee
Copy link
Copy Markdown
Contributor

Fixes SPICE cursor rendering unconditionally at (0, 0) prior to KVMFR frame format configuration (using OpenGL renderer).

Presently cursor coordinates are multiplied by scale = 0 in opengl_onMouseEvent until opengl_onFrameFormat.

I observe this problem with a Win 10 VM using QXL video by running looking-glass-client app:renderer=OpenGL .

Note that some video devices / configurations embed the cursor in the video stream rather than sending SPICE cursor messages:

  • QXL apparently defaults to a hardware cursor which is forwarded via SPICE (thus the issue manifests)
  • Virtio currently disables hardware cursor support unless overridden via the registry (thus no issue for now)
  • VGA seems unaffected

Fixes SPICE cursor rendering unconditionally at (0, 0) prior to KVMFR
frame format configuration
@gnif gnif merged commit b7d044d into gnif:master Aug 29, 2025
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants