P750 Ubuntu prob

This forum is for all Parhelia based cards (Millenium P650, P690, P750, QID, Parhelia 256, APVe, ...) that need the mtx driver to run properly.

P750 Ubuntu prob

Postby derf » Sun Jun 10, 2007 8:39 am

With great difficulty (don't laugh - this is my first ever Linux box and my first ever attempt at using the terminal let alone installing something)

i managed to get the script/install prog (v1.4.4.9) to run but ... with this cmd and result as i had no idea "where" to extract/run it to - i just created a new folder in my desktop which is where i had d/l'ed the file to:

derf@derf-maison:~$ sudo sh /home/derf/Desktop/matroxdriver_mtx-x86_32-1.4.4.8-installer.run --confirm
Please, enter the directory to extract the files [/home/derf/] temp
Creating directory temp/matroxdriver_mtx-x86_32-1.4.4.8
Verifying archive integrity... All good.
Uncompressing Unofficial Matrox Parhelia Driver by tuxx-home.at...........................................................................................................................................................................

========================================
Matrox Linux Driver Install Script
========================================

./install.sh: line 122: g++: command not found
ldd: ./confapp.bin: No such file or directory
Can't find the X Server version you are currently running (7.2.0) in
this installers database, so for your convenience, I'll try to install
the driver for the latest available version (7.1.0) onto your system.
Basically, it should be compatible to your Xorg version, so it is safe
to hit <RETURN> here.

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...

********
i hit <RETURN>

It then outputted a heap of stuff that i don't understand
e.g.

********
Installing X server driver for X.org 7.1.0

Creating a V4L driver backup file in /usr/share/matrox.

Installing V4L driver for X.org 7.1.0

Messages are being logged in file /tmp/make.log,

etc. etc. etc.

********

So .. my question is... what do i now do to get both the card/ driver and screens to work?

The card is NOT installed at the mo and i have two screens

i would appreciate if possible a complete walk-through or if you can't then a pointer to where i could get one would be most appreciated.

Many thanks
derf
Major
Major
 
Posts: 27
Joined: Sun Jun 10, 2007 8:25 am

Postby tuxx-home.at » Sun Jun 10, 2007 3:37 pm

Well, there's a HOWTO article available in this forum:

[http://matrox.tuxx-home.at/viewtopic.php?t=217]

But you seem to miss some installed packages.

sudo sh /home/derf/Desktop/matroxdriver_mtx-x86_32-1.4.4.8-installer.run --confirm


What's this --confirm for? Where did you read about that argument??

./install.sh: line 122: g++: command not found


That's the problem. You need to install a C++ compiler on your system,
which is called "g++".
As you're using Ubuntu, the command to install g++ should be:

Code: Select all
apt-get install g++


Afterwards, you should be able to compile the bits.
If not, please attach the resulting file /tmp/make.log to your next posting.

So .. my question is... what do i now do to get both the card/ driver and screens to work?


After the installation went fine, you need to modify your /etc/X11/xorg.conf
file to suite your needs. Depending on what you want to achieve, there
are
several sample configuration files available at:

[http://tuxx-home.at/projects/mtx]


If you experience troubles with any of these configuration files or with
a self-built one, please don't forget to attach your /var/log/Xorg.0.log as
well as the used configuration file /etc/X11/xorg.conf to your next posting.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Postby derf » Sun Jun 10, 2007 10:42 pm

tuxx-home.at wrote:Well, there's a HOWTO article available in this forum:

[http://matrox.tuxx-home.at/viewtopic.php?t=217]

Thanks, but i did read this first before starting

sudo sh /home/derf/Desktop/matroxdriver_mtx-x86_32-1.4.4.8-installer.run --confirm

What's this --confirm for? Where did you read about that argument??

Hee hee - is that an :oops: ? It's in your HOWTO in between "--overwrite" and "--keep"

Should i have not used it??
That's the problem. You need to install a C++ compiler on your system,
which is called "g++". As you're using Ubuntu, the command to install g++ should be:

Code: Select all
apt-get install g++



Ah, i was wondering about this but couldn't see any indication that it was missing.

Also, why did your error message say it wanted to put back in the previous vers of X Server? from 7.2.0 to v7.1.0.

Should i have ignored this and not pressed <return> as suggested??
After the installation went fine, you need to modify your /etc/X11/xorg.conf file to suite your needs. Depending on what you want to achieve, there are several sample configuration files available at:

[http://tuxx-home.at/projects/mtx]

If you experience troubles with any of these configuration files or with
a self-built one, please don't forget to attach your /var/log/Xorg.0.log as
well as the used configuration file /etc/X11/xorg.conf to your next posting.


Thanks, will do and i'll let you know either way how it all went
derf
Major
Major
 
Posts: 27
Joined: Sun Jun 10, 2007 8:25 am

Postby tuxx-home.at » Sun Jun 10, 2007 11:14 pm

Thanks, but i did read this first before starting


Alright.

It's in your HOWTO in between "--overwrite" and "--keep"

Should i have not used it??


No, sorry, I shouldn't post immediately after having a beer on a hot summer
day ;)

Also, why did your error message say it wanted to put back in the
previous vers of X Server? from 7.2.0 to v7.1.0.


Well, it doesn't really say so. I know, the wording is bad and therefore
it's fixed in 1.4.4.9 to be a bit more understandable.
It just means that the mtx_drv.so included in the driver package is
compiled for 7.1.0, but your X server version is 7.2.0 and therefore
the script will try to install the 7.1.0 version of the driver onto your 7.2.0
X server.
No X server downgrade, believe me :)
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Postby derf » Mon Jun 11, 2007 7:23 am

Well i'm not sure what to now as the "xorg.conf" "Device" section still shows the "Intel Corporation 82865G Integrated Graphics Controller" as being the one - & not the mtx one that i think i just installed.

Also not sure if you'll be able to d/l this or is it on your server now?

Sorry for being such a newb for an expert such as yourself but, as i said ^, this is the first install of Linux i've ever had running and i'd really like my dual monitors/screens back just like i had under M$ XP

i'll persevere if you will :wink:
Attachments
Xorg.0.log
(63.46 KiB) Downloaded 241 times
xorg.conf
(3.75 KiB) Downloaded 242 times
derf
Major
Major
 
Posts: 27
Joined: Sun Jun 10, 2007 8:25 am

Postby tuxx-home.at » Mon Jun 11, 2007 8:54 am

Well i'm not sure what to now as the "xorg.conf" "Device" section still shows the
"Intel Corporation 82865G Integrated Graphics Controller" as being the one -
& not the mtx one that i think i just installed.


Installation and configuration are two different things. The driver seems to be
installed finally, but now you need to configure your X server to use this driver.

The Intel card seems to be an onboard card in your system and in your
Xorg.0.log I can't see any hint to the Matrox card itself, so: where is it?
Is it possible, that you need to change the graphics device order in your BIOS
to make use of the Matrox card? Can you please post the output of `lspci`
in here?

So, what is it, that you want to achieve? Dualhead cloned, dualhead independent,
what resolutions, what colour depth, etc. etc.?

Also not sure if you'll be able to d/l this or is it on your server now?


Download what? The logfiles? Of course :)
I own them now, they are on _MY_ server and you didn't read the upload
licensing, so from now on till infinity, they belong to me only!!!11

i'll persevere if you will


I will, don't worry.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Postby derf » Mon Jun 11, 2007 9:25 am

tuxx-home.at wrote:Installation and configuration are two different things. The driver seems to be installed finally, but now you need to configure your X server to use this driver.

Ah, didn't know - but of course install and config are 2 separate things - it makes sense.
And glad you could "see" the driver went in OK - i couldn't see it as i didn't know where to "look" to find it.
The Intel card seems to be an onboard card in your system and in your
Xorg.0.log I can't see any hint to the Matrox card itself, so: where is it?
Is it possible, that you need to change the graphics device order in your BIOS to make use of the Matrox card?
Can you please post the output of `lspci` in here?

Yes, it is an onboard card.

No, you couldn't "see" the mtx card as it is not installed at present.
i found that with the previous install with it in first resulted in a complete black screen
(after the install reboot) which i had no idea how to get out of
- and various garbled lines of pixels etc in various random places onscreen
so - removed the Matrox card - plugged one monitor in onboard - reinstalled Ubuntu - again tried to follow your instructions.

There's no option in BIOS for alternating either btw the onboard or any independent card (Intel D865GSA mobo)
- in windoze, if i uninstalled the Matrox driver for any reason it would just naturally revert to windo$e built-in driver, in VGA not DVI!

Thankfully at least, i didn't "bork" it all this time 'round like the first post.

I'll let you know about "lspci" later as am posting this from within XP
So, what is it, that you want to achieve? Dualhead cloned, dualhead independent,
what resolutions, what colour depth, etc. etc.?

At the mo', these BenQ FP202W Digital monitors are working well in dualhead independent
- i.e. #1 Left is the main and, as i do a lot of editing,
i would have e.g. FF browser on the Left,
and/or TB mail or Star Office 8 etc. etc. etc. on #2 Right.

Both are at 1680 x 1050 - tho' not sure of the colour depth.

Download what? The logfiles? Of course :)
I own them now, they are on _MY_ server and you didn't read the upload licensing, so from now on till infinity, they belong to me only!!!11

:twisted: :wink: 8) i had forgotten i signed your EULA :shock:

Thanks for your help
Last edited by derf on Mon Jun 11, 2007 9:55 am, edited 1 time in total.
derf
Major
Major
 
Posts: 27
Joined: Sun Jun 10, 2007 8:25 am

Postby tuxx-home.at » Mon Jun 11, 2007 9:44 am

And glad you could "see" the driver went in OK


Well, I can't really see this, but when you installed g++ after my first answer
and installed the matroxdriver again without error messages, it should be fine.

i couldn't as i didn't know where to "look" to find it.


The most interesting parts would be to check for the existance of:
Code: Select all
/usr/lib/xorg/modules/drivers/mtx_drv.so
/lib/modules/$(uname -r)/kernel/mtx.ko


If these two files are in place, it should be fine.

I'll let you know about "lspci" later as am posting this from within XP


That only makes sense if the Matrox card is already installed then but I
don't need it anymore now that I know that you removed it from your
system (I just thought, it didn't get detected by Xorg anyhow).

Soooo.... Without knowing the BusID of your Matrox card, I can still
provide you with a sample xorg.conf file that should fit your needs. Please
give it a try at your next reboot and report if it worked.
If it doesn't, please attach your /var/log/Xorg.0.log again (generated when
using my configuration file) to your next post.
Attachments
xorg.conf
Example xorg.conf;
Dualhead Independent mode, 1680x1050@24bpp
(3.26 KiB) Downloaded 235 times
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Postby derf » Mon Jun 11, 2007 9:59 am

Muchos gracias for the sample xorg.conf file - will do

i would now assume, no, that i'd open my own xorg.config with Ubuntu's text editor > edit, add, delete mine as required > save > then reboot to effect the changes? Or is it then properly configured without rebooting?

Think i just answered this as after editing>saving, i would have to shutdown, reinstall the card, then boot with this newly configured xorg.conf?

P.S. i notice there's a "#" before your "assumed" BusID location?

Do i remove only this "#" - am thinking this is a "comment" line til we know what the BusID is?

And could i also "add" any other monitor resolution sizes i'd like to have to both "Screen 1" and "Screen 2"?

If so, what is the syntax for additional resolutions?

P.P.S. What's the effect of changing the "DefaultDepth" and/or what could it be changed to from your example?
derf
Major
Major
 
Posts: 27
Joined: Sun Jun 10, 2007 8:25 am

Postby tuxx-home.at » Mon Jun 11, 2007 4:35 pm

i would now assume, no, that i'd open my own xorg.config with Ubuntu's text
editor > edit, add, delete mine as required > save > then reboot to effect the
changes?


Well, actually I did modify the xorg.conf you send me so you don't need
to do this anymore.

Or is it then properly configured without rebooting?


Yes, it is. You simply need to restart your X server, so if the graphical
interface is already up, simply use the keybinding "CTRL-ALT-Backspace"
and the X server will restart.

Think i just answered this as after editing>saving


I've troubles in understanding this sentence, sorry.
BTW: It's not good to edit your previous post because I don't get notified
by e-mail about modified posts and therefore my answer is a little bit late.
Always reply on your own post if you have to add additional information.

P.S. i notice there's a "#" before your "assumed" BusID location?


The BusID option is just commented out because it's the BusID of your
onboard Intel card. As the card was not plugged into your system when
you posted the Xorg.0.log, I was unable to see the BusID.
That doesn't really matter, as Xorg works without specifiying the BusID
too.

Do i remove only this "#" - am thinking this is a "comment" line til we
know what the BusID is?


Yes, '#' comments out the whole line.
Simply leave it as it is currently.

And could i also "add" any other monitor resolution sizes i'd like to have to
both "Screen 1" and "Screen 2"?
If so, what is the syntax for additional resolutions?


Yes, of course.
Simply add them at the end of the Modes option line:

Code: Select all
Section "Screen"
   [...]
   SubSection "Display"
      [...]
      Modes "1680x1050" "1280x1024" "1024x768"
   EndSubSection
EndSection


P.P.S. What's the effect of changing the "DefaultDepth" and/or what could
it be changed to from your example?


By changing the DefaultDepth option, the SubSection with the designated
Depth value gets used.
Currently, there's only one SubSection for 24bpp available, so will either
have to copy it for 16bpp or simply change the 'Depth' option in this
subsection for the new depth.

BTW: I compiled a (currently rather) small HOWTO about writing xorg.conf
files, you should have a look at it:

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

Postby derf » Mon Jun 11, 2007 11:47 pm

tuxx wrote:Well, actually I did modify the xorg.conf you send me so you don't need
to do this anymore.

Thanks, yes you did - much appreciated

Yes, it is. You simply need to restart your X server, so if the graphical
interface is already up, simply use the keybinding "CTRL-ALT-Backspace"
and the X server will restart.


Let me see if i get all the steps chronologically right here ;)

As i'm still in XP writing this, i boot back up into Ubuntu
> download your xorg.conf
> copy it in
> restart X Server
> shut down

but what will happen at this point here if i can't "see"?
i.e. "my" #1 screen & graphics is still the onboard Intel one (ie until the Matrox card is installed) - even tho' both its driver and the xorg.conf file are installed correctly?
How would i shut down with no screen?

> install card
> reboot
> and, fingers crossed, everything should be hunky dory

I've troubles in understanding this sentence, sorry.


Sorry, that's my fault - there's a good bit of a difference btw Euro English and Australian English Syntax :grin: we sometimes write (read me) the way we speak which can be confusing for those not used to our idioms. i'll try and speak more proper like for you from now on :wink:

BTW: It's not good to edit your previous post because I don't get notified
by e-mail about modified posts and therefore my answer is a little bit late.
Always reply on your own post if you have to add additional information.


Apologies - of course this is the way posts should be done

As the card was not plugged into your system when you posted the Xorg.0.log, I was unable to see the BusID.
That doesn't really matter, as Xorg works without specifiying the BusID
too.


So, after adding the Matrox card i'm assuming Xorg will "find" the new Matrox BusID and insert/add its location at this line by itself?

'#' comments out the whole line.
Simply leave it as it is currently.


Would i then have to go back into the xorg.conf and edit out your comment line or is it OK to leave it in as is?

BTW: I compiled a (currently rather) small HOWTO about writing xorg.conf files, you should have a look at it:

Thanks, i read this along with all your other stuff before even starting on this road.

Finally, what would be a simple "recovery" option if, after all of the above, matrox card in, xorg.conf adjusted OK, i still have "black" screens at bootup?
derf
Major
Major
 
Posts: 27
Joined: Sun Jun 10, 2007 8:25 am

Postby tuxx-home.at » Tue Jun 12, 2007 12:00 am

I'd prefer the following:

1. Plug in your Matrox card
2. Boot into Ubuntu

You should still be able to see something, as your current xorg.conf only
mentions the intel card and therefore the Matrox card won't hurt you.

3. Download my xorg.conf file
4. Backup your xorg.conf file (e.g. `cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak`)
5. Install my config file (e.g. `cp /wherever/xorg.conf /etc/X11/xorg.conf`)
6. Keep your fingers crossed
7. Restart the X server

Afterwards you should be able to see something on the Matrox card.
If - for some magic reason - it does _NOT_ work immediately, switch
back to the text console (CTRL-ALT-F1) and do the following:

1. Backup your current logfile for further investigation
(`cp /var/log/Xorg.0.log /somewhere/Xorg.0.log.bak`)
2. Install your old xorg.conf file again
3. Switch to VT7 (ALT+F7) and restart your X server again

How would i shut down with no screen?


You could use the magic sysrq keys:

Code: Select all
ALT+PrintScreen+s
(wait a few seconds)
ALT+PrintScreen+u
(wait a few seconds)
ALT+PrintScreen+b
(reboots)


Don't worry if you can't see any visual or audible feedback when issuing
these keystrokes, they work.

there's a good bit of a difference btw Euro English and Australian English
Syntax


Maybe it's just my poor English that makes me unable to parse your
sentences correctly ;)

So, after adding the Matrox card i'm assuming Xorg will "find" the new
Matrox BusID and insert/add its location at this line by itself?


Xorg doesn't modify your configuration files. Never ever. It'll work without
the option at all as it is good in guessing and autoconfiguration but it will
not tamper your configuration file.
Once you know the BusID, it's always a good idea to add it to your
configuration file, but don't worry about that during your first tries.

Regarding the simple "recovery" option:
If it really doesn't work, boot XP and explain what you can see here and
I'll promise to bring you back on track ;)
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Postby derf » Tue Jun 12, 2007 12:37 am

tuxx-home.at wrote:I'd prefer the following:

1. Plug in your Matrox card
2. Boot into Ubuntu

You should still be able to see something, as your current xorg.conf only
mentions the intel card and therefore the Matrox card won't hurt you.


my inclination is to NOT do steps 3 - 7 after steps 1 & 2 above but to do 3 - 7 THEN do steps 1 & 2

The reason i say this is on my first install try (after the install and the automatic CD reboot) i had the the Matrox card in but was unable to "see" anything properly. i then had to unplug the DVI cables and plug just one VGA cable into the mobo one

Why do you think this had happened?
derf
Major
Major
 
Posts: 27
Joined: Sun Jun 10, 2007 8:25 am

Postby tuxx-home.at » Tue Jun 12, 2007 12:40 am

Why do you think this had happened?


Dunno.

It's also safe to install the xorg.conf first and afterwards plug in your Matrox
card, but basically, it should work either way.

Going to sleep now (it's a little late around here).
Will be back in about 6hours.

gn8
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Postby derf » Tue Jun 12, 2007 12:43 am

hee hee - six hrs gives me plenty of time to try all methods including reinstalls if necessary

Thanks
derf
Major
Major
 
Posts: 27
Joined: Sun Jun 10, 2007 8:25 am

Next

Return to Matrox P-Series Cards

Who is online

Users browsing this forum: No registered users and 3 guests

cron