Bug 64124

Summary: [r600g] aruba crash with 32bit applications on 64bit kernel
Product: DRI Reporter: Alan Swanson <reiver>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
Xorg.0.log none

Description Alan Swanson 2013-05-01 16:39:44 UTC
Created attachment 78729 [details]
dmesg

With my A10-5700 ARUBA I have a problem running 32bit applications under 64bit kernel (not tried 32bit kernel) while 64bit applications are fine. Essentially the X server crashes with a segfault after the following messages;

radeon 0000:00:01.0: bo ffff88022f44b000 va 0x00000000 conflict with (bo ffff88022ee16c00 0x01F00000 0x026F8000)
radeon 0000:00:01.0: bo ffff88022f44b000 don't has a mapping in vm ffff880224c97e00
radeon 0000:00:01.0: bo ffff88022f449000 va 0x00000000 conflict with (bo ffff88022ee16c00 0x01F00000 0x026F8000)
radeon 0000:00:01.0: bo ffff88022f449000 don't has a mapping in vm ffff880224c97e00
radeon 0000:00:01.0: bo ffff88022ee16000 don't has a mapping in vm ffff880224c97e00
radeon 0000:00:01.0: bo ffff88022ee16400 don't has a mapping in vm ffff880224c97e00
[...REPEAT...]
radeon 0000:00:01.0: bo ffff88023527c000 don't has a mapping in vm ffff880224c97e00
[CRASH]

System is running;
- Linux 3.9.0 with all radeon patches from drm-next-3.10-2 (but problem occurrs with standard Linux 3.8 and 3.9 too, though unknown for earlier kernels)
- Current Mesa git head for both 64 and 32 bit (definitely no old libraries).
Comment 1 Alan Swanson 2013-05-01 16:40:23 UTC
Created attachment 78730 [details]
Xorg.0.log
Comment 2 Michel Dänzer 2013-05-02 07:59:26 UTC
FWIW, it looks like the crash happens in a GLX indirect rendering path. Unless you're intentionally using indirect rendering, I suspect there's a problem with your 32-bit Mesa setup, causing the 32-bit apps to fall back to indirect rendering.
Comment 3 Alan Swanson 2013-05-02 11:01:30 UTC
Sorry, appears the build system (not Mesa's) had started stripping the "--with-dri-searchpath" I'd set. Now resolved.

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.