[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Status of OpenGL on Mac



Hi Riccardo,

On Wed, Sep 18, 2019 at 8:14 PM Riccaro Mottola
<riccardo.mottola@libero.it> wrote:
>
> Hi Mathieu,
>
> On 2019-09-18 08:56:08 +0200 Mathieu Malaterre <malat@debian.org>
> wrote:
>
>
> >
> >> Hi all!
> >
> >> is anybody capable of using OpenGL on their PowerMacs?
> >
> > Do you mean on your PowerBook G4 ? That's odd it should work. Can you
> > dump more context, eg, running through gdb or strace.
>
> 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!

You're doing a software rendering in this case.

> 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

Nice ! You have a reprodicble example. Please follow:

https://wiki.debian.org/HowToGetABacktrace

and add the missing dbgsym packages to have proper context. Then
submit a bug (reportbug with powerpc tag). Thanks !

> (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>,
>      stack_end=<optimized out>, fini=<optimized out>) at
> ../csu/libc-start.c:308
> #19 0xb7b9d16c in __libc_start_main (argc=<optimized out>,
> argv=<optimized out>, ev=<optimized out>, auxvec=<optimized out>,
>      rtld_fini=<optimized out>,
>


Reply to: