You are not logged in.

#1 2007-06-14 13:15:26

Newnux
Member
Registered: 2007-06-13
Posts: 59

[Solved] ATI & Xorg

Hello, I'm new to both Archlinux and Linux itself.  I have slight experience (a few days) with more GUI-based distros, but nothing above that.  I have managed to install Archlinux with X and KDE, and all was well until I tried installing the ATI proprietary drivers.

At the moment, I am running on an Ubuntu LiveCD because I cannot access Archlinux.  I have no display when X loads, apparently because I switched the driver to fglrx.  I do not know how to startup without X running, so I am unable to change this back at the moment.  I'm sure there's a way, but I sure can't do it on Ubuntu.  What I can do is present my xorg.conf, because I think it's pretty messed up (see below).

I tried searching around a little, placing fglrx to load as a module in rc.conf (if I remember correctly) and so I believe fglrx should be working fine that way.  Now I'm just thinking I've severely messed something up.  I'd like to state more of my problem, but I lack the knowledge and I can't login to Arch, so I think that would be the first step.

In case it's needed, my relevant specs are:
ATI Radeon 9800 Pro
AG Neovo F-419 19" TFT Monitor

Thanks in advance!

# Auto-generated by Archie mkxcfg
# Auto-generated by Archie mkxcfg

Section "ServerLayout"

# PS/2 Mouse not detected
# Serial Mouse not detected
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "Files"

# Additional fonts: Locale, Gimp, TTF...
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
    FontPath     "/usr/share/fonts/cyrillic"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
    Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "extmod"
    Load  "glx"
    Load  "dri"
    Load  "drm"
    Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "ServerFlags"
    Option        "AllowMouseOpenFail" "true"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "gb"
    Option        "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option        "Protocol" "Microsoft"
    Option        "Device" "/dev/ttyS0"
    Option        "Emulate3Buttons" "true"
    Option        "Emulate3Timeout" "70"
    Option        "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "ZAxisMapping" "4 5"
    Option        "Device" "/dev/psaux"
    Option        "Emulate3Buttons" "true"
    Option        "Emulate3Timeout" "70"
    Option        "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier  "USB Mouse"
    Driver      "mouse"
    Option        "Device" "/dev/input/mice"
    Option        "SendCoreEvents" "true"
    Option        "Protocol" "IMPS/2"
    Option        "ZAxisMapping" "4 5"
    Option        "Buttons" "5"
EndSection

Section "Monitor"

#    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    #  Default modes distilled from
    #      "VESA and Industry Standards and Guide for Computer Display Monitor
    #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
    #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
    # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
    Identifier   "Monitor0"
    VertRefresh  50.0 - 75.0
    ModeLine     "640x350" 31.5 640 672 736 832 350 382 385 445 +hsync -vsync
    ModeLine     "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
    ModeLine     "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
    ModeLine     "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    ModeLine     "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    ModeLine     "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    ModeLine     "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
    ModeLine     "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    ModeLine     "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    ModeLine     "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    ModeLine     "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    ModeLine     "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
    ModeLine     "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync interlace
    ModeLine     "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    ModeLine     "1024x768" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    ModeLine     "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    ModeLine     "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
    ModeLine     "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    ModeLine     "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
    ModeLine     "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
    ModeLine     "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine     "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine     "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    ModeLine     "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
    ModeLine     "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
    ModeLine     "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
    ModeLine     "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
    ModeLine     "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
    ModeLine     "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
    ModeLine     "1800x1440" 230.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine     "1800x1440" 250.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine     "640x480" 43.2 640 680 744 848 480 481 484 509 -hsync +vsync
    ModeLine     "768x576" 35.0 768 792 872 976 576 577 580 597 -hsync +vsync
    ModeLine     "768x576" 42.9 768 800 880 992 576 577 580 601 -hsync +vsync
    ModeLine     "768x576" 45.5 768 808 888 1008 576 577 580 602 -hsync +vsync
    ModeLine     "768x576" 51.8 768 808 888 1008 576 577 580 605 -hsync +vsync
    ModeLine     "768x576" 62.6 768 816 896 1024 576 577 580 611 -hsync +vsync
    ModeLine     "800x600" 68.2 800 848 936 1072 600 601 604 636 -hsync +vsync
    ModeLine     "1024x768" 113.3 1024 1096 1208 1392 768 769 772 814 -hsync +vsync
    ModeLine     "1152x864" 81.6 1152 1216 1336 1520 864 865 868 895 -hsync +vsync
    ModeLine     "1152x864" 119.7 1152 1224 1352 1552 864 865 868 907 -hsync +vsync
    ModeLine     "1152x864" 143.5 1152 1232 1360 1568 864 865 868 915 -hsync +vsync
    ModeLine     "1280x960" 124.5 1280 1368 1504 1728 960 961 964 1001 -hsync +vsync
    ModeLine     "1280x960" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    ModeLine     "1280x960" 179.0 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync
    ModeLine     "1280x1024" 191.0 1280 1376 1520 1760 1024 1025 1028 1085 -hsync +vsync
    ModeLine     "1400x1050" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    ModeLine     "1400x1050" 149.3 1400 1496 1648 1896 1050 1051 1054 1094 -hsync +vsync
    ModeLine     "1400x1050" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
    ModeLine     "1400x1050" 179.3 1400 1504 1656 1912 1050 1051 1054 1103 -hsync +vsync
    ModeLine     "1400x1050" 214.4 1400 1512 1664 1928 1050 1051 1054 1112 -hsync +vsync
    ModeLine     "1600x1200" 280.6 1600 1728 1904 2208 1200 1201 1204 1271 -hsync +vsync
    Option        "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "fglrx
    VendorName  "All"
    BoardName   "All"
    Option        "XAANoOffscreenPixmaps" "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth     16
    SubSection "Display"
        Depth     1
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Group        "video"
    Mode         0660
EndSection

P.S. I can't save changes to this: Permission Denied in Ubuntu

Last edited by Newnux (2007-06-18 12:41:00)

Offline

#2 2007-06-14 13:55:20

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [Solved] ATI & Xorg

Can you give a little more details? Like what is the exact error message when X fails?
And you need to mount the drive rw from ubuntu to be able to write to it (and maybe use sudo if you didn't mounted it with the right permissions).

Offline

#3 2007-06-14 14:05:58

Newnux
Member
Registered: 2007-06-13
Posts: 59

Re: [Solved] ATI & Xorg

Thanks for the reply!

It seems I missed out 'sudo' when I actually went to edit the file smile.  I should now be able to get on Arch with the Mesa driver, but the problem still remains with fglrx.  Well, that's at least one step forward.

I haven't seen an error, and I believe X started perfectly.  The problem is, I'm left with a completely blank screen when it does load.  For future reference, can I boot without X running any easy way?

Edit:

I logged into Arch just fine, though the horrific resolution which was there before I installed the drivers was back.  I ran aticonfig --initial and restarted X (with ctrl+alt+backspace) and the resolution is fine, though still running with Mesa.  I'm fairly sure the same will happen if I switch to fglrx, so I won't try until I know how to recover from that quickly.

Here is the current Xorg.conf:

# Auto-generated by Archie mkxcfg
# Auto-generated by Archie mkxcfg

Section "ServerLayout"

# PS/2 Mouse not detected
# Serial Mouse not detected
    Identifier     "Xorg Configured"
    Screen      0  "aticonfig-Screen[0]" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "Files"

# Additional fonts: Locale, Gimp, TTF...
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
    FontPath     "/usr/share/fonts/cyrillic"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
    Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "extmod"
    Load  "glx"
    Load  "dri"
    Load  "drm"
    Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "ServerFlags"
    Option        "AllowMouseOpenFail" "true"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "gb"
    Option        "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option        "Protocol" "Microsoft"
    Option        "Device" "/dev/ttyS0"
    Option        "Emulate3Buttons" "true"
    Option        "Emulate3Timeout" "70"
    Option        "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "ZAxisMapping" "4 5"
    Option        "Device" "/dev/psaux"
    Option        "Emulate3Buttons" "true"
    Option        "Emulate3Timeout" "70"
    Option        "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier  "USB Mouse"
    Driver      "mouse"
    Option        "Device" "/dev/input/mice"
    Option        "SendCoreEvents" "true"
    Option        "Protocol" "IMPS/2"
    Option        "ZAxisMapping" "4 5"
    Option        "Buttons" "5"
EndSection

Section "Monitor"

#    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    #  Default modes distilled from
    #      "VESA and Industry Standards and Guide for Computer Display Monitor
    #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
    #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
    # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
    Identifier   "Monitor0"
    VertRefresh  50.0 - 75.0
    ModeLine     "640x350" 31.5 640 672 736 832 350 382 385 445 +hsync -vsync
    ModeLine     "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
    ModeLine     "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
    ModeLine     "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    ModeLine     "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    ModeLine     "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    ModeLine     "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
    ModeLine     "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    ModeLine     "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    ModeLine     "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    ModeLine     "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    ModeLine     "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
    ModeLine     "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync interlace
    ModeLine     "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    ModeLine     "1024x768" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    ModeLine     "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    ModeLine     "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
    ModeLine     "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    ModeLine     "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
    ModeLine     "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
    ModeLine     "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine     "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine     "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    ModeLine     "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
    ModeLine     "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
    ModeLine     "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
    ModeLine     "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
    ModeLine     "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
    ModeLine     "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
    ModeLine     "1800x1440" 230.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine     "1800x1440" 250.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine     "640x480" 43.2 640 680 744 848 480 481 484 509 -hsync +vsync
    ModeLine     "768x576" 35.0 768 792 872 976 576 577 580 597 -hsync +vsync
    ModeLine     "768x576" 42.9 768 800 880 992 576 577 580 601 -hsync +vsync
    ModeLine     "768x576" 45.5 768 808 888 1008 576 577 580 602 -hsync +vsync
    ModeLine     "768x576" 51.8 768 808 888 1008 576 577 580 605 -hsync +vsync
    ModeLine     "768x576" 62.6 768 816 896 1024 576 577 580 611 -hsync +vsync
    ModeLine     "800x600" 68.2 800 848 936 1072 600 601 604 636 -hsync +vsync
    ModeLine     "1024x768" 113.3 1024 1096 1208 1392 768 769 772 814 -hsync +vsync
    ModeLine     "1152x864" 81.6 1152 1216 1336 1520 864 865 868 895 -hsync +vsync
    ModeLine     "1152x864" 119.7 1152 1224 1352 1552 864 865 868 907 -hsync +vsync
    ModeLine     "1152x864" 143.5 1152 1232 1360 1568 864 865 868 915 -hsync +vsync
    ModeLine     "1280x960" 124.5 1280 1368 1504 1728 960 961 964 1001 -hsync +vsync
    ModeLine     "1280x960" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    ModeLine     "1280x960" 179.0 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync
    ModeLine     "1280x1024" 191.0 1280 1376 1520 1760 1024 1025 1028 1085 -hsync +vsync
    ModeLine     "1400x1050" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    ModeLine     "1400x1050" 149.3 1400 1496 1648 1896 1050 1051 1054 1094 -hsync +vsync
    ModeLine     "1400x1050" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
    ModeLine     "1400x1050" 179.3 1400 1504 1656 1912 1050 1051 1054 1103 -hsync +vsync
    ModeLine     "1400x1050" 214.4 1400 1512 1664 1928 1050 1051 1054 1112 -hsync +vsync
    ModeLine     "1600x1200" 280.6 1600 1728 1904 2208 1200 1201 1204 1271 -hsync +vsync
    Option        "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "All"
    BoardName   "All"
    Option        "XAANoOffscreenPixmaps" "true"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]"
    Driver      "fglrx"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth     16
    SubSection "Display"
        Depth     1
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]"
    Device     "aticonfig-Device[0]"
    Monitor    "aticonfig-Monitor[0]"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "DRI"
    Group        "video"
    Mode         0660
EndSection

Here is the rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Canada/Pacific"
KEYMAP=uk
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(slhc tulip ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device 
snd-seq-midi-event snd-seq snd-hwdep snd-page-alloc snd-pcm snd-rawmidi snd-timer snd 
snd-mpu401-uart snd-ac97-codec snd-emu10k1 snd-via82xx-modem snd-via82xx soundcore 
snd-util-mem snd-usb-audio snd-usb-lib fglrx)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME=""
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0 192.168.1.64 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond atieventsd)


# End of file

Last edited by Newnux (2007-06-14 14:22:27)

Offline

#4 2007-06-14 15:12:13

karmapolice
Member
Registered: 2007-01-31
Posts: 113

Re: [Solved] ATI & Xorg

It looks like a mess, you have the radeon driver but at the same time you have the fglrx one :S  and I suppose that's why you can't get X running, also the DRI section I always use 0666 with the fglrx driver.

Backup your xorg file and create a new one.

Offline

#5 2007-06-14 15:40:40

tcmdvm
Member
From: Columbia, TN USA
Registered: 2007-06-12
Posts: 40
Website

Re: [Solved] ATI & Xorg

Check out the wiki for fglrx. I have got stuck a few times and going and repeating the installation listed in the wiki help get the xorg.conf file straightened out.

Offline

#6 2007-06-14 15:51:34

zeifertstc
Member
From: Niagara
Registered: 2007-06-04
Posts: 11
Website

Re: [Solved] ATI & Xorg

I got some help for my Radeon using fglrx and have direct rendering enabled. Right now, my laptop is running KDE just fine one thing I had to do was add my user name to the video group

sudo gpasswd -a <user> video

I have a post up on here right now about an odd flashing of the screen now that it is up and running though. For some reason, when on battery power, the monitor flickers off and on at times. But, other than that, on the adapter everything works fine.


Shoot me --> . <--

Offline

#7 2007-06-14 16:33:23

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: [Solved] ATI & Xorg

One thing to take note of, if you start X, and it starts to a black screen, you can press CTRL+ALT+F1, to switch back to the console.  CTRL+ALT+F7 will take you back to X.  Also, you can hit CTRL+ALT+BACKSPACE to kill X.

Another thing I'd try is using X's autoconfigure to generate an xorg.conf.  Kill X, then switch to a console and type, as root (you can use sudo):

# To back up your existing config
cd ~
cp /etc/X11/xorg.conf ~/xorg.conf.backup
# This will generate an xorg.conf.new file.
sudo X -configure
sudo mv ~/xorg.conf.new /etc/X11/xorg.conf
sudo aticonfig --initial

Then restart X, and see what happens.

Good luck!

Offline

#8 2007-06-14 17:10:00

Newnux
Member
Registered: 2007-06-13
Posts: 59

Re: [Solved] ATI & Xorg

karmapolice wrote:

It looks like a mess, you have the radeon driver but at the same time you have the fglrx one :S  and I suppose that's why you can't get X running, also the DRI section I always use 0666 with the fglrx driver.

Backup your xorg file and create a new one.

Indeed, looks a mess to me too.  I did actually try deleting all the "aticonfig" entries in my xorg.conf when I errored because it couldn't find a screen.  It seemed to get fglrx working, but then was the black screen problem.  In any case, it's definitely a mess and so I shall create a new xorg.

tcmdvm wrote:

Check out the wiki for fglrx. I have got stuck a few times and going and repeating the installation listed in the wiki help get the xorg.conf file straightened out.

I've been following all of the Wiki guides to do just about anything with Archlinux smile.  If I can set Arch up in the first place, it shows just how good those guides are.  Unfortunately, I couldn't find much for troubleshooting with this matter.

