mga driver on fedora 8

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

mga driver on fedora 8

Postby tiepolo » Fri Jan 11, 2008 11:05 am

Hello,

I'm tring to use the mga driver on fedora 8 (G550), but charging the driver i have the following error :

undefined symbol xf86screenindex

failed to load driver

failed to load module

from the forum the problem seems to be a library, libglx.so, but the link to the corresponding page of the FAQ is broken

Could you please address me to the correct HOW TO?

Thanks,

Paolo
tiepolo
Major
Major
 
Posts: 44
Joined: Wed Nov 14, 2007 7:30 pm

Re: mga driver on fedora 8

Postby tuxx-home.at » Fri Jan 11, 2008 11:11 am

undefined symbol xf86screen index


Can I please see your /etc/X11/xorg.conf and /var/log/Xorg.0.log files?

from the forum the problem seems to be a library, libglx.so, but the link to the corresponding page of the FAQ is broken


I know, unfortunately the upgrade process to phpBB3 didn't convert in-forum links to the new domain (well, it wasn't supposed
to do so). By now I had no time to fix this, but if you tell me where you found it, I'll fix the link manually.

I think the broken link points to matrox.tuxx-home.at/viewtopic.php?something. Simply replace the "matrox.tuxx-home.at"
with "forum.tuxx-home.at" and the link is working again.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: mga driver on fedora 8

Postby tiepolo » Fri Jan 11, 2008 11:29 am

viewtopic.php?f=2&t=55&p=334&hilit=undefined+symbol#p334

this is the link;

i'm posting the file in a few minutes

thx!
tiepolo
Major
Major
 
Posts: 44
Joined: Wed Nov 14, 2007 7:30 pm

Re: mga driver on fedora 8

Postby tuxx-home.at » Fri Jan 11, 2008 11:43 am

Thanks, I updated the links to the FAQ entries.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: mga driver on fedora 8

Postby tiepolo » Fri Jan 11, 2008 11:45 am

here the files

thx

Paolo
Attachments
Xorg.0.log
(32.5 KiB) Downloaded 362 times
xorg.conf
(879 Bytes) Downloaded 353 times
tiepolo
Major
Major
 
Posts: 44
Joined: Wed Nov 14, 2007 7:30 pm

Re: mga driver on fedora 8

Postby tuxx-home.at » Fri Jan 11, 2008 12:11 pm

(EE) Unable to locate/open config file


Where is your config file located??
The X server can't find your config file...

BTW: Are you sure that you installed the unofficial mga driver on your system?
mga 4.4.3 does _NOT_ need to import the xf86ScreensIndex symbol, whereas the Xorg mga driver v1.4.7 does,
so I think you're using the Xorg mga driver (maybe provided by the default installation of your distribution).

AFAICS, Xorg mga 1.4.7 is not compatible anymore with Xorg 1.4.99 (a very new, maybe even beta?) release
you're using. There's an experimental mga driver update available on packages.debian.org (1.9, IIRC) that
should work with your X server version, but I'd suggest to install the unofficial mga driver properly onto
your system and things should start working for you.

Don't forget to add the "IgnoreABI" option to your xorg.conf or to start your X server with the -ignoreABI
command line switch as mentioned in the following FAQ:

[http://forum.tuxx-home.at/viewtopic.php?f=10&t=78]
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: mga driver on fedora 8

Postby tiepolo » Fri Jan 11, 2008 12:42 pm

1) I made the installation of the unofficial driver as i did it for my other distros, ubuntu & debian - i can't see how it is that it didn't work and how to do a correct installation if it is so;

2) for some strange reason it now works with 1 monitor (it didn't reinstall), but it doesn't if i change the xorg.conf to work with 2 monitor (same problem undefined symbol)

3) i can' t correct the -ignore-ABI in the files (they look very different) - how can i put it in xorg.conf?

thx
tiepolo
Major
Major
 
Posts: 44
Joined: Wed Nov 14, 2007 7:30 pm

Re: mga driver on fedora 8

Postby tiepolo » Fri Jan 11, 2008 12:50 pm

4) i followed the procedure, for substituting libglx.so with the one working with the unofficial driver, but after extraction i wasn't able to find the openg16/libglx.so to copy..
tiepolo
Major
Major
 
Posts: 44
Joined: Wed Nov 14, 2007 7:30 pm

Re: mga driver on fedora 8

Postby tuxx-home.at » Fri Jan 11, 2008 1:33 pm

1) I made the installation of the unofficial driver as i did it for my other distros, ubuntu & debian - i can't see how it is that it didn't work and how to do a correct
installation if it is so;


You could check the filesize and/or md5sum of the file /usr/lib/xorg/modules/drivers/mga_drv.so. 4.4.3 binary package has the following sizes/sums:

Code: Select all
tuxx@vi-edv003:/tmp/matroxdriver_mga-x86_32-4.4.3/xserver/7.1.0$ ls -l
total 1164
-rw-r--r-- 1 tuxx tuxx 230234 Apr 25  2006 mga_drv.o
-rwxr-xr-x 1 tuxx tuxx 179596 Jan  3  2007 mga_drv.so
-rw-r--r-- 1 tuxx tuxx 367476 Apr 25  2006 mga_hal_drv.o
-rwxr-xr-x 1 tuxx tuxx 392051 Apr 25  2006 mga_hal_drv.so
tuxx@vi-edv003:/tmp/matroxdriver_mga-x86_32-4.4.3/xserver/7.1.0$ md5sum *
de8261b0a94fe6510c59142e9e86eac6  mga_drv.o
307d30a1ea10a25ee1ed928bacdffb41  mga_drv.so
debb5fa3afa73867645018b38f113218  mga_hal_drv.o
233b308ec0d13825573fcb0cb3554b5a  mga_hal_drv.so
tuxx@vi-edv003:/tmp/matroxdriver_mga-x86_32-4.4.3/xserver/7.1.0$


2) for some strange reason it now works with 1 monitor (it didn't reinstall), but it doesn't if i change the xorg.conf to work with 2 monitor (same problem
undefined symbol)


Can I see the Xorg.0.log files for both runs? Once when you try to run the singlehead setup and the one when you tried to run the dualhead setup.

3) i can' t correct the -ignore-ABI in the files (they look very different) - how can i put it in xorg.conf?


Ah, good point. I adopted the FAQ entry mentioned above to mention this approach too. Here's the relevant information:

On recent Xorg versions, adding the following option to your ServerFlags section in xorg.conf might work:

Code: Select all
Section "ServerFlags"
       Option "IgnoreABI" "True"
EndSection


4) i followed the procedure, for substituting libglx.so with the one working with the unofficial driver


Attention! Copying over the libglx.so file is only valid for the MTX (P-Series cards) driver. Don't mix them up, please.
The mga driver has no third party OpenGL implementation and therefore you don't need to do this at all.

The only files that will get installed by the unofficial mga driver are mga_drv.so and mga_hal_drv.so and both of them
will be placed in /usr/lib/xorg/modules/drivers.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: mga driver on fedora 8

Postby tiepolo » Fri Jan 11, 2008 3:54 pm

4) abandoned
3) executed

1) -rwxr-xr-x 1 root root 179596 3 gen 2007 mga_drv.so
-rwxr-xr-x 1 root root 392051 25 apr 2006 mga_hal_drv.so
the modules are correct (no changes)

2) after restart with --ignore-ABI i do not have the same error; the server x works but with only 1 screen (the other is black)

the keybord is not correct;

i copied the xorg.conf (more or less) from my working dual head ubuntu
Attachments
Xorg.0.log
(32.5 KiB) Downloaded 365 times
xorg.conf
(1.79 KiB) Downloaded 348 times
tiepolo
Major
Major
 
Posts: 44
Joined: Wed Nov 14, 2007 7:30 pm

Re: mga driver on fedora 8

Postby tuxx-home.at » Fri Jan 11, 2008 4:39 pm

Your X server still doesn't read your configuration file.

Could you please try to manually start your X server and point it to the correct configuration file?

Code: Select all
X -config /path/to/your/xorg.conf -verbose


Get me the logfile /var/log/Xorg.0.log afterwards.
And please post the output of the following command:

Code: Select all
nm /usr/lib/xorg/modules/drivers/mga_drv.so


the keybord is not correct;


That's obvious, because without having a configuration file, the X server defaults to the english keyboard layout.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: mga driver on fedora 8

Postby tiepolo » Fri Jan 11, 2008 5:05 pm

the X -config does not work (can not find mga)

the nm instructions gives no symbols
Attachments
Xorg.0.log
(32.63 KiB) Downloaded 328 times
tiepolo
Major
Major
 
Posts: 44
Joined: Wed Nov 14, 2007 7:30 pm

Re: mga driver on fedora 8

Postby tuxx-home.at » Fri Jan 11, 2008 5:14 pm

What logfiles is this now? This is not the logfile from the `X -config ...` run, isn't it? Because in the latest logfile you posted, the X server is still unable to
find your configuration file and it should _NEVER_ do this when you tell it the path to the configuration file via command line options.

Could you please run the following command and send me the generated file "/tmp/X.out"?
Don't forget to substitute "/path/to/your/xorg.conf" with the real location of your xorg.conf.

Code: Select all
X -config /path/to/your/xorg.conf -verbose >/tmp/X.out 2>&1


the nm instructions gives no symbols


That's what it is supposed to when using the unofficial mga driver.
Basically that means that the mga driver does not import nor export any symbols to or from other libraries and therefore it might _NEVER_ come to
the error message in your logfile. That's really weird.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: mga driver on fedora 8

Postby tiepolo » Fri Jan 11, 2008 5:26 pm

here the file...
Attachments
X.out
(11.56 KiB) Downloaded 361 times
tiepolo
Major
Major
 
Posts: 44
Joined: Wed Nov 14, 2007 7:30 pm

Re: mga driver on fedora 8

Postby tuxx-home.at » Fri Jan 11, 2008 5:36 pm

It's getting weirder every minute.
Please post the output of the following commands:

Code: Select all
ls -lad /
ls -lad /etc
ls -lad /etc/X11
ls -la /etc/X11/xorg.conf
lsattr /etc/X11/xorg.conf
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Next

Return to Matrox G-Series Cards

Who is online

Users browsing this forum: No registered users and 4 guests

cron