You are not logged in.
Getting an OpenGL error when I try to run 'fsleyes', an medical image viewer from the 'fsl' package on AUR https://aur.archlinux.org/packages/fsl.
ERROR main.py 614: initialise - Unable to initialise OpenGL!
Traceback (most recent call last):
File "/opt/fsl/lib/python3.12/site-packages/fsleyes/gl/__init__.py", line 941, in __createWXGLCanvas
self.__canvas = wxgl.GLCanvas(self.__parent, **attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wx._core.wxAssertionError: C++ assertion ""Assert failure"" failed at ./src/unix/glx11.cpp(626) in InitVisual(): Failed to get a XVisualInfo for the requested attributes.
During handling of the above exception, another exception occurred:
wx._core.wxAssertionError: C++ assertion ""Assert failure"" failed at ./src/unix/glx11.cpp(626) in InitVisual(): Failed to get a XVisualInfo for the requested attributes.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/fsl/lib/python3.12/site-packages/fsleyes/main.py", line 609, in initialise
fslgl.getGLContext(ready=realCallback,
File "/opt/fsl/lib/python3.12/site-packages/fsleyes/gl/__init__.py", line 584, in getGLContext
thismod._glContext = GLContext(**kwargs)
^^^^^^^^^^^^^^^^^^^
File "/opt/fsl/lib/python3.12/site-packages/fsleyes/gl/__init__.py", line 774, in __init__
self.__createWXGLCanvas()
File "/opt/fsl/lib/python3.12/site-packages/fsleyes/gl/__init__.py", line 950, in __createWXGLCanvas
self.__canvas = wxgl.GLCanvas(self.__parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class wx._glcanvas.GLCanvas> returned a result with an exception setI've tried this on both a Windoze machine running Arch in WSL2, and on a native Arch install on a laptop with the same error. Application works fine on a Gentoo install, which leads me to believe this is an Arch problem (or at least with the AUR package).
Apologies if this post more properly belongs on AUR, but the site has closed new registrations temporarily, so hoping someone familiar with that package can help out here.
Offline
loginctl session-status
glxinfo -B
xdpyinfoAre you maybe running a a wayland session w/o XWayland?
Otherwise please also post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Offline
1. running on WSL2, so loginctl gives me:
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to system scope bus via local transport: Host is down2. glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa (0xffffffff)
Device: llvmpipe (LLVM 23.1.1, 256 bits) (0xffffffff)
Version: 26.2.4
Accelerated: no
Video memory: 7774MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 0 MB, largest block: 0 MB
VBO free aux. memory - total: 7219 MB, largest block: 7219 MB
Texture free memory - total: 0 MB, largest block: 0 MB
Texture free aux. memory - total: 7219 MB, largest block: 7219 MB
Renderbuffer free memory - total: 0 MB, largest block: 0 MB
Renderbuffer free aux. memory - total: 7219 MB, largest block: 7219 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 0 MB
Total available memory: 7774 MB
Currently available dedicated video memory: 0 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 23.1.1, 256 bits)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 26.2.4-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 26.2.4-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 26.2.4-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.203. xdpyinfo
name of display: :0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 12401006
X.Org version: 24.1.6
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x600023, revert to PointerRoot
number of extensions: 24
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
GLX
Generic Event Extension
MIT-SHM
Present
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
XWAYLAND
default screen number: 0
number of screens: 1
screen #0:
dimensions: 3360x1058 pixels (889x279 millimeters)
resolution: 96x96 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x438
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x22
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store WHEN MAPPED, save-unders NO
largest cursor: 3360x1058
current input event mask: 0x580000
SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask
number of visuals: 384
default visual id: 0x23
visual:
visual id: 0x23
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2ba
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
... (and then a whole lot of virtually identical entries...)And yes, running Wayland, with xorg-xwayland installed.
Offline
running on WSL2, so loginctl gives me:
Please check this on bare metal, WSL technically also falls under https://bbs.archlinux.org/misc.php?action=rules
But you're running a software emulation.
1. what "wayland" specifically (wayland is a thinly provisioned protocol, the actual compositor is your display server)
2. text actual X11
3.
lspci -knnd ::03xxLast edited by seth (Today 07:56:00)
Offline
@seth wsl is officially supported https://gitlab.archlinux.org/archlinux/archlinux-wsl https://wiki.archlinux.org/title/Instal … nux_on_WSL
I Have Linux Perl Can i Download Gnome???
Offline
File "/opt/fsl/lib/python3.12/site-packages/fsleyes/gl/__init__.py", line 941, in __createWXGLCanvasPlease elaborate on your python setup and what command the viewer is started with.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline