r300 Mesa driver not loading with KMS enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mesa |
Fix Released
|
Medium
|
|||
mesa (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
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@
[ 32.774] Kernel command line: root=UUID=
[ 33.203] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 35.011] (II) LoadModule: "radeon"
[ 35.012] (II) Loading /usr/lib/
[ 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@
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/
libGL: OpenDriver: trying /usr/lib/
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: r300
libGL: OpenDriver: trying /usr/lib/
libGL: OpenDriver: trying /usr/lib/
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@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii libgl1-mesa-dr 10.5.0~rc1-0 powerpc free implementation of the OpenGL
rican-linux@
rican-linux@
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
rican-linux@
libgl1-mesa-dri:
Installed: 10.5.0~rc1-0ubuntu1
Candidate: 10.5.0-0ubuntu1
Version table:
10.
500 http://
*** 10.5.0~rc1-0ubuntu1 0
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: libgl1-mesa-dri 10.5.0~rc1-0ubuntu1
ProcVersionSign
Uname: Linux 3.18.0-
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)
Changed in mesa (Ubuntu): | |
importance: | Undecided → Medium |
Changed in mesa: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in mesa: | |
status: | Confirmed → Fix Released |
Changed in mesa (Ubuntu): | |
status: | Confirmed → Fix Released |
Created attachment 89467
Xorg.log without configuration file
Without xorg.conf or with a pixel depth of 24 bits, any application linked to libGL will fails to load the "r300" driver and after it the "swarst" driver with the following message:
libGL error: failed to load driver: r300
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
This problem is present in all the Mesa 9.x release up to 9.2.3. But it is not in the 8 (which segfault at some point), 7.11 was working without config file.
After a bit of investigation, I found that driConvertConfigs() returns NULL in dri2CreateScreen() when trying to find matching visuals (src/glx/ dri_glx. c:450). However if I specify a depth of 16 bits in my xorg.conf I cannot reproduce this problem.
This problem is present on OpenBSD -current (future 5.5) which has the drm drivers synced with Ubuntu's linux 3.8 kernel.