Re: [OpenIndiana-discuss] Nvidia card installed.. now lightdm fails
Hi Robert, Thanks, I managed to get it sorted by using another graphics card. /tony On Wed, 2020-09-02 at 12:31 +0100, bscuk2 wrote: > Hello, > > This is a problem I encountered installing a driver update for a > EVEA > GTX1060.I tried a number of drivers before getting success with > 396.24.You may check the version of xorg video compatibility with > the > driver. A number of bugs and work rounds are listed in the Nvidia > support forum. > > regards, > > > Robert > > > > On 25/08/2020 07: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/ogl-select@0.5.11-2020.0.1.5 > > basename link usr/lib/GL/amd64/libEGL.so.1 pkg: > > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > > basename link usr/lib/GL/libEGL.so.1 pkg: > > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > > basename link usr/lib/libEGL.so.1pkg: > > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > > basename link usr/lib/mesa/amd64/libEGL.so.1 pkg: > > /x11/library/mesa@13.0.6-2020.0.1.7 > > basename link usr/lib/mesa/libEGL.so.1 pkg: > > /x11/library/mesa@13.0.6-2020.0.1.7 > > > > 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 >
Re: [OpenIndiana-discuss] Nvidia card installed.. now lightdm fails
Hello, This is a problem I encountered installing a driver update for a EVEA GTX1060.I tried a number of drivers before getting success with 396.24.You may check the version of xorg video compatibility with the driver. A number of bugs and work rounds are listed in the Nvidia support forum. regards, Robert On 25/08/2020 07: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/ogl-select@0.5.11-2020.0.1.5 basename link usr/lib/GL/amd64/libEGL.so.1 pkg: /service/opengl/ogl-select@0.5.11-2020.0.1.5 basename link usr/lib/GL/libEGL.so.1 pkg: /service/opengl/ogl-select@0.5.11-2020.0.1.5 basename link usr/lib/libEGL.so.1pkg: /service/opengl/ogl-select@0.5.11-2020.0.1.5 basename link usr/lib/mesa/amd64/libEGL.so.1 pkg: /x11/library/mesa@13.0.6-2020.0.1.7 basename link usr/lib/mesa/libEGL.so.1 pkg: /x11/library/mesa@13.0.6-2020.0.1.7 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 openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Nvidia card installed.. now lightdm fails
I ended up copying the libEGL.so.1 and a few others from the 340.108 driver into /usr/X11/lib/NVIDIA and making a few symlinks. Then I hit reboot and ran for cover. But it works. Lightdm is happy, and X is using the nvidia driver. I had to turn compiz off though, probably because the graphics card is quite old. /tony On Tue, 2020-08-25 at 11:22 +0200, Till Wegmüller wrote: > Hi > > Could be that you need libEGL.so.1 from mesa then > > > x.org can run without opengl but lightdm can't > > Greetings > Till > On 25.08.20 10:08, Tony Brian Albers wrote: > > Ok, so I investigated further. > > > > It seems that the NVIDIA-Solaris-x86-304.137 package bundle does > > not > > include libEGL.so.1, but versions 390.138 and 340.108 do. > > > > But since X is actually working, is this an issue with lightdm? > > > > /tony > > > > > > On Tue, 2020-08-25 at 06: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/ogl-select@0.5.11-2020.0.1.5 > > > basename link usr/lib/GL/amd64/libEGL.so.1 pkg: > > > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > > > basename link usr/lib/GL/libEGL.so.1 pkg: > > > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > > > basename link usr/lib/libEGL.so.1pkg: > > > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > > > basename link usr/lib/mesa/amd64/libEGL.so.1 pkg: > > > /x11/library/mesa@13.0.6-2020.0.1.7 > > > basename link usr/lib/mesa/libEGL.so.1 pkg: > > > /x11/library/mesa@13.0.6-2020.0.1.7 > > > > > > 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 > > >
Re: [OpenIndiana-discuss] Nvidia card installed.. now lightdm fails
Hi Could be that you need libEGL.so.1 from mesa then x.org can run without opengl but lightdm can't Greetings Till On 25.08.20 10:08, Tony Brian Albers wrote: > Ok, so I investigated further. > > It seems that the NVIDIA-Solaris-x86-304.137 package bundle does not > include libEGL.so.1, but versions 390.138 and 340.108 do. > > But since X is actually working, is this an issue with lightdm? > > /tony > > > On Tue, 2020-08-25 at 06: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/ogl-select@0.5.11-2020.0.1.5 >> basename link usr/lib/GL/amd64/libEGL.so.1 pkg: >> /service/opengl/ogl-select@0.5.11-2020.0.1.5 >> basename link usr/lib/GL/libEGL.so.1 pkg: >> /service/opengl/ogl-select@0.5.11-2020.0.1.5 >> basename link usr/lib/libEGL.so.1pkg: >> /service/opengl/ogl-select@0.5.11-2020.0.1.5 >> basename link usr/lib/mesa/amd64/libEGL.so.1 pkg: >> /x11/library/mesa@13.0.6-2020.0.1.7 >> basename link usr/lib/mesa/libEGL.so.1 pkg: >> /x11/library/mesa@13.0.6-2020.0.1.7 >> >> 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 openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Nvidia card installed.. now lightdm fails
Ok, so I investigated further. It seems that the NVIDIA-Solaris-x86-304.137 package bundle does not include libEGL.so.1, but versions 390.138 and 340.108 do. But since X is actually working, is this an issue with lightdm? /tony On Tue, 2020-08-25 at 06: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/ogl-select@0.5.11-2020.0.1.5 > basename link usr/lib/GL/amd64/libEGL.so.1 pkg: > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > basename link usr/lib/GL/libEGL.so.1 pkg: > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > basename link usr/lib/libEGL.so.1pkg: > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > basename link usr/lib/mesa/amd64/libEGL.so.1 pkg: > /x11/library/mesa@13.0.6-2020.0.1.7 > basename link usr/lib/mesa/libEGL.so.1 pkg: > /x11/library/mesa@13.0.6-2020.0.1.7 > > 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 > -- Tony Albers - Systems Architect - IT Development Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142 ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Nvidia card installed.. now lightdm fails
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/ogl-select@0.5.11-2020.0.1.5 > basename link usr/lib/GL/amd64/libEGL.so.1 pkg: > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > basename link usr/lib/GL/libEGL.so.1 pkg: > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > basename link usr/lib/libEGL.so.1pkg: > /service/opengl/ogl-select@0.5.11-2020.0.1.5 > basename link usr/lib/mesa/amd64/libEGL.so.1 pkg: > /x11/library/mesa@13.0.6-2020.0.1.7 > basename link usr/lib/mesa/libEGL.so.1 pkg: > /x11/library/mesa@13.0.6-2020.0.1.7 > > 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] Nvidia card installed.. now lightdm fails
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/ogl-select@0.5.11-2020.0.1.5 basename link usr/lib/GL/amd64/libEGL.so.1 pkg: /service/opengl/ogl-select@0.5.11-2020.0.1.5 basename link usr/lib/GL/libEGL.so.1 pkg: /service/opengl/ogl-select@0.5.11-2020.0.1.5 basename link usr/lib/libEGL.so.1pkg: /service/opengl/ogl-select@0.5.11-2020.0.1.5 basename link usr/lib/mesa/amd64/libEGL.so.1 pkg: /x11/library/mesa@13.0.6-2020.0.1.7 basename link usr/lib/mesa/libEGL.so.1 pkg: /x11/library/mesa@13.0.6-2020.0.1.7 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 -- Tony Albers - Systems Architect - IT Development Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142 ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss