LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-02-2005, 02:13 PM   #1
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Upgraded X - lost dual monitors


EDITED:
RESOLVED - SEE 3rd POST FOR SOLUTION


-------------------------------------------------

Good afternoon folks,
Had some time this weekend, so I used swaret to do some upgrading.
Solved all the problems except for this one.

Apparently, my old xorg.conf file doesn't work anymore for some reason,
It wouldn't start X at all. So I started from scratch after running xorgconfig,
I went through xorg.conf time and time again. Need some help.
Here are the sections pertaining to video:

Code:
Section "ServerFlags"
     Option "Xinerama" "true"

------------------------------------------

Section "Monitor"
    Identifier  "mymonitor"
    HorizSync   31.5 - 57.0
    VertRefresh 50-70
EndSection

-----------------------------------------

Section "Device"
    Identifier  "myvideo0"
    Driver      "mga"
    #VideoRam    8192
# Option "mga_sdram"
    # Insert Clocks lines here if appropriate
    Screen       0
EndSection

Section "Device"
    Identifier  "myvideo1"
    Driver      "mga"
    #VideoRam    8192
# Option "mga_sdram"
    # Insert Clocks lines here if appropriate
    Screen       1
EndSection

----------------------------------------

Section "Screen"
    Identifier  "Screen 1"
    Device      "myvideo0"
    Monitor     "mymonitor"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Section "Screen"
    Identifier  "Screen 2"
    Device      "myvideo1"
    Monitor     "mymonitor"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

-----------------------------------------

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

    Screen "Screen 1" LeftOf "Screen 2"
    Screen "Screen 2"

-----------------------------------------
Just to avoid confusion, I put the " --------- " lines in to seperate the sections for
easier reading. Anyone know what I'm missing? I am now running xorg 6.8.1.
Thanks a lot, I'll keep trying in the mean time.
-tw

EDIT: I guess I should say, both monitors are working, they are just a mirror image
of eachother - I am not getting 'Xinerama' .

Last edited by tw001_tw; 01-02-2005 at 07:46 PM.
 
Old 01-02-2005, 04:19 PM   #2
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Original Poster
Rep: Reputation: 31
Still have not got it resolved:

Here are a few highlights from my /var/log/Xorg.0.log that may mean something.


==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) | |-->Monitor "mymonitor"
(**) | |-->Device "myvideo0"
(**) |-->Screen "Screen 2" (1)
(**) | |-->Monitor "mymonitor"
(**) | |-->Device "myvideo1"


(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "Xinerama" "true"
(**) Xinerama: enabled


II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="X.Org Foundation"
compiled for 6.8.1, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.7
(--) MGA(0): Chipset: "mgag400" (G450)
(II) Loading sub module "mga_hal"
(II) LoadModule: "mga_hal"
(WW) Warning, couldn't open module mga_hal
(II) UnloadModule: "mga_hal"
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
(==) MGA(0): Matrox HAL module not loaded - using builtin mode setup instead


It never says anything about settting vga for screen 1.

--------------------------------------------------------------------

EDITED - a few hours later:
Well, it just keeps getting better. I am now loading the mga_hal module. Now the
second monitor doesn't even get a siganl, and the system hangs exiting X.

Last edited by tw001_tw; 01-02-2005 at 06:24 PM.
 
Old 01-02-2005, 07:21 PM   #3
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Original Poster
Rep: Reputation: 31
Fixed it:

In case someone needs the solution at a later time:

For whatever reason, after upgrading xorg to 6.8.1, my xorg.conf did not work.
(lost my dual monitors)

I had to get the drivers for the G450 from matrox which are found here:
http://matrox.com/mga/support/drivers/files/lnx_41.cfm

Installed these 2 drivers. (extracted .gz and ran ./install.sh).
I then had a problem of X hanging the system upon exit, but dual monitors worked.
I resolved that by manually replacing the matrox driver with the original driver:

in /usr/X11R6/lib/modules/drivers/
cp mga_drv.o mga_drv.o.matrox_provided
cp mga_drv.o.mgabck.1.0.0 mga_drv.o

This maintains the existance and usage of mga_hal.o, but prevents the hang up that I had.

Also had to get a bit more specific in xorg.conf in the device section:
The " Option "MGASDRAM" " is recommened by matrox.

Code:
Section "Device"
    Identifier  "myvideo1"
    Driver      "mga"
    #VideoRam    16384
     Option "MGASDRAM" 
     BusID       "PCI:1:0:0"
    # Insert Clocks lines here if appropriate
    Screen       0
EndSection

Section "Device"
    Identifier  "myvideo2"
    Driver      "mga"
    #VideoRam    16384
    Option "MGASDRAM"
    BusID       "PCI:1:0:0"
    # Insert Clocks lines here if appropriate
    Screen       1
EndSection
Seems to be OK so far.
-tw
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dual monitors on dual vido cards Spaz17 Linux - Hardware 7 05-04-2006 07:59 AM
Setting up Dual Monitors on GeForce 6600GT dual DVI card. monkiidansu Linux - Hardware 1 09-29-2005 02:21 PM
Dual Monitors miickEe. Linux - Software 4 07-02-2005 06:33 PM
dual monitors, dual video cards, 1 X, 1 text 333333338 Linux - Hardware 0 04-17-2005 04:21 AM
Some Modules Won't Load. Upgraded From 2.4 To 2.6 messiahnet Linux - Software 0 02-10-2005 08:31 PM


All times are GMT -5. The time now is 12:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration