Re: Hardware 3D acceleration doesn't work anymore after the PowerPC updates 4.14-1
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-09-11 09:28:22
Hi Christian, Christian Zigotzky [off-list ref] writes:
Hi All, I tested the latest Git kernel version with the new PowerPC updates 4.14-1 [0][1] on my Varisys Cyrus Plus board (A-EON AmigaOne X5000) [2][3] with a Qoriq P5020 PowerPC CPU from NXP yesterday. Unfortunately the hardware 3D acceleration doesn't work anymore since the PowerPC updates 4.14-1 [0]. I tested it with ubuntu MATE 16.04.3 LTS PowerPC (64-bit kernel and 32-bit userland) and with the MATE PowerPC Remix 2017 (64-bit kernel and 32-bit userland) [4]. I reduced the RAM to 3.5GB via kernel boot arguments but without any success. (mem=3500M)
...
I tried to figure out what the problem is yesterday. Here are the results. export LIBGL_DEBUG=verbose gdb glxgears run Output: Starting program: /usr/bin/glxgears [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1". libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/tls/r600_dri.so libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/r600_dri.so [New Thread 0xf7fbd450 (LWP 7135)] libGL: Can't open configuration file /home/amigaone/.drirc: No such file or directory. libGL: Can't open configuration file /home/amigaone/.drirc: No such file or directory. libGL: Using DRI2 for screen 0 Thread 1 "glxgears" received signal SIGBUS, Bus error. memset () at ../sysdeps/powerpc/powerpc32/memset.S:293
Can you try Linus' mainline, with just the following commit reverted:
31bfdb036f12 ("powerpc: Use instruction emulation infrastructure to handle alignment faults")
So just:
$ git revert 31bfdb036f12
cheers