On 9/18/19 8:14 PM, Riccaro Mottola wrote:
first, I noticed something very strange: if I connect remotely to the PowerBook, then set DISPLAY :0 which shows things on the screen, glxgears run!
Running GL applications through X forwarding is completely different than running them locally. When going over the network, there is no DRM and hardware acceleration. You can take this as a measure. Also, if GL would support rendering over the network, it would most likely happen on the server (in X speech, i.e. the machine you are connecting from) and not the PowerBook. But again, DRM does not work over the network.
But running it in a real local xterm, doesn't work. This is the crash: Starting program: /usr/bin/glxgears [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1". Program received signal SIGILL, Illegal instruction. 0xb6c2c270 in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so (gdb) bt #0 0xb6c2c270 in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so #1 0xb6c2c3e0 in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so #2 0xb77c0824 in __pthread_once_slow (once_control=0xb7217d74, init_routine=0xb6c2c380) at pthread_once.c:116 #3 0xb6c2c470 in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so #4 0xb649e7c4 in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so #5 0xb63ce628 in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so #6 0xb6496f8c in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so #7 0xb6496ce0 in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so #8 0xb63d1ff0 in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so #9 0xb63d0174 in ?? () from /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so #10 0xb7689cf0 in ?? () from /lib/powerpc-linux-gnu/libGLX_mesa.so.0 #11 0xb76781e0 in ?? () from /lib/powerpc-linux-gnu/libGLX_mesa.so.0 #12 0xb7671b48 in ?? () from /lib/powerpc-linux-gnu/libGLX_mesa.so.0 #13 0xb7672a7c in ?? () from /lib/powerpc-linux-gnu/libGLX_mesa.so.0 #14 0xb790489c in glXChooseVisual () from /lib/powerpc-linux-gnu/libGLX.so.0 #15 0x001e64b0 in glXChooseVisual () from /lib/powerpc-linux-gnu/libGL.so.1 #16 0x00402dc0 in ?? () #17 0x004014c8 in ?? () #18 0xb7b9cf74 in generic_start_main (main=0x401310, argc=1, argv=0xbffff4c4, auxvec=0xbffff56c, init=<optimized out>, rtld_fini=<optimized out>,
It looks like you are using software rendering anyway. What does "glxinfo" say? Can you paste the output here? Also, have you installed the firmware-amd-graphics package which contains firmware necessary for many AMD/ATI cards? If I remember correctly, the firmware is needed on the G4 laptops with a Radeon chipset. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913