G550 + 4.4.4 driver + Ubuntu 10.04

This forum is for questions about all G-series cards (G200, G400, G450, ...) that need the mga driver to work properly

G550 + 4.4.4 driver + Ubuntu 10.04

Postby jonomcclelland » Tue Oct 12, 2010 8:09 pm

(I tried to attach files, but none accepted).

Summary: Installed matroxdriver_mga-x86_32-4.4.4 driver, but the driver module is failing to load.

NOTE: Running the commands below via an "ssh -X" session to the box.
NOTE: Ubuntu 10.04.1 LTS

root@jon-desktop:~# X -version

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
Current Operating System: Linux jon-desktop 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=e2f838b0-b2fa-49af-8b22-7a1060aa1a19 ro quiet splash
Build Date: 21 July 2010 12:47:34PM
xorg-server 2:1.7.6-2ubuntu7.3 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.

- Extracted driver & installed...
root@jon-desktop:~/matroxdriver_mga-x86_32-4.4.4# ./install.sh

Can't find the X Server version you are currently running (1.7.6) in
this installers database, so for your convenience, I'll try to install
the latest available version (7.1.0) onto your system.

If you think this is alright, simply hit <RETURN> here, if you don't,
stop here by pressing CTRL-C and please post this notice in the
Unofficial Matrox Technical Support Forum (http://matrox.tuxx-home.at)
and I'll see what I can do for you.

Please strike any key to continue...

You are about to install the X server driver,
do you wish to continue? (y/n) y

Installing X driver...

Installing HAL driver...


- Create X config (xorg.conf.new attached)
root@jon-desktop:~/matroxdriver_mga-x86_32-4.4.4# X -configure

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
Current Operating System: Linux jon-desktop 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=e2f838b0-b2fa-49af-8b22-7a1060aa1a19 ro quiet splash
Build Date: 21 July 2010 12:47:34PM
xorg-server 2:1.7.6-2ubuntu7.3 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 12 18:10:31 2010
List of video drivers:
radeon
neomagic
ati
i128
sis
r128
tseng
vmware
s3virge
mga_hal
nouveau
apm
cirrus
mach64
trident
i740
openchrome
tdfx
chips
geode
voodoo
mga
rendition
ztv
savage
s3
v4l
sisusb
ark
siliconmotion
nv
intel
fbdev
vesa
(EE) Failed to load module "mgahal" (module does not exist, 0)
dlopen: /usr/lib/xorg/modules/drivers/mga_drv.so: undefined symbol: resVgaIoShared
(EE) Failed to load /usr/lib/xorg/modules/drivers/mga_drv.so
(EE) Failed to load module "mga" (loader failed, 7)
(++) Using config file: "/root/xorg.conf.new"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"


Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Xorg has configured a multihead system, please check your config.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'

ddxSigGiveUp: Closing log


- above driver does exist
root@jon-desktop:~/matroxdriver_mga-x86_32-4.4.4# ll /usr/lib/xorg/modules/drivers/mga_drv.so
-rwxr-xr-x 1 root root 179596 2007-01-03 12:40 /usr/lib/xorg/modules/drivers/mga_drv.so*


- Copy X configuration log (Xorg.0.log.configure attached)
root@jon-desktop:~/matroxdriver_mga-x86_32-4.4.4# mv /var/log/Xorg.0.log Xorg.0.log.configure


- Try out the xorg.conf.new config file produced above (even though it has errors)
root@jon-desktop:~/matroxdriver_mga-x86_32-4.4.4# X -config /root/xorg.conf.new
X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
Current Operating System: Linux jon-desktop 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=e2f838b0-b2fa-49af-8b22-7a1060aa1a19 ro quiet splash
Build Date: 21 July 2010 12:47:34PM
xorg-server 2:1.7.6-2ubuntu7.3 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 12 18:17:39 2010
(++) Using config file: "/root/xorg.conf.new"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"
(EE) intel(0): [drm] Failed to open DRM device for pci:0000:00:02.0: No such file or directory
(EE) intel(0): Failed to become DRM master.
xf86TokenToOptinfo: table is NULL
xf86TokenToOptinfo: table is NULL
(EE) intel(0): tried to update DSPARB with both planes enabled!
(EE) FBDEV(1): EGA/VGA planes are not yet supported by the fbdev driver
*** glibc detected *** X: munmap_chunk(): invalid pointer: 0x0012d3ff ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x1e1591]
/lib/tls/i686/cmov/libc.so.6(+0x6c80e)[0x1e280e]
X(Xfree+0x21)[0x80a9f81]
X(xf86DeleteMode+0x58)[0x80c4488]
X(xf86DeleteScreen+0x97)[0x80c1ad7]
X(InitOutput+0x637)[0x80b9d07]
X[0x8066bbb]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x18cbd6]
X[0x8066961]
======= Memory map: ========
00110000-00120000 r-xp 00000000 08:01 786491 /lib/libbz2.so.1.0.4
00120000-00121000 r--p 0000f000 08:01 786491 /lib/libbz2.so.1.0.4
00121000-00122000 rw-p 00010000 08:01 786491 /lib/libbz2.so.1.0.4
00122000-00128000 r-xp 00000000 08:01 2230646 /usr/lib/xorg/modules/extensions/librecord.so
00128000-00129000 r--p 00005000 08:01 2230646 /usr/lib/xorg/modules/extensions/librecord.so
00129000-0012a000 rw-p 00006000 08:01 2230646 /usr/lib/xorg/modules/extensions/librecord.so
0012a000-0012e000 r-xp 00000000 08:01 2230652 /usr/lib/xorg/modules/linux/libfbdevhw.so
0012e000-0012f000 r--p 00003000 08:01 2230652 /usr/lib/xorg/modules/linux/libfbdevhw.so
0012f000-00130000 rw-p 00004000 08:01 2230652 /usr/lib/xorg/modules/linux/libfbdevhw.so
0013c000-0013d000 r-xp 00000000 00:00 0 [vdso]
0013d000-00173000 r-xp 00000000 08:01 1837884 /usr/lib/libXfont.so.1.4.1
00173000-00174000 r--p 00035000 08:01 1837884 /usr/lib/libXfont.so.1.4.1
00174000-00175000 rw-p 00036000 08:01 1837884 /usr/lib/libXfont.so.1.4.1
00175000-00176000 rw-p 00000000 00:00 0
00176000-002c9000 r-xp 00000000 08:01 918265 /lib/tls/i686/cmov/libc-2.11.1.so
002c9000-002ca000 ---p 00153000 08:01 918265 /lib/tls/i686/cmov/libc-2.11.1.so
002ca000-002cc000 r--p 00153000 08:01 918265 /lib/tls/i686/cmov/libc-2.11.1.so
002cc000-002cd000 rw-p 00155000 08:01 918265 /lib/tls/i686/cmov/libc-2.11.1.so
002cd000-002d0000 rw-p 00000000 00:00 0
002d0000-002ed000 r-xp 00000000 08:01 786515 /lib/libgcc_s.so.1
002ed000-002ee000 r--p 0001c000 08:01 786515 /lib/libgcc_s.so.1
002ee000-002ef000 rw-p 0001d000 08:01 786515 /lib/libgcc_s.so.1
002ef000-00305000 r-xp 00000000 08:01 2230644 /usr/lib/xorg/modules/extensions/libextmod.so
00305000-00306000 r--p 00015000 08:01 2230644 /usr/lib/xorg/modules/extensions/libextmod.so
00306000-00307000 rw-p 00016000 08:01 2230644 /usr/lib/xorg/modules/extensions/libextmod.so
00307000-00323000 r-xp 00000000 08:01 2230592 /usr/lib/xorg/modules/libfb.so
00323000-00324000 r--p 0001c000 08:01 2230592 /usr/lib/xorg/modules/libfb.so
00324000-00325000 rw-p 0001d000 08:01 2230592 /usr/lib/xorg/modules/libfb.so
003f5000-00468000 r-xp 00000000 08:01 2230614 /usr/lib/xorg/modules/drivers/intel_drv.so
00468000-0047b000 r--p 00072000 08:01 2230614 /usr/lib/xorg/modules/drivers/intel_drv.so
0047b000-0047f000 rw-p 00085000 08:01 2230614 /usr/lib/xorg/modules/drivers/intel_drv.so
004e7000-004fa000 r-xp 00000000 08:01 786630 /lib/libz.so.1.2.3.3
004fa000-004fb000 r--p 00012000 08:01 786630 /lib/libz.so.1.2.3.3
004fb000-004fc000 rw-p 00013000 08:01 786630 /lib/libz.so.1.2.3.3
00560000-00562000 r-xp 00000000 08:01 2230643 /usr/lib/xorg/modules/extensions/libdri2.so
00562000-00563000 r--p 00002000 08:01 2230643 /usr/lib/xorg/modules/extensions/libdri2.so
00563000-00564000 rw-p 00003000 08:01 2230643 /usr/lib/xorg/modules/extensions/libdri2.so
005b2000-00623000 r-xp 00000000 08:01 1835529 /usr/lib/libfreetype.so.6.3.22
00623000-00627000 r--p 00070000 08:01 1835529 /usr/lib/libfreetype.so.6.3.22
00627000-00628000 rw-p 00074000 08:01 1835529 /usr/lib/libfreetype.so.6.3.22
00631000-00680000 r-xp 00000000 08:01 2230645 /usr/lib/xorg/modules/extensions/libglx.so
00680000-00681000 r--p 0004e000 08:01 2230645 /usr/lib/xorg/modules/extensions/libglx.so
00681000-00684000 rw-p 0004f000 08:01 2230645 /usr/lib/xorg/modules/extensions/libglx.so
006f2000-006f4000 r-xp 00000000 08:01 1837867 /usr/lib/libXau.so.6.0.0
006f4000-006f5000 r--p 00001000 08:01 1837867 /usr/lib/libXau.so.6.0.0
006f5000-006f6000 rw-p 00002000 08:01 1837867 /usr/lib/libXau.so.6.0.0
00791000-00794000 r-xp 00000000 08:01 786521 /lib/libgpg-error.so.0.4.0
00794000-00795000 r--p 00002000 08:01 786521 /lib/libgpg-error.so.0.4.0
00795000-00796000 rw-p 00003000 08:01 786521 /lib/libgpg-error.so.0.4.0
007b5000-007b7000 r-xp 00000000 08:01 918271 /lib/tls/i686/cmov/libdl-2.11.1.so
007b7000-007b8000 r--p 00001000 08:01 918271 /lib/tls/i686/cmov/libdl-2.11.1.so
007b8000-007b9000 rw-p 00002000 08:01 918271 /lib/tls/i686/cmov/libdl-2.11.1.so
007cc000-00823000 r-xp 00000000 08:01 1838638 /usr/lib/libpixman-1.so.0.16.4
00823000-00825000 r--p 00057000 08:01 1838638 /usr/lib/libpixman-1.so.0.16.4
00825000-00826000 rw-p 00059000 08:01 1838638 /usr/lib/libpixman-1.so.0.16.4
0086b000-00870000 r-xp 00000000 08:01 1838161 /usr/lib/libfontenc.so.1.0.0
00870000-00871000 r--p 00004000 08:01 1838161 /usr/lib/libfontenc.so.1.0.0
00871000-00872000 rw-p 00005000 08:01 1838161 /usr/lib/libfontenc.so.1.0.0
00885000-00889000 r-xp 00000000 08:01 1837878 /usr/lib/libXdmcp.so.6.0.0
00889000-0088a000 r--p 00003000 08:01 1837878 /usr/lib/libXdmcp.so.6.0.0
0088a000-0088b000 rw-p 00004000 08:01 1837878 /usr/lib/libXdmcp.so.6.0.0
0092d000-00931000 r-xp 00000000 08:01 2230641 /usr/lib/xorg/modules/extensions/libdbe.so
00931000-00932000 r--p 00003000 08:01 2230641 /usr/lib/xorg/modules/extensions/libdbe.so
00932000-00933000 rw-p 00004000 08:01 2230641 /usr/lib/xorg/modules/extensions/libdbe.so
0097a000-00982000 r-xp 00000000 08:01 786500 /lib/libdrm_intel.so.1.0.0
00982000-00983000 r--p 00008000 08:01 786500 /lib/libdrm_intel.so.1.0.0
00983000-00984000 rw-p 00009000 08:01 786500 /lib/libdrm_intel.so.1.0.0
009b6000-009bf000 r-xp 00000000 08:01 786498 /lib/libdrm.so.2.4.0
009bf000-009c0000 r--p 00008000 08:01 786498 /lib/libdrm.so.2.4.0
009c0000-009c1000 rw-p 00009000 08:01 786498 /lib/libdrm.so.2.4.0
00a72000-00a7c000 r-xp 00000000 08:01 786435 /lib/libudev.so.0.6.1
00a7c000-00a7d000 r--p 00009000 08:01 786435 /lib/libudev.so.0.6.1
00a7d000-00a7e000 rw-p 0000a000 08:01 786435 /lib/libudev.so.0.6.1
00abe000-00ad9000 r-xp 00000000 08:01 786457 /lib/ld-2.11.1.so
00ad9000-00ada000 r--p 0001a000 08:01 786457 /lib/ld-2.11.1.so
00ada000-00adb000 rw-p 0001b000 08:01 786457 /lib/ld-2.11.1.so
00adf000-00b03000 r-xp 00000000 08:01 918273 /lib/tls/i686/cmov/libm-2.11.1.so
00b03000-00b04000 r--p 00023000 08:01 918273 /lib/tls/i686/cmov/libm-2.11.1.so
00b04000-00b05000 rw-p 00024000 08:01 918273 /lib/tls/i686/cmov/libm-2.11.1.so
00b63000-00b67000 r-xp 00000000 08:01 2230610 /usr/lib/xorg/modules/drivers/fbdev_drv.so
00b67000-00b68000 r--p 00003000 08:01 2230610 /usr/lib/xorg/modules/drivers/fbdev_drv.so
00b68000-00b69000 rw-p 00004000 08:01 2230610 /usr/lib/xorg/modules/drivers/fbdev_drv.so
00c52000-00c59000 r-xp 00000000 08:01 1838628 /usr/lib/libpciaccess.so.0.10.8
00c59000-00c5a000 r--p 00007000 08:01 1838628 /usr/lib/libpciaccess.so.0.10.8
00c5a000-00c5b000 rw-p 00008000 08:01 1838628 /usr/lib/libpciaccess.so.0.10.8
00d0d000-00d7d000 r-xp 00000000 08:01 786517 /lib/libgcrypt.so.11.5.2
00d7d000-00d7e000 r--p 00070000 08:01 786517 /lib/libgcrypt.so.11.5.2
00d7e000-00d80000 rw-p 00071000 08:01 786517 /lib/libgcrypt.so.11.5.2
00de2000-00dea000 r-xp 00000000 08:01 2230642 /usr/lib/xorg/modules/extensions/libdri.so
00dea000-00deb000 r--p 00007000 08:01 2230642 /usr/lib/xorg/modules/extensions/libdri.so
00deb000-00dec000 rw-p 00008000 08:01 2230642 /usr/lib/xorg/modules/extensions/libdri.so
00e04000-00e0b000 r-xp 00000000 08:01 918295 /lib/tls/i686/cmov/librt-2.11.1.so
00e0b000-00e0c000 r--p 00006000 08:01 918295 /lib/tls/i686/cmov/librt-2.11.1.so
00e0c000-00e0d000 rw-p 00007000 08:01 918295 /lib/tls/i686/cmov/librt-2.11.1.so
00e5d000-00e62000 r-xp 00000000 08:01 2230597 /usr/lib/xorg/modules/libvgahw.so
00e62000-00e63000 r--p 00004000 08:01 2230597 /usr/lib/xorg/modules/libvgahw.so
00e63000-00e64000 rw-p 00005000 08:01 2230597 /usr/lib/xorg/modules/libvgahw.so
00e76000-00e8b000 r-xp 00000000 08:01 918291 /lib/tls/i686/cmov/libpthread-2.11.1.so
00e8b000-00e8c000 r--p 00014000 08:01 918291 /lib/tls/i686/cmov/libpthread-2.11.1.so
00e8c000-00e8d000 rw-p 00015000 08:01 918291 /lib/tls/i686/cmov/libpthread-2.11.1.so
00e8d000-00e8f000 rw-p 00000000 00:00 0
08048000-081e7000 r-xp 00000000 08:01 1835026 /usr/bin/Xorg
081e7000-081e9000 r--p 0019e000 08:01 1835026 /usr/bin/Xorg
081e9000-081f4000 rw-p 001a0000 08:01 1835026 /usr/bin/Xorg
081f4000-081ff000 rw-p 00000000 00:00 0
09dcf000-09e2c000 rw-p 00000000 00:00 0 [heap]
b76cf000-b76df000 rw-s 000a0000 00:05 974 /dev/mem
b779f000-b77a4000 rw-p 00000000 00:00 0
b77b1000-b77b4000 rw-p 00000000 00:00 0
bfcc3000-bfcd8000 rw-p 00000000 00:00 0 [stack]
Aborted


- Grab log file for above too (xorg.conf.new.log attached)
root@jon-desktop:~/matroxdriver_mga-x86_32-4.4.4# mv /var/log/Xorg.0.log xorg.conf.new.log



- Try out sample files
root@jon-desktop:~/matroxdriver_mga-x86_32-4.4.4/samples# ll
total 32
drwxr-xr-x 2 jon jon 4096 2010-10-12 18:10 ./
drwxr-xr-x 5 root root 4096 2010-10-12 18:19 ../
-rwxr-xr-x 1 jon jon 2317 2006-04-25 13:56 XF86Config.dual*
-rwxr-xr-x 1 jon jon 1957 2006-04-25 13:56 XF86Config.merged*
-rwxr-xr-x 1 jon jon 2371 2006-04-25 13:56 XF86Config.mms-dual*
-rwxr-xr-x 1 jon jon 3696 2006-04-25 13:56 XF86Config.mms-quad*
-rwxr-xr-x 1 jon jon 1708 2006-04-25 13:56 XF86Config.single*
root@jon-desktop:~/matroxdriver_mga-x86_32-4.4.4/samples# cp -p XF86Config.dual XF86Config.dual.jon

- modify XF86Config.dual.jon to specify proper BusID (attached)

- test XF86Config.dual.jon
- log file attached: XF86Config.dual.jon.log
root@jon-desktop:~/matroxdriver_mga-x86_32-4.4.4/samples# X -config `pwd`/XF86Config.dual.jon

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
Current Operating System: Linux jon-desktop 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=e2f838b0-b2fa-49af-8b22-7a1060aa1a19 ro quiet splash
Build Date: 21 July 2010 12:47:34PM
xorg-server 2:1.7.6-2ubuntu7.3 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 12 18:40:41 2010
(++) Using config file: "/root/matroxdriver_mga-x86_32-4.4.4/samples/XF86Config.dual.jon"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"
Parse error on line 16 of section Files in file /root/matroxdriver_mga-x86_32-4.4.4/samples/XF86Config.dual.jon
Ignoring obsolete keyword "RgbPath".
dlopen: /usr/lib/xorg/modules/drivers/mga_drv.so: undefined symbol: resVgaIoShared
(EE) Failed to load /usr/lib/xorg/modules/drivers/mga_drv.so
(EE) Failed to load module "mga" (loader failed, 7)
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

ddxSigGiveUp: Closing log
jonomcclelland
Private
Private
 
Posts: 3
Joined: Mon Jan 01, 2007 2:15 pm
Location: England, UK

Return to Matrox G-Series Cards

Who is online

Users browsing this forum: No registered users and 3 guests

cron