LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: Christian Zigotzky <chzigotzky@xenosoft.de>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: Hardware 3D acceleration doesn't work anymore after the PowerPC updates 4.14-1
Date: Mon, 11 Sep 2017 19:28:18 +1000	[thread overview]
Message-ID: <87vakpbn4d.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <421109ac-41f8-f332-068b-8884cf7322b6@xenosoft.de>

Hi Christian,

Christian Zigotzky <chzigotzky@xenosoft.de> 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

  reply	other threads:[~2017-09-11  9:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-11  8:33 Hardware 3D acceleration doesn't work anymore after the PowerPC updates 4.14-1 Christian Zigotzky
2017-09-11  9:28 ` Michael Ellerman [this message]
2017-09-11 13:20   ` Christian Zigotzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vakpbn4d.fsf@concordia.ellerman.id.au \
    --to=mpe@ellerman.id.au \
    --cc=chzigotzky@xenosoft.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox