Linux 3.5.7 vs Radeon HD 6570

AmigaOne X1000 platform specific issues related to Linux only.

Linux 3.5.7 vs Radeon HD 6570

Postby marcus » Sun Apr 07, 2013 11:29 pm

When running certain GL applications (such as the Android system emulator), I get system lockups related to the RadeonHD drm driver:
Code: Select all
[1821887.366661] radeon 0000:01:00.0: couldn't schedule ib
[1821887.366667] [drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[1821904.616133] radeon 0000:01:00.0: couldn't schedule ib
[1821904.616139] [drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !

When this happens, basically all X output is blocked (at most the mouse pointer can move), and I have to reboot the system.

Upgrading mesa from 9.0.3 to 9.1.1 made no difference at all, but this looks like a problem in the kernel driver anyway.

So, since the 3.5 kernel series is EOL:ed (so is 3.6 and 3.7), is someone working on a 3.8 kernel, which might fix this problem? It would be nice to be able to run any GL program without having to fear for a mandatory reboot...
marcus
 
Posts: 55
Joined: Wed Nov 07, 2012 9:07 pm

Re: Linux 3.5.7 vs Radeon HD 6570

Postby xeno74 » Thu Apr 11, 2013 3:21 pm

I have the same problem :(
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3080
Joined: Fri Mar 23, 2012 8:58 am

Re: Linux 3.5.7 vs Radeon HD 6570

Postby zappa2009 » Thu Apr 11, 2013 9:54 pm

I think this Problem is the KMS and DRM driver for the RadeonHD cards.
Or missing Kernel-Modules ? I dont know.

I have the same Problem with Supertuxkart on some Maps/Overworld.
X1000 RadeonHD5450 4GB (2x2GB) DDR2-PC2-8500 Kingston HyperX 5-5-5-5-15 OS4.1.6 & Lubuntu13.04/mintppc11 with Kernel 3.8.7/3.9
User avatar
zappa2009
 
Posts: 230
Joined: Tue Jun 21, 2011 1:17 pm

Re: Linux 3.5.7 vs Radeon HD 6570

Postby xeno74 » Sat Apr 13, 2013 12:54 pm

zappa2009 wrote:I think this Problem is the KMS and DRM driver for the RadeonHD cards.
Or missing Kernel-Modules ? I dont know.

I have the same Problem with Supertuxkart on some Maps/Overworld.


What do you think about to build a new kernel like 3.8?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3080
Joined: Fri Mar 23, 2012 8:58 am

Re: Linux 3.5.7 vs Radeon HD 6570

Postby marcus » Sat Apr 13, 2013 2:34 pm

What do you think about to build a new kernel like 3.8?

That's my plan. Hence the question in the OP if somebody is already working on it, to avoid duplicate efforts...
marcus
 
Posts: 55
Joined: Wed Nov 07, 2012 9:07 pm

Re: Linux 3.5.7 vs Radeon HD 6570

Postby xeno74 » Sat Apr 13, 2013 3:54 pm

marcus wrote:
What do you think about to build a new kernel like 3.8?

That's my plan. Hence the question in the OP if somebody is already working on it, to avoid duplicate efforts...


That's very kind of you :)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3080
Joined: Fri Mar 23, 2012 8:58 am

Re: Linux 3.5.7 vs Radeon HD 6570

Postby marcus » Sat Apr 13, 2013 4:22 pm

Well, my kindness only allowed me to wait for so long before going ahead regardless... :-)

I've now made a 3.8.7 build. Darren's 3.5.7 patch could be applied with only one small modification.

So far, it's looking promising. I've seen no kernel lockups yet. At one point (where I was expecting a kernel lockup), the mouse pointer froze for a few seconds, but after that things were able to proceed. Then the user process crashed, but that's still preferable to a kernel lockup, and probably not related anyway. 8-)

If someone else want's to give it a try and see if it fixes their lockups too, I've put the updated kernel patch up as http://mc.pp.se/nemo_3.8.7.patch.
marcus
 
Posts: 55
Joined: Wed Nov 07, 2012 9:07 pm

Re: Linux 3.5.7 vs Radeon HD 6570

Postby xeno74 » Sat Apr 13, 2013 6:47 pm

marcus wrote:Well, my kindness only allowed me to wait for so long before going ahead regardless... :-)

I've now made a 3.8.7 build. Darren's 3.5.7 patch could be applied with only one small modification.

So far, it's looking promising. I've seen no kernel lockups yet. At one point (where I was expecting a kernel lockup), the mouse pointer froze for a few seconds, but after that things were able to proceed. Then the user process crashed, but that's still preferable to a kernel lockup, and probably not related anyway. 8-)

If someone else want's to give it a try and see if it fixes their lockups too, I've put the updated kernel patch up as http://mc.pp.se/nemo_3.8.7.patch.


Thank you! Could you post your kernel config, please?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3080
Joined: Fri Mar 23, 2012 8:58 am

Re: Linux 3.5.7 vs Radeon HD 6570

Postby xeno74 » Sat Apr 13, 2013 6:57 pm

OK, I have found it :)

Code: Select all
zcat /proc/config.gz > ./.config
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3080
Joined: Fri Mar 23, 2012 8:58 am

Re: Linux 3.5.7 vs Radeon HD 6570

Postby daz » Sat Apr 13, 2013 10:47 pm

marcus wrote:Well, my kindness only allowed me to wait for so long before going ahead regardless... :-)

I've now made a 3.8.7 build. Darren's 3.5.7 patch could be applied with only one small modification.


Hmm, hand't thought of trying my patch directly against a newer kernel version, they have a tendency to change whole functions...

The modification you refer to will be the pci device secondary bus i assume (caused me a bit of trouble)

I have an experimental 3.8.6 running here, but is still under test.I'm trying (without much success) to add UVD.

Perhaps you can point me towards what doesn't work for you as I haven't seen problems, and am not sure it isn't a problem with the programs themselves, not the kernel driver (as many other things work fine).

So far, it's looking promising. I've seen no kernel lockups yet. At one point (where I was expecting a kernel lockup), the mouse pointer froze for a few seconds, but after that things were able to proceed. Then the user process crashed, but that's still preferable to a kernel lockup, and probably not related anyway. 8-)

If someone else want's to give it a try and see if it fixes their lockups too, I've put the updated kernel patch up as http://mc.pp.se/nemo_3.8.7.patch.

3.8.7..hmm kernels been updated again I see (more work)

If I workout UVD I'll see about getting a patch for that here too.

Regards
Darren
daz
Beta Tester
Beta Tester
 
Posts: 299
Joined: Tue Dec 21, 2010 8:32 pm

Next

Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: No registered users and 5 guests