Hi Tony We use the SMF service ogl-select (OpenGL Select) to switch between the mesa and nvidia implementations of OpenGL libraries. Nvidia due to it's proprietary nature had to reimplement all GPL libraries aswell. If you have a 32bit nvidia driver you will be missing the required 64bit OpenGL Libraries. Try to see if you can find a more current driver. There was a support cut of cards around version 304 but that should already be 64bit. The guide in "https://wiki.openindiana.org/oi/Nvidia+Graphics" may be out of date though. We still have https://github.com/OpenIndiana/oi-userland/pull/3673 open to make the process of picking nvidia cards smooth. But nobody had the resources or the need to work on that. If you'd like to contribute some testing, PR 3673 would be something that should benefit you aswell.
Greetings Till On 25.08.20 08:36, Tony Brian Albers wrote: > Good morning, > > So I managed to find an old nvidia card, and I got the nvidia driver > installed. I followed the notes here: > https://wiki.openindiana.org/oi/Nvidia+Graphics > > But to uninstall driver/graphics/nvidia, I also had to remove xorg- > video (meta package). > > During the 'bootadm update-archive -R /mnt' step, it reported that the > driver was 32-bit and would be excluded. > > After that, and a reboot, lightdm won't start. > > Xorg works, running startx when logged in gives me a nice twm desktop. > Also, Xorg.0.log states that the nvidia driver 304.137 is actually in > use. > > But lightdm -not so much. > From /var/log/lightdm/seat0-greeter.log : > > ** Message: 07:24:18.123: [Configuration] Reading file: > /etc/lightdm/lightdm-gtk-greeter.conf > ld.so.1: lightdm-gtk-greeter: fatal: libEGL.so.1: open failed: No such > file or directory > ld.so.1: lightdm-gtk-greeter: fatal: relocation error: file > /usr/lib/64/libcairo.so.2: symbol eglGetProcAddress: referenced symbol > not found > ld.so.1: lightdm-gtk-greeter: fatal: relocation error: file > /usr/lib/64/libgtk-3.so.0: symbol cairo_pattern_destroy: referenced > symbol not found > ld.so.1: lightdm-gtk-greeter: fatal: relocation error: file > /usr/sbin/lightdm-gtk-greeter: symbol gtk_init: referenced symbol not > found > > Which is odd, since it used to work. > Using ldd on /usr/sbin/lightdm-gtk-greeter, it reports: > > libEGL.so.1 => (file not found) > > And chasing down the symbolic links, I get: > > root@emu:/usr/lib/amd64# ls -l /usr/lib/64/libEGL.so.1 > lrwxrwxrwx 1 root root 23 aug. 23 12:52 > /usr/lib/64/libEGL.so.1 -> ../GL/amd64/libEGL.so.1 > > root@emu:/usr/lib/amd64# ls -l /usr/lib/GL/amd64/libEGL.so.1 > lrwxrwxrwx 1 root root 48 aug. 23 12:52 > /usr/lib/GL/amd64/libEGL.so.1 -> > ../../../../var/run/opengl/lib/amd64/libEGL.so.1 > > root@emu:/usr/X11/lib# ls -l /var/run/opengl/lib/amd64/libEGL.so.1 > lrwxrwxrwx 1 root root 37 aug. 25 07:24 > /var/run/opengl/lib/amd64/libEGL.so.1 -> > /usr/X11/lib/NVIDIA/amd64/libEGL.so.1 > > root@emu:/usr/lib/amd64# ls -l /usr/X11/lib/NVIDIA/amd64/libEGL.so.1 > /usr/X11/lib/NVIDIA/amd64/libEGL.so.1: No such file or directory > > Hmm.. > > So, what package is supposed to provide this?: > > root@emu:/var/log/lightdm# pkg search -l libEGL.so.1 > INDEX ACTION VALUE PACKAGE > basename link usr/lib/amd64/libEGL.so.1 pkg: > /service/opengl/[email protected] > basename link usr/lib/GL/amd64/libEGL.so.1 pkg: > /service/opengl/[email protected] > basename link usr/lib/GL/libEGL.so.1 pkg: > /service/opengl/[email protected] > basename link usr/lib/libEGL.so.1 pkg: > /service/opengl/[email protected] > basename link usr/lib/mesa/amd64/libEGL.so.1 pkg: > /x11/library/[email protected] > basename link usr/lib/mesa/libEGL.so.1 pkg: > /x11/library/[email protected] > > Looking closer at these, it seems that only the files from "mesa" are > actual files. The others are just symlinks. > These are the 'real' ones: > > root@emu:/usr# ls -l lib/mesa/libEGL.so.1 > lrwxrwxrwx 1 root root 15 aug. 23 12:52 > lib/mesa/libEGL.so.1 -> libEGL.so.1.0.0 > > root@emu:/usr# ls -l lib/mesa/amd64/libEGL* > lrwxrwxrwx 1 root root 15 aug. 23 12:52 > lib/mesa/amd64/libEGL.so -> libEGL.so.1.0.0 > lrwxrwxrwx 1 root root 15 aug. 23 12:52 > lib/mesa/amd64/libEGL.so.1 -> libEGL.so.1.0.0 > -r-xr-xr-x 1 root bin 224736 aug. 23 18:32 > lib/mesa/amd64/libEGL.so.1.0.0 > > root@emu:/usr/lib/mesa/amd64# file libEGL.so.1.0.0 > libEGL.so.1.0.0: ELF 64-bit LSB dynamic lib AMD64 Version 1, > dynamically linked, not stripped, no debugging information available > > > So it seems that the files are there, but the symlinks are incorrect. > > It looks like the libs from the mesa package are never found. > > > What could be the cause of this and how do I fix it? > > TIA, > > /tony > _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
