Bug 1461802 - Crash "Couldn't find current GL or GLX context"
Summary: Crash "Couldn't find current GL or GLX context"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: spice-gtk
Version: 25
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Marc-Andre Lureau
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1367660
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-15 11:10 UTC by Marc-Andre Lureau
Modified: 2017-07-15 19:52 UTC (History)
13 users (show)

Fixed In Version: spice-gtk-0.33-5.fc25
Clone Of: 1367660
Environment:
Last Closed: 2017-07-15 19:52:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marc-Andre Lureau 2017-06-15 11:10:08 UTC
spice-gtk may crash with "Couldn't find current GL or GLX context", the fix is upstream. Let's backport it.

+++ This bug was initially created as a clone of Bug #1367660 +++

--- Additional comment from Christophe Fergeau on 2017-05-29 05:43:45 EDT ---

(In reply to Joachim Frieben from comment #8)
> With Fedora 26, even this is no longer
> possible: gnome-boxes simply crashes when clicking the corresponding
> thumbnail.

I had to backport https://bugzilla.gnome.org/show_bug.cgi?id=780963 in order to be able to click on a thumbnail without Boxes going back to the overview. After that, I indeed get a crash with "gnome-boxes: Couldn't find current GLX or EGL context.", dunno if that is what you are seeing?

The same thing happens with virt-viewer, so that would indicate a regression somewhere else in the stack.

--- Additional comment from Joachim Frieben on 2017-05-29 08:22:16 EDT ---

(In reply to Christophe Fergeau from comment #9)
Correct, I do also see this message "gnome-boxes: Couldn't find current GLX or EGL context." issued to the shell from which gnome-boxes was launched.

Comment 1 Fedora Update System 2017-06-15 14:24:02 UTC
spice-gtk-0.33-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3c5f25e807

Comment 2 Fedora Update System 2017-06-16 19:52:41 UTC
spice-gtk-0.33-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3c5f25e807

Comment 3 Joachim Frieben 2017-06-16 21:03:19 UTC
I have spotted this issue under Fedora 26 but not under Fedora 25. (?)

Comment 4 Cole Robinson 2017-06-20 22:09:31 UTC
I'll do builds for f26/rawhide as well

Comment 5 Joachim Frieben 2017-06-21 15:41:09 UTC
(In reply to Cole Robinson from comment #4)
Build spice-gtk-0.33-5.fc26 does fix the original issue on Fedora 26. However, both with VirGL-enabled Fedora 25 and Fedora 26 virtual guests launched via 'virsh start ..', no working mouse pointer is available in gnome-boxes: either it is absent or when it is present or suddenly appears (then two mouse pointers are displayed), respectively, it stays at a fixed position or merely shows a loose correlation with the host's mouse pointer.

Comment 6 Christophe Fergeau 2017-06-21 15:52:38 UTC
Known issue with wayland and server mouse.
If you have spice-vdagent installed in your guest, everything should work fine (?)

Comment 7 Joachim Frieben 2017-06-21 18:16:02 UTC
(In reply to Christophe Fergeau from comment #6)
Both virtual guests were installed using the corresponding Fedora 25 and 26 Workstation live media and do (of course) include spice-vdagent by default.

Comment 8 David H. Gutteridge 2017-06-24 16:51:34 UTC
(In reply to Joachim Frieben from comment #5)
> (In reply to Cole Robinson from comment #4)
> Build spice-gtk-0.33-5.fc26 does fix the original issue on Fedora 26.
> However, both with VirGL-enabled Fedora 25 and Fedora 26 virtual guests
> launched via 'virsh start ..', no working mouse pointer is available in
> gnome-boxes: either it is absent or when it is present or suddenly appears
> (then two mouse pointers are displayed), respectively, it stays at a fixed
> position or merely shows a loose correlation with the host's mouse pointer.

Some of this is discussed in https://bugzilla.redhat.com/show_bug.cgi?id=1285378.

Comment 9 Joachim Frieben 2017-06-24 18:51:19 UTC
(In reply to David H. Gutteridge from comment #8)
Since placement of the mouse pointer in a VirGL enabled Fedora 25 or Fedora 26 virtual guest works correctly when a Fedora 25 host is used, I tend to assume a regression in Fedora 26. I therefore do not see your point.

Comment 10 David H. Gutteridge 2017-06-26 03:08:01 UTC
(In reply to Joachim Frieben from comment #9)
> (In reply to David H. Gutteridge from comment #8)
> Since placement of the mouse pointer in a VirGL enabled Fedora 25 or Fedora
> 26 virtual guest works correctly when a Fedora 25 host is used, I tend to
> assume a regression in Fedora 26. I therefore do not see your point.

Well, my reasons for referencing the other bug were:

(1) It's being used as a catch-all for similar mouse pointer issues that have been reported to date against Fedora 23, 24, and 25. While what you're describing is presumably a new regression somewhere, the effect is like what I've seen in other setups, so it's perhaps related somehow.
(2) It includes general discussion about underlying improvements that could be made, which may be relevant to your issue.

Comment 11 Fedora Update System 2017-07-15 19:52:44 UTC
spice-gtk-0.33-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.