http://bugs.freedesktop.org/show_bug.cgi?id=23816

           Summary: 32bit mesa on 64bit os won't load r600_dri.so due to bad
                    magic
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/R600
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: kdeko...@yahoo.com


First the working case.

Using 64 bit Fedora 11 Kernel
radeon kernel modules from agd5f's r600 branch
libdrm from git compile without experimental apis in both 32bit and 64bit
binaries
mesa from git in both 32bit and 64bit binaries
ddx from git

With this setup I can get 64bit and 32bit hardware accelerated 3d, most things
work well.

I tried to do the same thing with the following

drm-next kernel 2.6.31-rc9
libdrm from git compiled with experimentals api in both 32bit and 64bin
binaries
mesa from git in both 32bit and 64bit binaries
ddx from git

mesa in 64bit mode works well. applications run accelerated with no problem.
mesa in 32bit mode fails

LIBGL_DEBUG=verbose gears
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL error: failed to get magic
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so

file /usr/lib/dri/r600_dri.so
/usr/lib/dri/r600_dri.so: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), dynamically linked, not stripped

also I see in my dmesg

ioctl32(gears:4095): Unknown cmd fd(4) cmd(80046402){t:'d';sz:4} arg(ff8ea6cc)
on /dev/dri/card0

Looks to me like the 32bit mesa is not properly getting the cmd to the 64bit
drm in the kernel.

Since I am in Fedora, I am not running 32bit apps in a chroot. 32bit libs are
in /usr/lib and 64bit libs are in /usr/lib64.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to