[mga] Direct Rendering does not work

Bug #21750 reported by Magnus Hagdorn
18
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-mga (Ubuntu)
Fix Released
Medium
Daniel Stone

Bug Description

I have just updated to Breezy and noticed that direct rendering using a Matrox
g550 with DVI does not work. The current xserver-xorg-driver-mga is 6.8.2-65
which I use together with the mga_hal module
Module mga_hal: vendor="Matrox Graphics Inc. - Release v4.2.0"
        compiled for 6.8.2, module version = 4.2.0

According to the xorg-log DRI is enabled, however running glxinfo with
LIBGL_DEBUG=verbose, I get

libGL: XF86DRIGetClientDriverName: 1.1.1 mga (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/mga_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
libGL error:
MGA DRI driver expected DDX version 1-1.2.x but got version 1.1.1
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering

I will attach the x.org log and my xorg.config files.

Revision history for this message
Magnus Hagdorn (magnus-hagdorn) wrote :

Created an attachment (id=3821)
Xorg log

Revision history for this message
Magnus Hagdorn (magnus-hagdorn) wrote :

Created an attachment (id=3823)
xorg config

Revision history for this message
Daniel Stone (daniels) wrote :

ugh

Revision history for this message
Michael R. Head (burner) wrote :

Same on my dad's Matrox G400. Looks like I picked the wrong day to upgrade him
to breezy (he really likes the GLSlideshow and Carousel xscreensaver hacks).

Oh well ;-)

Revision history for this message
Michael R. Head (burner) wrote :

Still broken in 6.8.2-71.

Will this require an update to the kernel to fix?

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 22758 has been marked as a duplicate of this bug. ***

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Still does not work here with 6.8.2-73

Revision history for this message
Magnus Hagdorn (magnus-hagdorn) wrote :

works fine now with 6.8.2-74
cheers
magi

Revision history for this message
Daniel Stone (daniels) wrote :

i am the bug fixing winner

Revision history for this message
Daniel Stone (daniels) wrote :

but not such a winner at remembering to click on 'resolve bug, changing
resolution to fixed'. whoohoo. i rock.

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Well, it's ever worse here now:
lgb@oxygene:~$ glxinfo
name of display: :0.0
Illegal instruction
lgb@oxygene:~$ uname -a
Linux oxygene 2.6.12-9-k7 #1 Mon Oct 10 13:47:52 BST 2005 i686 GNU/Linux
lgb@oxygene:~$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 3
model name : AMD Duron(tm) processor
stepping : 0
cpu MHz : 603.362
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 1191.93
ii xserver-xorg 6.8.2-75 the X.Org X server (dummy package)
ii xserver-xorg-d 6.8.2-75 X.Org X server -- mga driver

what kind of other information is needed?

Btw, this configuration worked with ubuntu 5.04

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Hello, it seems my problem caused by a certain opcode in /usr/lib/dri/mga_dri.so
which may be unknown for my Duron CPU. I've commited this as a new bugreport
under #17702 . Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.