Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#5384 - Matrox g400 doesn't work after upgrading Xorg to 7.1
Attached to Project:
Arch Linux
Opened by Michal Kubicki (mkubicki) - Sunday, 10 September 2006, 20:14 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 10 September 2006, 21:01 GMT
Opened by Michal Kubicki (mkubicki) - Sunday, 10 September 2006, 20:14 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 10 September 2006, 21:01 GMT
|
DetailsI did upgrade Xorg to 7.1 and there is something wrong with mga driver. I use Matrox g400 card and I can see my desktop no longer. My monitor is switching off every time I start X. It looks like a synchronization problem. I set X to start in 1024x768x85hz and it was always fine. Now i have to switch to 640x480x60hz to see anything.
|
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 29 October 2006, 16:52 GMT
Reason for closing: Fixed
Additional comments about closing: 1.4.4 should resolve the final G400 DRI lockups.
Sunday, 29 October 2006, 16:52 GMT
Reason for closing: Fixed
Additional comments about closing: 1.4.4 should resolve the final G400 DRI lockups.
xorg.conf
- MergedFB patch, which is an old patch originating from the X.Org 6.8 days, could be wrecked in 7.1
- mga_hal support, which was broken and fixed by getting a fixed binding.h from the semi-free drivers from matrox itself
Could you try to recompile xf86-video-mga from abs, removing the patch for mga-mergedfb-xinerama? If that doesn't work out either, you could try to remove the binding patch and remove the line that adds an "USEMGAHAL 1" line to config.h. My guess is that one of these two is the problem in your case.
Making all in src
make[2]: Entering directory `/var/abs/x11-drivers/xf86-video-mga/src/xf86-video-mga-1.4.1/src'
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT clientlx.lo -MD -MP -MF ".deps/clientlx.Tpo" -c -o clientlx.lo clientlx.c; \
then mv -f ".deps/clientlx.Tpo" ".deps/clientlx.Plo"; else rm -f ".deps/clientlx.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT clientlx.lo -MD -MP -MF .deps/clientlx.Tpo -c clientlx.c -fPIC -DPIC -o .libs/clientlx.o
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_arc.lo -MD -MP -MF ".deps/mga_arc.Tpo" -c -o mga_arc.lo mga_arc.c; \
then mv -f ".deps/mga_arc.Tpo" ".deps/mga_arc.Plo"; else rm -f ".deps/mga_arc.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_arc.lo -MD -MP -MF .deps/mga_arc.Tpo -c mga_arc.c -fPIC -DPIC -o .libs/mga_arc.o
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_bios.lo -MD -MP -MF ".deps/mga_bios.Tpo" -c -o mga_bios.lo mga_bios.c; \
then mv -f ".deps/mga_bios.Tpo" ".deps/mga_bios.Plo"; else rm -f ".deps/mga_bios.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_bios.lo -MD -MP -MF .deps/mga_bios.Tpo -c mga_bios.c -fPIC -DPIC -o .libs/mga_bios.o
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_dac3026.lo -MD -MP -MF ".deps/mga_dac3026.Tpo" -c -o mga_dac3026.lo mga_dac3026.c; \
then mv -f ".deps/mga_dac3026.Tpo" ".deps/mga_dac3026.Plo"; else rm -f ".deps/mga_dac3026.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_dac3026.lo -MD -MP -MF .deps/mga_dac3026.Tpo -c mga_dac3026.c -fPIC -DPIC -o .libs/mga_dac3026.o
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_dacG.lo -MD -MP -MF ".deps/mga_dacG.Tpo" -c -o mga_dacG.lo mga_dacG.c; \
then mv -f ".deps/mga_dacG.Tpo" ".deps/mga_dacG.Plo"; else rm -f ".deps/mga_dacG.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_dacG.lo -MD -MP -MF .deps/mga_dacG.Tpo -c mga_dacG.c -fPIC -DPIC -o .libs/mga_dacG.o
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_dga.lo -MD -MP -MF ".deps/mga_dga.Tpo" -c -o mga_dga.lo mga_dga.c; \
then mv -f ".deps/mga_dga.Tpo" ".deps/mga_dga.Plo"; else rm -f ".deps/mga_dga.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_dga.lo -MD -MP -MF .deps/mga_dga.Tpo -c mga_dga.c -fPIC -DPIC -o .libs/mga_dga.o
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_dh.lo -MD -MP -MF ".deps/mga_dh.Tpo" -c -o mga_dh.lo mga_dh.c; \
then mv -f ".deps/mga_dh.Tpo" ".deps/mga_dh.Plo"; else rm -f ".deps/mga_dh.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_dh.lo -MD -MP -MF .deps/mga_dh.Tpo -c mga_dh.c -fPIC -DPIC -o .libs/mga_dh.o
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_driver.lo -MD -MP -MF ".deps/mga_driver.Tpo" -c -o mga_driver.lo mga_driver.c; \
then mv -f ".deps/mga_driver.Tpo" ".deps/mga_driver.Plo"; else rm -f ".deps/mga_driver.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -march=i686 -O2 -pipe -I/usr/include/X11/extensions -MT mga_driver.lo -MD -MP -MF .deps/mga_driver.Tpo -c mga_driver.c -fPIC -DPIC -o .libs/mga_driver.o
mga_driver.c: In function 'MGAFillModeInfoStruct':
mga_driver.c:2678: error: 'MGAMODEINFO_FLATPANEL1' undeclared (first use in this function)
mga_driver.c:2678: error: (Each undeclared identifier is reported only once
mga_driver.c:2678: error: for each function it appears in.)
make[2]: *** [mga_driver.lo] Error 1
make[2]: Leaving directory `/var/abs/x11-drivers/xf86-video-mga/src/xf86-video-mga-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/x11-drivers/xf86-video-mga/src/xf86-video-mga-1.4.1'
make: *** [all] Error 2
http://bbs.archlinux.org/viewtopic.php?t=25021
Another option is using gtf to generate modelines, but looking at your logs that doesn't help much I think.
(==) Using config file: "/etc/X11/xorg.conf"
X: symbol lookup error: /usr/lib/xorg/modules/drivers/mga_drv.so: undefined symbol: MGAGetBOARDHANDLESize
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
I try the original mga driver from current, with or without patches, but it still doesn't work.
Thx
[kat@myhost ~]$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
[.....]
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
[.....]
If the Direct Rendering problem isn't a result of incorrect configuration,
FS#5384is not ready to be closed.name of display: :0.0
libGL error: dlopen /usr/lib/xorg/modules/dri/mga_dri.so failed (/usr/lib/xorg/modules/dri/mga_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: mga_dri.so
display: :0 screen: 0
direct rendering: No
Is it part of the matrox driver?