(In reply to Michel Dänzer from comment #29) > That piglit sanity is failing with the patch may confirm my suspicion that > something doesn't add up yet I'm afraid: Since the kernel driver and > xf86-video-ati EXA code are using the same hardware formats for > display/rendering with BE & LE, I was wondering how the patch could result > in both display and glReadPixels working correctly for winsys buffers. Looks > like indeed only display works correctly, which indicates that the GPU is > effectively writing/reading PIPE_FORMAT_x8R8G8B8_* pixels like > PIPE_FORMAT_B8G8R8x8_* (which is what the kernel driver and EXA code are > using).
The patch is correct from the LE perspective. It simply adds ARGB support and was tested thoroughly on LE. The side effect is that BE can use the format now too, but there may be other issues with BE. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1432949 Title: r300 Mesa driver not loading with KMS enabled Status in Mesa: Confirmed Status in mesa package in Ubuntu: Confirmed Bug description: I cannot get 3D acceleration to work. I was expecting to see the gears via the command 'glxgears' I have KMS enable on my iBook G4 by using the following parameter Linux radeon.modeset=1 video=offb:off video=1024x768-32 video=radeonfb:off radeon.agpmode=-1 Here are my Mesa and Xorg output rican-linux@ibookG4-UbuntuMATE:~$ cat /var/log/Xorg.0.log |grep -e radeon -e dri2 -e drm -e KMS [ 32.774] Kernel command line: root=UUID=fadadc01-6fd5-49fa-85f3-9e52d0fe6155 ro quiet splash video=offb:off video=1024x768-32 video=radeonfb:off radeon.modeset=1 video=offb:off video=1024x768-32 video=radeonfb:off radeon.agpmode=-1 [ 33.203] (II) xfree86: Adding drm device (/dev/dri/card0) [ 35.011] (II) LoadModule: "radeon" [ 35.012] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so [ 35.337] (II) Module radeon: vendor="X.Org Foundation" [ 35.604] (II) [KMS] Kernel modesetting enabled. [ 35.697] (II) Loading sub module "dri2" [ 35.697] (II) LoadModule: "dri2" [ 35.697] (II) Module "dri2" already built-in [ 35.870] (II) RADEON(0): KMS Color Tiling: enabled [ 35.870] (II) RADEON(0): KMS Color Tiling 2D: disabled [ 35.870] (II) RADEON(0): KMS Pageflipping: enabled rican-linux@ibookG4-UbuntuMATE:~$ LIBGL_DEBUG=verbose glxinfo |grep render libGL: screen 0 does not appear to be DRI3 capable libGL: pci id for fd 4: 1002:4e56, driver r300 libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/tls/r300_dri.so libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/r300_dri.so libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: r300 libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast Error: couldn't find RGB GLX visual or fbconfig rican-linux@ibookG4-UbuntuMATE:~$ dpkg -l libgl1-mesa-dri Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii libgl1-mesa-dr 10.5.0~rc1-0 powerpc free implementation of the OpenGL rican-linux@ibookG4-UbuntuMATE:~$ rican-linux@ibookG4-UbuntuMATE:~$ lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 rican-linux@ibookG4-UbuntuMATE:~$ apt-cache policy libgl1-mesa-dri libgl1-mesa-dri: Installed: 10.5.0~rc1-0ubuntu1 Candidate: 10.5.0-0ubuntu1 Version table: 10.5.0-0ubuntu1 0 500 http://ports.ubuntu.com/ubuntu-ports/ vivid/main powerpc Packages *** 10.5.0~rc1-0ubuntu1 0 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: libgl1-mesa-dri 10.5.0~rc1-0ubuntu1 ProcVersionSignature: Ubuntu 3.18.0-13.14-powerpc-smp 3.18.5 Uname: Linux 3.18.0-13-powerpc-smp ppc ApportVersion: 2.16.1-0ubuntu2 Architecture: powerpc CurrentDesktop: MATE Date: Tue Mar 17 00:58:43 2015 InstallationDate: Installed on 2015-03-17 (0 days ago) InstallationMedia: Ubuntu-MATE 15.04 "Vivid Vervet" - Alpha powerpc (20150225) SourcePackage: mesa UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1432949/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp