Tiny Core Extensions > TCE Talk

[Solved] fixing game error: "unable to query the OpenGL version" TCL16 x86_64

(1/7) > >>

GNUser:
TCL16beta1 x86_64 with full Xorg (Xorg-7.7-3d.tcz) powers the laptop that serves as my family media player/entertainment center.

My sons would love to play this game on the entertainment center, but no luck:


--- Code: ---$ export FUSERMOUNT_PROG=/usr/local/bin/fusermount
$ ./Endless_Sky-v0.10.12-x86_64.AppImage
./Endless_Sky-v0.10.12-x86_64.AppImage: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
--- End code ---

If I grab the missing library from Debian, the game errors out due to missing libGLdispatch.so.0 (provided by libglvnd0.deb). If I also grab that missing library, then the game does not complain about any missing libraries but fails silently.

I hope it's not naive to think that the game might work if libOpenGL.so.0 and libGLdispatch.so.0 are provided by proper TCL extensions.

Rich:
Hi GNUser
Seems you are not the only person to run into this:
https://github.com/endless-sky/endless-sky/issues/8137

GNUser:
Hi Rich. I discovered that both libraries are compiled from the same source tarball--this one: https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v1.7.0/libglvnd-v1.7.0.tar.gz

I will submit libglvnd.tcz and libglvnd-dev.tcz for the TCL16 x86_64 repo.

GNUser:
I submitted those extensions. With libglvnd.tcz loaded I'm getting warmer but still not joy:


--- Code: ---$ export FUSERMOUNT_PROG=/usr/local/bin/fusermount
$ ./Endless_Sky-v0.10.12-x86_64.AppImage
Unable to query the OpenGL version!

--- End code ---

I can't figure this out. Xorg-7.7-3d is loaded so I should have 3d/OpenGL support, right? Any ideas where to go from here?

P.S. It's not a hardware issue because this same game runs on this same laptop with Devuan Daedalus. In Devuan there is no "Unable to query the OpenGL version" error. Running Devuan on this machine is only feasible for testing purposes.

GNUser:
Here's the end of an strace in case it helps:


--- Code: ---$ strace -e trace=file ./Endless_Sky-v0.10.12-x86_64.AppImage
...
openat(AT_FDCWD, "/proc/meminfo", O_RDONLY) = 11
openat(AT_FDCWD, "/usr/local/share/drirc.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 11
openat(AT_FDCWD, "/usr/local/share/drirc.d/00-mesa-defaults.conf", O_RDONLY) = 11
openat(AT_FDCWD, "/usr/local/share/drirc.d/00-radv-defaults.conf", O_RDONLY) = 11
openat(AT_FDCWD, "/usr/local/etc/drirc", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/bruno/.drirc", O_RDONLY) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/bruno", {st_mode=S_IFDIR|S_ISGID|0755, st_size=660, ...}, 0) = 0
newfstatat(AT_FDCWD, "/home/bruno/.cache", {st_mode=S_IFDIR|S_ISGID|0700, st_size=100, ...}, 0) = 0
newfstatat(AT_FDCWD, "/home/bruno/.cache", {st_mode=S_IFDIR|S_ISGID|0700, st_size=100, ...}, 0) = 0
newfstatat(AT_FDCWD, "/home/bruno/.cache/mesa_shader_cache", {st_mode=S_IFDIR|S_ISGID|0700, st_size=3100, ...}, 0) = 0
newfstatat(AT_FDCWD, "/home/bruno/.cache/mesa_shader_cache/marker", {st_mode=S_IFREG|0644, st_size=0, ...}, 0) = 0
openat(AT_FDCWD, "/home/bruno/.cache/mesa_shader_cache/index", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 12
syscall_435(0x7fffd6c69ad0, 0x58, 0x7f45075ee106, 0x8, 0x7f44fe5716c0, 0x7fffd6c69bc7) = 0x3d81
newfstatat(AT_FDCWD, "/proc/sys/dev/i915/perf_stream_paranoid", {st_mode=S_IFREG|0644, st_size=0, ...}, 0) = 0
openat(AT_FDCWD, "/proc/sys/dev/i915/perf_stream_paranoid", O_RDONLY) = 12
syscall_435(0x7fffd6c6a600, 0x58, 0x7f45075ee106, 0x8, 0x7f44fdd706c0, 0x7fffd6c6a6f7) = 0x3d82
syscall_435(0x7fffd6c6a5a0, 0x58, 0x7f45075ee106, 0x8, 0x7f44fdd706c0, 0x7fffd6c6a697) = 0x3d83
Unable to query the OpenGL version!
openat(AT_FDCWD, "/home/bruno/.local/share/endless-sky/errors.txt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
--- End code ---


--- Code: ---$ cat /home/bruno/.local/share/endless-sky/errors.txt
Unable to query the OpenGL version!
--- End code ---

P.S. Rich, this thread has morphed from an extension request (no longer needed because I already created and submitted the extension) to a help request (help fixing game error: "unable to query the OpenGL version"). Kindly change the thread title and move thread to a more appropriate category.



Navigation

[0] Message Index

[#] Next page

Go to full version