Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Transition from XFree86 4.3.0 to X.org 6.7.0

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
tuleyjm
n00b
n00b
Posts: 10
Joined: Sat Jul 03, 2004 5:02 pm

Transition from XFree86 4.3.0 to X.org 6.7.0

  • Quote

Post by tuleyjm » Thu Oct 21, 2004 6:29 am

Hello,

I would like to switch my machine (an IBM R40 laptop with an ATI 7500 Mobility) to X.org (I have it on another computer, and it seems faster and also appears to render fonts better -- or maybe that's just the choice of font packages).

However, I use this machine in a dual-monitor setup with the internal LCD (1400x1050 native) as the primary screen and an external LCD (1024x768 native). Under XFree I have no problems with this. But with X.org, the laptop screen is completely shut off (backlight too!) and the external gets the 14x10 input (which it doesn't like very much).

I've tried several things, including using xorgconfig to set up the initial setup for the internal screen, then adding in the definitions for the second and the extra monitor; using my old XF86Config directly; and reading man xorg.conf to see where the syntax might differ (if it does for this, I can't find it).

Here's my (working) XF86Config (which I've reverted to for now, until I can re-emerge xorg-x11 with an expectation of it working properly):

Code: Select all

Section "ServerLayout"
   Identifier     "DualHead"
   Screen      0  "Screen0" LeftOf "Screen1"
   Screen      1  "Screen1" 1400 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
   Option      "Xinerama"
EndSection

Section "ServerLayout"
 Identifier "UniHead"
 Screen  0 "Screen0"
 InputDevice "Mouse0" "CorePointer"
 InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
   Load  "record"
   Load  "extmod"
   Load  "dbe"
   Load  "dri"
   Load  "glx"
   Load  "xtrap"
   Load  "type1"
   Load  "speedo"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "keyboard"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "IMPS/2"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Laptop Monitor"
   ModelName    "IBM R40"
   HorizSync    31.5 - 48.5
        VertRefresh  40.0 - 70.0
        Option       "dpms"
EndSection

Section "Monitor"
   Identifier   "Monitor1"
   VendorName   "IBM"
   ModelName    "IBM ThinkVision L150"
   HorizSync    31.5 - 48.5
        VertRefresh  40.0 - 70.0
        Option       "dpms"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "radeon"
   VendorName  "ATI Technologies Inc"
   BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
   VideoRam    32768
   BusID       "PCI:1:0:0"
   Screen      0
EndSection
       
Section "Device"   
   Identifier  "Card1"
   Driver      "radeon"
   VendorName  "ATI Technologies Inc"
   BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
   VideoRam    32768
   BusID       "PCI:1:0:0"
   Screen      1
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth  24
   SubSection "Display"
      Depth     24
      Modes     "1400x1050"
   EndSubSection
EndSection

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


Section "DRI"
   Group 0
   Mode 0666
EndSection
Thanks for everyone's help!!

--John
Top
fourhead
l33t
l33t
User avatar
Posts: 875
Joined: Wed Sep 03, 2003 9:17 pm
Location: Cologne, Germany

  • Quote

Post by fourhead » Thu Oct 21, 2004 1:26 pm

I'm not sure if your ATI chipset is supported, but if yes, I'd strongly recommend you to use ati-drivers instead. They come with a tool called "fglrxconfig" that just asks you a few questions about your setup (including dual-head setups) and creates a proper xorg.conf. Works perfectly here.

Tom
Top
tuleyjm
n00b
n00b
Posts: 10
Joined: Sat Jul 03, 2004 5:02 pm

  • Quote

Post by tuleyjm » Thu Oct 21, 2004 5:46 pm

ati-drivers is unfortunately for the 8500 and up, so I'm stuck with the generic radeon drivers.

However, you do have a good idea: I could possibly use the config script you mention to build a dual-head config and then swap out all of the stuff specific to ati-drivers. I'll have to try that after class today.

Thanks!
--John
Top
Dolemite
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Mon Jul 05, 2004 7:49 am
Location: Where the pirates hang out

  • Quote

Post by Dolemite » Sat Oct 23, 2004 7:40 pm

Did it work Tuley? I had dual head working in Xorg but XimianOpenOffice and Firefox and Nautilus and Gnome 2.6 in general became unuseable. Im back with Xfree4.3. I had Xorg working well in slackware w/ dropline gnome.
Ill post my working xorg.confdualhead if u want it. I use it for 1400x1050 on laptop lcd and 1600x1200 on crt. this is for M7 radeon with 32mb ram
Linux 0mega 2.6.8.1-cko8
----------------------------
Screenshot http://dolemite777.spymac.net/shot1.png
-----------------------------
update - ubuntu is ok but I hate debian and I dislike precompiled shit that doesnt work
Top
tuleyjm
n00b
n00b
Posts: 10
Joined: Sat Jul 03, 2004 5:02 pm

  • Quote

Post by tuleyjm » Sat Oct 23, 2004 8:07 pm

I haven't had the free couple of hours required to re-emerge Xorg and try the new config. It's midterm week(s) here, but I may get a chance to try that later tonight. It's now the least of my concerns, because I'm having trouble with permissions on certain files (not even sure which!), so my system is not completely useable right now. (That's a topic for a different thread, though).

What do you mean by the programs "becoming unuseable?" I have another machine using X.org and it runs Firefox without issues. I'm using KDE (3.3), not Gnome, and I don't use Ximian or OpenOffice (Kontact and Emacs/LaTeX instead), so maybe I haven't experienced trouble for those reasons.

If you would be willing to post your xorg.conf for a dual-head system, that'd be awesome, thanks.

--John
Top
Dolemite
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Mon Jul 05, 2004 7:49 am
Location: Where the pirates hang out

  • Quote

Post by Dolemite » Sat Oct 23, 2004 10:14 pm

tuleyjm wrote:I haven't had the free couple of hours required to re-emerge Xorg and try the new config. It's midterm week(s) here, but I may get a chance to try that later tonight. It's now the least of my concerns, because I'm having trouble with permissions on certain files (not even sure which!), so my system is not completely useable right now. (That's a topic for a different thread, though).

What do you mean by the programs "becoming unuseable?" I have another machine using X.org and it runs Firefox without issues. I'm using KDE (3.3), not Gnome, and I don't use Ximian or OpenOffice (Kontact and Emacs/LaTeX instead), so maybe I haven't experienced trouble for those reasons.

If you would be willing to post your xorg.conf for a dual-head system, that'd be awesome, thanks.

--John
Yeah midterms are a better thing to deal with than xorg :)

Ximian OO and firefox and random gnome apps would just crash- I saw other people with the same issues in the forum and I have an idea about fixing it without recompiling but I already went back to xfree because at the time I was looking at emerging OO again and basically I was trying to do all that for transset- definitely not worth it.


Here's my dualhead xorg.conf- i emerged ati-gatos which requires the sdk useflag and synaptics-
without ati-gatos there's no 3d and without synaptics driver installed make sure to change the mouse section because it will crash xorg if it can't find it.
I noticed you didnt have your touchpad setup in your xorg, in case you didnt know- synaptics will enable the touchpad on your laptop to be able to doubleclick by tapping and enable extra functions like scrolling and corner special actions - u need event interface too in your kernel though-
I know some people hate double click on the touchpad.

Code: Select all

Section "ServerLayout"
	Identifier	"Dual"
	Screen     0  "Screen0" RightOf "Screen 1"
	Screen     1  "Screen1" 0 0
	InputDevice "Mouse1" "CorePointer"
        InputDevice "Mouse2" "AlwaysCore"
        InputDevice "Keyboard1" "CoreKeyboard"
	Option	"Xinerama" "on"
	Option  "Clone" "off"
EndSection


Section "Module"

    Load        "dbe"  	# Double buffer extension
 SubSection  "extmod"
 EndSubSection
    Load        "type1"
    Load	"record"
    Load       	"freetype"
    Load       	"glx"
    Load       	"xtrap"
    Load       	"dri"
    Load       	"GLcore"
EndSection

Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"


#    ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "ServerFlags"


EndSection

### had to be modified 
Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"us"
EndSection


Section "InputDevice"

Identifier "Mouse1"
Driver "synaptics"
Option "Protocol" "auto-dev"
Option "Edges" "1900 5400 1900 4000"
Option "Finger" "25 30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "false"
Option "Emulate3Timeout" "70"

EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Device" "/dev/psaux"
Option "Protocol" "Auto"
Option "ZaxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier  "tft"
    HorizSync   30-75
    VertRefresh 50-85
EndSection

Section "Monitor"
    Identifier "panasonic"
    HorizSync	30-95
    VertRefresh 50-160
EndSection 


Section "Device"
    Identifier  "radeon0"
    Driver      "radeon"
    VideoRam    32768
    Option	"AGPMode" "4"
    Option	"AGPSize" "64"
    Option	"AGPFastWrite" "1"
    Option      "EnablePageFlip" "on"
    #Option "MonitorLayout" "CRT, NONE"
    Screen 0
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier  "radeon1"
    Driver      "radeon"
    VideoRam    32768
    Option	"AGPMode" "4"
    Option	"AGPSize" "64"
    Option	"AGPFastWrite" "1"
    Option      "EnablePageFlip" "on"
    #Option "MonitorLayout" "CRT, NONE"
    Screen 1
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier  "Screen 0"
    Device      "radeon0"
    Monitor     "tft"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1400x1050" 
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "radeon1"
    Monitor     "panasonic"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1600x1200" 
    EndSubsection
EndSection


Section "DRI"
Mode 0666
EndSection
Linux 0mega 2.6.8.1-cko8
----------------------------
Screenshot http://dolemite777.spymac.net/shot1.png
-----------------------------
update - ubuntu is ok but I hate debian and I dislike precompiled shit that doesnt work
Top
tuleyjm
n00b
n00b
Posts: 10
Joined: Sat Jul 03, 2004 5:02 pm

  • Quote

Post by tuleyjm » Sun Oct 31, 2004 6:25 am

I appreciate your xorg.conf file ... but it unfortunately hasn't solved the problem. Whenever I run startx, or even

Code: Select all

 startx -- -layout DualScreen 
, the external monitor is set to the primary and the TFT is turned off. This is even with a fresh install of Gentoo (not because of this; I was having other problems as well -- and this time, I went straight for X.org instead of Xfree, so there's no lingering junk from a previous install.

Here's my revised file:

Code: Select all

Section "ServerLayout"
        Identifier      "DualScreen"
        Screen  0       "Screen0" LeftOf "Screen1"
        Screen  1       "Screen1" 1400 0
        InputDevice     "Mouse0"        "CorePointer"
        InputDevice     "Keyboard0"     "CoreKeyboard"
        Option          "Xinerama"      "on"
        Option          "Clone"         "off"
EndSection

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
#       Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
        Load  "GLcore"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc101"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZaxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "IBM"
        ModelName    "R40 TFT"
        HorizSync    31.5-48.5
        VertRefresh  40.0-70.0
        Option       "dpms"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "IBM"
        ModelName    "ThinkVision L150"
        HorizSync    31.5-48.5
        VertRefresh  40.0-70.0
        Option       "dpms"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
        BusID       "PCI:1:0:0"
        VideoRam    32768
        Option      "AGPMode" "4"
        Option      "AGPSize" "64"
        Option      "AGPFastWrite" "1"
        Option      "EnablePageFlip" "on"
        Screen      0
EndSection

Section "Device"
        Identifier  "Card1"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
        BusID       "PCI:1:0:0"
        VideoRam    32768
        Option      "AGPMode" "4"
        Option      "AGPSize" "64"
        Option      "AGPFastWrite" "1"
        Option      "EnablePageFlip" "on"
        Screen      1
EndSection


Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth     24
                Modes     "1400x1050"
        EndSubSection
EndSection

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

Section "DRI"
        Group 0
        Mode  0666
EndSection
Top
Post Reply

7 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic