P650 driver on Ubuntu 8.10 (2.6.27-7) fails to compile?

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

Re: P650 driver on Ubuntu 8.10 (2.6.27-7) fails to compile?

Postby diginux » Thu Oct 30, 2008 12:28 pm

I was able to downgrade xorg on Intrepid to 7.3

I would only try this if you know what you are doing.

I used the following command:
Code: Select all
sudo apt-get install xorg=1:7.3+10ubuntu10.2 xserver-xorg=1:7.3+10ubuntu10.2 x11-xkb-utils=7.3+1 xserver-xorg-core=2:1.4.1~git20080131-1ubuntu9.2 x11-common=1:7.3+10ubuntu10.2 xserver-xorg-input-mouse=1:1.2.3-2 xserver-xorg-input-kbd=1:1.2.3ubuntu1


I then used synaptic to lock the versions of those programs. I am not sure how else to lock program versions, but I know there is way from the command line. Anyways, that solved the problem of running the mtx driver on Ubuntu Intrepid.

I should note, I did modify the Makefile as suggested above as well, and one thing I ran into is you have to run ./install.sh, not sh install.sh, which throws a bunch of errors.
diginux
Private
Private
 
Posts: 5
Joined: Thu Jun 19, 2008 1:22 am

Re: P650 driver on Ubuntu 8.10 (2.6.27-7) fails to compile?

Postby tuxx-home.at » Thu Oct 30, 2008 12:43 pm

Great, thanks for this howto!

Just a few additions:
sh on ubuntu is /bin/dash and that's the problem, so 'bash ./install.sh' would have worked too.

To put packages on hold from the commandline, one can use the following command:

dpkg --set-selections

Now enter the names of the packages one per line plus the word "hold" and when you're done, hit ctrl-d, f.ex.:

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

Re: P650 driver on Ubuntu 8.10 (2.6.27-7) fails to compile?

Postby diginux » Thu Oct 30, 2008 2:42 pm

I need to add one more note to my instructions above.

You need to edit /etc/apt/sources.list to put the hardy repos back.

The easiest way is to just duplicate each line in sources.list and on that duplicated line change intrepid to hardy. Make sure to keep the intrepid repos too, don't just change them to hardy.
diginux
Private
Private
 
Posts: 5
Joined: Thu Jun 19, 2008 1:22 am

Re: P650 driver on Ubuntu 8.10 (2.6.27-7) fails to compile?

Postby Pancho » Wed Nov 19, 2008 12:18 am

In the meantime I succeeded in downgrading Xorg on my (Kubuntu) Intrepid.

Of some help was this howto. However,
  1. I used a more low-level method to remove the packages:
    Code: Select all
    dpkg --force-depends -r xorg
    dpkg --force-depends -r xserver-xorg
    dpkg --force-depends -r xserver-xorg-core
    dpkg --force-depends -r xserver-xorg-input-mouse
    dpkg --force-depends -r xserver-xorg-input-kbd
    dpkg --force-depends -r x11-common
    dpkg --force-depends -r x11-xkb-utils
  2. After replacing "intrepid" by "hardy" in /etc/apt/sources.list, I reinstalled the Hardy versions:
    Code: Select all
    apt-get install xorg xserver-xorg xserver-xorg-core xserver-xorg-input-mouse xserver-xorg-input-kbd x11-xkb-utils
  3. To make these Hardy packages be held (whatever upgrades are performed later), I used dpkg as described by tuxx-home.at below:
    Code: Select all
    dpkg --set-selections
  4. I recovered my old /etc/apt/sources.list and performed a safe-upgrade:
    Code: Select all
    aptitude update
    aptitude safe-upgrade
Note, that I don't say this is the better way to downgrade the packages - it just might be an alternative.

As Intrepid is not shipped with an (old-style) Xorg.conf by default, I created a basic new one: (Note that you will need to change at least "XkbLayout" and "XkbVariant" for non-German keyboards.)
Code: Select all
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
        Option          "XkbVariant"    "nodeadkeys"
        Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
        Driver          "vesa"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Configured Video Device"
        Monitor         "Configured Monitor"
        DefaultDepth 24
        SubSection "Display"
                Depth   24
                Modes   "1280x1024"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
EndSection

After all I still had a keyboard problem with non-functioning cursor and PgUp/PgDn keys. I wonder if not more of you guys ran into this problem...? Luckily, I found both the reason and the fix here:
That sounds like it could be evdev taking over the keyboard and ignoring your xorg.conf setup

Intrepid (in the contrary to Hardy) seems to use evdev, which "overwrites" the xorg.conf settings.
To be 100% sure, I removed the package xserver-xorg-input-evdev:
Code: Select all
apt-get remove xserver-xorg-input-evdev
which resulted in a perfectly working system. :)

That's been the downgrading stuff, which should be followed by compiling and installing the "mtx" driver V.1.4.6.2 (which has been described earlier in this thread).
Pancho
Private
Private
 
Posts: 4
Joined: Thu Oct 16, 2008 2:23 am

Re: P650 driver on Ubuntu 8.10 (2.6.27-7) fails to compile?

Postby diginux » Wed Feb 11, 2009 8:55 pm

I just wanted to add that I have updated to Jaunty Beta, and the same method of getting my card to work in Ibex works for Jaunty. You simply add the hardy sources back in /etc/apt/sources.list then run

Code: Select all
apt-get install xorg=1:7.3+10ubuntu10 xserver-xorg=1:7.3+10ubuntu10 x11-xkb-utils=7.3+1 xserver-xorg-core=2:1.4.1~git20080131-1ubuntu9.2 x11-common=1:7.3+10ubuntu10 xserver-xorg-input-mouse=1:1.2.3-2 xserver-xorg-input-kbd=1:1.2.2-3ubuntu1


Make sure to lock the versions once done(even if you locked them before, after updating to Jaunty it forgot about the locks).
diginux
Private
Private
 
Posts: 5
Joined: Thu Jun 19, 2008 1:22 am

Re: P650 driver on Ubuntu 8.10 (2.6.27-7) fails to compile?

Postby tuxx-home.at » Wed Feb 11, 2009 9:03 pm

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

Previous

Return to Matrox P-Series Cards

Who is online

Users browsing this forum: No registered users and 6 guests

cron