Bug 74347 - openra screen corruption on a HD2600
Summary: openra screen corruption on a HD2600
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 01:08 UTC by higuita
Modified: 2014-05-07 23:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
openra corruption (459.25 KB, image/jpeg)
2014-02-02 01:08 UTC, higuita
Details

Description higuita 2014-02-02 01:08:25 UTC
Created attachment 93204 [details]
openra corruption

i'm trying openra on a ATI HD2600 AGP, with mesa-git, libdrm 2.4.52, ati 7.3.0 and Xserver 1.14.3  on a slackware64 and i'm getting the attach corruption when trying to use Gl or Cg video renderer.

openra devs point to some graphic card driver problem.

the same game binary works fine on a with a ATI 4650 mobile on a ubuntu64 13.10, using the open drivers

I was using mesa 9.1.7 before upgrading to mesa-git and the corruption was also there.

I don't see any corruption on other games.

What i can do next?
Comment 1 Marek Olšák 2014-02-02 11:55:54 UTC
Try to run openra with this environment variable set:

R600_DEBUG=noinvalrange
Comment 2 higuita 2014-02-03 03:48:51 UTC
with R600_DEBUG=noinvalrange the screen show up fine, without any corruption.. but the game seems slower (but i might be wrong)

So what do i do with this? add to the openra startup script or this was just to help debuging?

thanks for the help.
Comment 3 Marek Olšák 2014-02-03 12:41:37 UTC
Please don't change the bug component. DRI/Radeon is R100. You have R600 and your driver is part of Gallium.

The variable was just to help debugging. Please try also this:

R600_DEBUG=nocpdma
Comment 4 Alex Deucher 2014-02-03 15:03:41 UTC
Can you also try disabling AGP?  Boot with radeon.agpmode=-1 on the kernel command line in grub.
Comment 5 higuita 2014-02-04 00:11:30 UTC
Sorry, i must have changed the bug component by accident, as i don't recall touching it.

R600_DEBUG=nocpdma is almost working fine. i get some quick sporadic corruption (sometime a few seconds, other times almost a minute between corruptions)

I will reboot with AGP disable and see what happen.
Comment 6 higuita 2014-02-04 17:49:45 UTC
With AGP disable, i still get corruption

I had a old openra install on a old ubuntu disk (12.10 IIRC) and booting from that disk, openra works fine on the same hardware

i'm right now upgrading that to ubuntu 13.10 and will test with the old and latest openra binaries and will report back
Comment 7 higuita 2014-02-04 20:54:04 UTC
With ubuntu 13.10 and the old openra binary, it also corrupt the screen, where in 12.10 with the same binary it worked fine.

so its something (kernel, drm, mesa, radeon drive) that change between ubuntu 12.10 and 13.10 (i know, too many changes to be useful)

i can now debug things both on the slackware64 (mesa-git) and in the ubuntu 13.10 (stock ubuntu mesa v9.2.1) , if you want.
Comment 8 Marek Olšák 2014-02-04 21:52:21 UTC
(In reply to comment #3)
> Please don't change the bug component. DRI/Radeon is R100. You have R600 and
> your driver is part of Gallium.
> 
> The variable was just to help debugging. Please try also this:
> 
> R600_DEBUG=nocpdma

It looks like we should disable CP DMA on R6xx again.
Comment 9 Marek Olšák 2014-02-04 21:55:12 UTC
Oops, I wanted to cite Comment 5.
Comment 10 Marek Olšák 2014-04-24 23:43:16 UTC
This bug should be fixed by my Mesa patches I pushed today. Could you please test them? Thanks.
Comment 11 higuita 2014-05-07 23:40:32 UTC
just update to mesa 10.1.2 and testing openra again i have no problem... so this is fixed! i don't know exactly what patch fixed this but it worked! :)

Thanks for the help, closing the bug


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.