zeifertstc wrote:

I got some help for my Radeon using fglrx and have direct rendering enabled. Right now, my laptop is running KDE just fine one thing I had to do was add my user name to the video group

sudo gpasswd -a <user> video

I have a post up on here right now about an odd flashing of the screen now that it is up and running though. For some reason, when on battery power, the monitor flickers off and on at times. But, other than that, on the adapter everything works fine.

Thanks for the input, I'll give that a try too.

tom5760 wrote:

One thing to take note of, if you start X, and it starts to a black screen, you can press CTRL+ALT+F1, to switch back to the console.  CTRL+ALT+F7 will take you back to X.  Also, you can hit CTRL+ALT+BACKSPACE to kill X.

Another thing I'd try is using X's autoconfigure to generate an xorg.conf.  Kill X, then switch to a console and type, as root (you can use sudo):

# To back up your existing config
cd ~
cp /etc/X11/xorg.conf ~/xorg.conf.backup
# This will generate an xorg.conf.new file.
sudo X -configure
sudo mv ~/xorg.conf.new /etc/X11/xorg.conf
sudo aticonfig --initial

Then restart X, and see what happens.

Good luck!

I really needed that CTRL+ALT+F1 tip!  I don't have to be too afraid to mess things up now smile.

I think I used "hwd" instead of "X -configure" last time, and that may be the source of my problems.  I'll give your version a shot tomorrow and report back!

By the way, what exactly is the purpose of "sudo" in Arch?  I'd always thought it was more of an Ubuntu exclusive thing, and it doesn't really seem to do anything for me in Arch.

Thanks again to everyone smile!

Offline

#9 2007-06-14 19:31:16

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [Solved] ATI & Xorg

Newnux wrote:

By the way, what exactly is the purpose of "sudo" in Arch?  I'd always thought it was more of an ubuntu exclusive thing, and it doesn't really seem to do anything for me in Arch.

Sudo exists way longer than ubuntu does... It is intended do to just what it does in ubuntu, enable you to administer your machine with root privileges without the need to log in to root and with the possibility to totally disable root logins.

I always use sudo because I like the concept and once your used to sudo it's, in my opinion, easier and faster than su'ing into root all the time. What do you mean by "it doesn't do anything"? If you're already root it wont do anything... and otherwise your sudoers file probably isn't setup correctly.

Last edited by Ramses de Norre (2007-06-14 19:32:15)

Offline

#10 2007-06-14 20:17:57

Thrillhouse
Member
From: Arlington, VA, USA
Registered: 2007-05-29
Posts: 175

Re: [Solved] ATI & Xorg

..and otherwise your sudoers file probably isn't setup correctly.

Or sudo isn't even installed to begin with.  Use pacman to install sudo if you haven't done that already.  Then run this command:

echo 'loginname ALL=(ALL) ALL' >> /etc/sudoers

where loginname is your username.  Then to enable tab completion with sudo, you can add this to your ~/.bashrc

complete -cf sudo


For the strength of the pack is the wolf, and the strength of the wolf is the pack.

Offline

#11 2007-06-14 21:40:45

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [Solved] ATI & Xorg

Thrillhouse wrote:

..and otherwise your sudoers file probably isn't setup correctly.

Or sudo isn't even installed to begin with.  Use pacman to install sudo if you haven't done that already.  Then run this command:

echo 'loginname ALL=(ALL) ALL' >> /etc/sudoers

where loginname is your username.  Then to enable tab completion with sudo, you can add this to your ~/.bashrc

complete -cf sudo

The use of visudo is preferable.

Offline

#12 2007-06-16 12:06:30

Newnux
Member
Registered: 2007-06-13
Posts: 59

Re: [Solved] ATI & Xorg

Hello again!  I've been rather busy, so I just finally managed to give some things a try.

I tried doing what tom5760 said, but "sudo X -configure" generated an error, even after I'd closed X with "init 3".  I manually edited "xorg.conf" and it looked as though it would run, but again I got a black screen.  CTRL+ALT+F1 doesn't seem to work when X starts with a black screen, and switching to an Ubuntu live CD every time it doesn't work is getting very crude.  Is there no way I can stop X from starting by maybe adding an option to command line?  Perhaps something to do with init 3?

I'd like to mess around with some possibilities, but I really do need to be able to get on Arch regularly to do so.

Edit: I fixed the xorg.conf back to use the "radeon" driver in Windows, got back on Arch and cleaned the Monitor and Screen sections up.  Current xorg.conf:

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
    Load  "fglrx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" ""
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier "Monitor0"
        Option "DPMS" "true"
    HorizSync    24.0 - 80.0 # AG Neovo F-419
    VertRefresh  50.0 - 75.0 # AG Neovo F-419
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "All"
    BoardName   "All"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     24
        Modes "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0660
EndSection

Last edited by Newnux (2007-06-16 13:39:53)

Offline

#13 2007-06-16 13:48:38

tcmdvm
Member
From: Columbia, TN USA
Registered: 2007-06-12
Posts: 40
Website

Re: [Solved] ATI & Xorg

I don't know whether this will work in your situation or not. Go to your rc.conf and remove where you start kdm. This way a window manager won't try to start. Make sure you have xterm installed. Usually if there is a problem with your xorg.conf and X fails to start it will drop you back to a command prompt. Then type startx and see what error messages appear. It might help you locate the problem. When you are able to get startx to start the X environment you can go back and add the windowmanger back to start it.

I don't know if this will help or not but might be worth a try. Keep working with it, sooner or later you will get it working.

Offline

#14 2007-06-16 14:46:16

Newnux
Member
Registered: 2007-06-13
Posts: 59

Re: [Solved] ATI & Xorg

tcmdvm wrote:

I don't know whether this will work in your situation or not. Go to your rc.conf and remove where you start kdm. This way a window manager won't try to start. Make sure you have xterm installed. Usually if there is a problem with your xorg.conf and X fails to start it will drop you back to a command prompt. Then type startx and see what error messages appear. It might help you locate the problem. When you are able to get startx to start the X environment you can go back and add the windowmanger back to start it.

I don't know if this will help or not but might be worth a try. Keep working with it, sooner or later you will get it working.

It helped a lot!  I think I got it working now that I had the chance to tweak it slowly!

Simply changing the driver to "fglrx" with this xorg.conf worked fine when I ran "startx" as root.  I then logged out and tried to run "startx" as a normal user and it returned a bunch of errors!  I then rebooted and it's running fine as the same user!

glxinfo | grep direct
direct rendering: Yes

Success?!

Anyhow, here are the errors that I had when running "startx" before reboot:

(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found

(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/xorg/modules/dri/fglrx_dri.so:undefined symbol: __driCreateNewScreen_20050727)

(EE) AIGLX: Reverting to software rendering

waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/misc: unscaled" refcount is 2, should be 1; fixing.

The last one also occurred when I commented out that font path with "misc" instead of "misc: unscaled".  I think the error ceased when I commented them both out, but I'm not really sure what's what.

Thanks again to everyone smile.

Offline

#15 2007-06-16 23:27:31

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [Solved] ATI & Xorg

That error is non-fatal; just means that fglrx doesn't support the necessary extensions to run AIGLX - to make the error go away stick this in your ServerFlags:

Option      "AIGLX" "off" # Disable AIGLX

I currently don't know when, or even if, fglrx will add support for those openGL extentions.

Last edited by Cerebral (2007-06-16 23:28:57)

Offline

#16 2007-06-17 11:36:43

Newnux
Member
Registered: 2007-06-13
Posts: 59

Re: [Solved] ATI & Xorg

That's good to know!  I added that line to xorg.conf smile.

Everything is running fine now, and I'm really enjoying it, with the exception of my external hard drive.  I'll switch to making a new topic about that smile.

Last edited by Newnux (2007-06-18 12:40:45)

Offline

Board footer

Powered by FluxBB