LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-18-2008, 08:40 PM   #16
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128

Quote:
Originally Posted by IsaacKuo View Post
Off the top of my head, I notice that you only have one Device section--for "Card0". If you want to base your solution on mine, then you need TWO card sections. Both will point to your AGP card, but one will specify "Screen 0" while the other one specifies "Screen 1".

This really shouldn't be so hard. Just go through my xorg.conf line by line and try to understand what's going on.

I don't understand why you think your xorg.conf should even work. It looks like it's just sort of slapped together, without any real understanding of what exactly refers to what. You've got two different ServerLayout sections! Do you know what you're doing?

I suggest you do what I did. Do a Google search for an example xorg.conf (or use the one I gave you that I have), and modify it into something that will work for your system.
Do I know what I'm doing? Does it look like it? Haven't I already said its new to me? Didn't I also say I hadn't seen there were 2 serverlayout sections after I posted? Its PC BSD, evidently on configuration it puts the serverlayout at the top of the file, whereas I'm used to it being at the bottom. It never even occured to me to look at the top.

You don't have to tell me I'm being stupid. I've admitted it already. How else will I learn?
------------------------------
I have made some progress. With the xorg.conf posted below I have managed to at least get my main screen working. It forces it into 1280x1024, its only in there because when trying to achieve 1440x900, it said it was out of range. My other screen is on but blank. My mouse on my main screen extends to the right when it should to the left.

I will put in another card section to see if it will work.

Code:
# Xorg.conf file generated for PC-BSD

Section "Files"
    RgbPath         "/usr/local/lib/X11/rgb"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/Programs/fonts/"
    FontPath        "/usr/local/lib/X11/fonts/cyrillic/"
    FontPath        "/usr/local/lib/X11/fonts/TrueType/"
    FontPath        "/usr/local/lib/X11/fonts/webfonts/"
    FontPath        "/usr/local/lib/X11/fonts/misc/"
    FontPath        "/usr/local/lib/X11/fonts/TTF/"
    FontPath        "/usr/local/lib/X11/fonts/Type1/"
    FontPath        "/usr/local/lib/X11/fonts/CID/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
    FontPath        "/usr/local/lib/X11/fonts/100dpi/"
    FontPath        "/usr/local/lib/X11/fonts/dejavu/"
    FontPath        "/usr/local/lib/X11/fonts/local/"
EndSection

Section "Module"
    Load           "ddc"
    Load           "dbe"
    Load           "extmod"
    Load           "xtrap"
    Load           "freetype"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" ""
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Buttons" "6"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Generic Monitor"
    ModelName      "Generic"
    HorizSync    30.0 - 80.0
    VertRefresh  49.0 - 75.0
   #Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    HorizSync    30.0 - 80.0
    VertRefresh  49.0 - 75.0
EndSection


Section "Device"
    Identifier     "Card0"
    Driver         "mga"
    VendorName     "MGA Video Driver"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24 
        Modes      "1280x768" "1280x1024" "1440x900"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Card0"
    Monitor        "Monitor1"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24 
        Modes      "1024x768" "800x600"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Screen0"
    Screen         "Screen1" LeftOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Clone" "off"
    Option         "Xinerama"       "On"
EndSection

Section "DRI"
	Mode	0666
EndSection
 
Old 07-18-2008, 08:52 PM   #17
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Okay, added new card section, same problem with the 1280x1024 resolution, the second monitor is blank, and the mouse disappears to the right instead of left.

Code:
# Xorg.conf file generated for PC-BSD

Section "Files"
    RgbPath         "/usr/local/lib/X11/rgb"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/Programs/fonts/"
    FontPath        "/usr/local/lib/X11/fonts/cyrillic/"
    FontPath        "/usr/local/lib/X11/fonts/TrueType/"
    FontPath        "/usr/local/lib/X11/fonts/webfonts/"
    FontPath        "/usr/local/lib/X11/fonts/misc/"
    FontPath        "/usr/local/lib/X11/fonts/TTF/"
    FontPath        "/usr/local/lib/X11/fonts/Type1/"
    FontPath        "/usr/local/lib/X11/fonts/CID/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
    FontPath        "/usr/local/lib/X11/fonts/100dpi/"
    FontPath        "/usr/local/lib/X11/fonts/dejavu/"
    FontPath        "/usr/local/lib/X11/fonts/local/"
EndSection

Section "Module"
    Load           "ddc"
    Load           "dbe"
    Load           "extmod"
    Load           "xtrap"
    Load           "freetype"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" ""
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Buttons" "6"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Generic Monitor"
    ModelName      "Generic"
    HorizSync    30.0 - 80.0
    VertRefresh  49.0 - 75.0
   #Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    HorizSync    30.0 - 80.0
    VertRefresh  49.0 - 75.0
EndSection


Section "Device"
    Identifier     "Card0"
    Driver         "mga"
    VendorName     "MGA Video Driver"
EndSection

Section "Device"
    Identifier     "Card1"
    Driver         "mga"
    VendorName     "MGA"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24 
        Modes      "1280x768" "1280x1024" "1440x900"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Card1"
    Monitor        "Monitor1"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24 
        Modes      "1024x768" "800x600"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Screen0"
    Screen         "Screen1" LeftOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Clone" "off"
    Option         "Xinerama"       "On"
EndSection

Section "DRI"
	Mode	0666
EndSection
 
  


Reply



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
Xorg with 8 monitors. Help me leon84 Linux - Software 4 01-14-2008 08:39 AM
Set up Xorg for 2 Monitors (not at same time) Optimistic Linux - Hardware 3 11-04-2006 05:23 AM
xorg.conf - Dual Monitors rizhun Linux - Hardware 0 04-14-2006 10:47 AM
Xorg (XFree86) multiple sessions/monitors Hexane Linux - Software 0 02-01-2005 03:24 PM
xorg + Radeon 9800... dual monitors? Gunark Linux - Hardware 3 05-21-2004 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration