You are not logged in.
Little all over the place on this one:
I have two machines; one is a lenovo T431S, the other is a PC using a GTX970 (I think that is relevant).
I installed gogglesmm on my laptop, imported my music folders, and whenever I would play a song, goggles would just crash with
gogglesmm: Couldn't find current GLX or EGL context.Then, I installed it on my desktop, and it worked perfectly fine. I synced (instead of imported) my music folder. Then I was playing around with preferences, and I changed my audio output driver and device (and I'm not sure what the current settings at the time were - stupid, I know). In addition, I moved around my music files WITHIN the music folder (which was synced as a whole).
Now, when I play a song, gogglesmm crashes and gives me the same error as my lenovo. In addition, the volume is muted by default (was not the case before); whenever I try removing all the tracks from goggles library, they are right back after I quit and re-open goggles.
I uninstalled and reinstalled gogglesmm, but all the same settings (and tracks which I deleted) were in place. So I uninstalled with pacman -Rsn, hoping to delete any configuration files; no luck.
Something I just noticed while messing around again: in preferences, my audio driver was pulseaudio, and that's when I got the GLX or EGL context "error". Then I switched to ALSA driver, and now when I try to play a song, it gives me:
ALSA lib pcm.c:7470:(snd_pcm_slave_conf) missing field pcmand instead of crashing, doesn't "do" anything. The play button flickers, but otherwise nothing. However, I checked the driver for the laptop, and it was ALSA and the device was default, and that gave me the GLX EGL context error. But, after changing my PC audio output device to default, I went back to the same problem.
In addition, everything else with my both my systems works fine. Can listen to music through youtube fine, and I can play the same tracks in question with
vlc /path/to/musicfilethrough the command line.
Pretty sure that's all the information related to the problem that I can think of. If anyone has insight, that would great.
Last edited by mntsv (2018-05-22 20:42:18)
Offline
The audio driver will have no relation to a GLX issue. More like the Album Art viewer or similar.
I don't use gogglesmm but from a few discussions on the boards I remember it and it's backing library FOX being strongly dependant on exact version numbers and similar. There's a chance that it has created some incompatible cache. To clear out configuration you should look into your home dir usually applications create user configuration in ~/.config/appname or ~/.appname
You might also want to share the terminal output from a gogglesmm start.
Offline
How do I resolve the issue of incompatible cache?
I removed the two configuration files for the laptop, still no luck. Will try with the PC later.
When I ran gogglesmm start in the terminal, a box that start "unable to open start" popped up.
Offline
You can disable any OpenGL based features in gogglesmm by passing --disable-opengl on the command line.
Offline
Brilliant.
Will you please explain what the issue was and why that was the solution?
Offline
It's more of a workaround than solution. Something is messed up with the OpenGL environment (perhaps a driver issue or some newly introduced incompatibility).
Whenever you start playing any tracks it would try to display the album art using OpenGL and obviously would crash. That is, as long as the audio output was set up correctly.
Offline
@mntsv can you check and see if you're running under wayland instead of X11?
I was able to reproduce this on a new install with GNOME running wayland.
# list sessions
> loginctl
# Pick the session for your user, mine was listed as c2
> loginctl showsession c2 -p Type
Type=waylandLast edited by GogglesGuy (2018-03-25 15:23:25)
Offline
I'm having the same error:
and at least for me,
$ loginctl show-session c2 -p Type
Type=x11running with --disable-opengl fixes the issue as well.
Offline