Welcome, Guest. Please login or register.
April 20, 2014, 20:34:12 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Hardware
| | |-+  [solved]ATI Drivers package and xorg.conf
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: [solved]ATI Drivers package and xorg.conf  (Read 4428 times)
Spoonman
Newbie
*
Posts: 5


View Profile
« on: May 13, 2007, 19:35:27 PM »

Howdy!  Just recently started playing around with Pardus, and must say I've been impressed since day one.  About the only real issue I've found  concerns the ATI Drivers package.  I've installed Pardus on my laptop (an HP nc6000 with an ATI Mobility Radeon 9600 chipset), and while the default drivers installed worked for basic operations, I had some issues with video (all video players showed a blue screen in the video area.  They played the audio, but I got no video output) and of course 3D stuff didn't work at all.  So, I installed the ATI Drivers package.  Unfortunately, that's where my troubles began...

First, it appears the package didn't modify xorg.conf.  When I tried to run aticonfig --initial, it segfaults after making a backup of the original.  So, I pulled a few google-fu moves and was able to cobble together enough information about configuring ATI cards to get to a working xorg.conf.  However, I still have some minor tearing here and there (specifically when the cursor has a "bouncing icon" next to it), 3D stuff still doesn't work, and I'm just not so enthused by the video performance (videos in mplayer are more artifacted than they should be).  So, I'm hoping someone would be kind enough to look over the video card section of my conf and let me know what I might be missing.   I've snipped out comments and mouse stuff to make it easier to read.

I'm hoping to give Beryl a try, too, if that requires a more advanced config.

Thanks!

xorg.conf:


Section "Module"
    Load "dbe"      # Double buffer extension
    Load "extmod"
    SubSection "extmod"
        Option "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load "type1"
    Load "freetype"
    Load "record"
    Load "xtrap"
    Load "glx"
    Load "dri"
    Load "v4l"
    Load "synaptics"
EndSection

Section "Extensions"
    Option "Composite" "enable"
EndSection

Section "dri"
    Mode 0666
EndSection

Section "Files"
    RgbPath  "/usr/lib/X11/rgb"
    FontPath "/usr/share/fonts/misc/"
    FontPath "/usr/share/fonts/dejavu/"
    FontPath "/usr/share/fonts/TTF/"
    FontPath "/usr/share/fonts/freefont/"
    FontPath "/usr/share/fonts/TrueType/"
    FontPath "/usr/share/fonts/corefonts"
    FontPath "/usr/share/fonts/Speedo/"
    FontPath "/usr/share/fonts/Type1/"
    FontPath "/usr/share/fonts/100dpi/"
    FontPath "/usr/share/fonts/75dpi/"
    FontPath "/usr/share/fonts/terminus/"
    FontPath "/usr/share/fonts/encodings/"
EndSection

Section "ServerFlags"
    Option     "AllowMouseOpenFail" "True"
    Option     "BlankTime" "0"
    Option     "StandbyTime" "0"
    Option     "SuspendTime" "0"
    Option     "OffTime" "0"
EndSection

# Default config from install:

# Section "Device"
#    Screen 0
#    Identifier "VideoCard0"
#    Driver     "ati"
#    VendorName "ATI Technologies Inc"
#    BoardName  "RV350 [Mobility Radeon 9600 M10]"
#    # BusID      "PCI:01:00:0"
#    Option      "XAANoOffscreenPixmaps" "true"
#EndSection

#My config

Section "Device"
     Driver     "fglrx"
     VendorName "ATI Technologies Inc"
     BoardName  "RV350 [Mobility Radeon 9600 M10]"
     Identifier "VideoCard0"
     Screen     0
     Option     "VideoOverlay" "on"
     Option     "OpenGLOverlay" "off"
     Option     "UseInternalAGPArt" "no"
     Option     "Kernel Module Parm" "agplock=0"
     BusID      "PCI:01:00:00"
     Option     "AGPMode" "4"
     Option     "XaaNoScanlineImageWriteRect"
     Option     "XaaNoScanlineCPUToScreenColorExpandFill"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "VideoCard0"
    Monitor    "Monitor0"
    DefaultDepth 24
    Subsection "Display"
        Depth    24
        Modes    "1280x1024" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen      "Screen0"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Touchpad" "SendCoreEvents"
    InputDevice "Keyboard0" "CoreKeyboard"
    # Multihead stuff
    # Screen      0  "Screen0" 0 0
    # Screen      1  "Screen1" RightOf "Screen0"
    Option      "Xinerama" "off"
    Option      "Clone" "off"
EndSection
« Last Edit: August 03, 2008, 06:46:47 AM by Andreas » Logged
Jan Gnodde
Global Moderator
Pardus Guru
*****
Gender: Male
Posts: 397


View Profile WWW
« Reply #1 on: May 13, 2007, 23:23:36 PM »

Maybe you should try "fglrx" in stead of "ati" as your videocard-driver.
It works for me (Radeon Express 200M).

Jan.
Logged
Spoonman
Newbie
*
Posts: 5


View Profile
« Reply #2 on: May 14, 2007, 00:48:53 AM »

It is set as fglrx.  The section you're looking at is under the "# Default config from install:" part, and is all commented out.  The section that's currently active is below that and is commented as "My config".
Logged
Jan Gnodde
Global Moderator
Pardus Guru
*****
Gender: Male
Posts: 397


View Profile WWW
« Reply #3 on: May 14, 2007, 05:12:43 AM »

Oops, sorry, didn't read it well  Undecided
Here's my xorg.conf, and it has 3D:

Code:
Section "ServerLayout"

    # Multihead stuff
    # Screen      0  "Screen0" 0 0
    # Screen      1  "Screen1" RightOf "Screen0"
Identifier     "Simple Layout"
Screen      0  "aticonfig-Screen[0]" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Touchpad" "SendCoreEvents"
InputDevice    "Keyboard0" "CoreKeyboard"
Option     "Xinerama" "off"
Option     "Clone" "off"
EndSection

Section "Files"
RgbPath      "/usr/lib/X11/rgb"
FontPath     "/usr/share/fonts/misc/"
FontPath     "/usr/share/fonts/dejavu/"
FontPath     "/usr/share/fonts/TTF/"
FontPath     "/usr/share/fonts/freefont/"
FontPath     "/usr/share/fonts/TrueType/"
FontPath     "/usr/share/fonts/corefonts"
FontPath     "/usr/share/fonts/Speedo/"
FontPath     "/usr/share/fonts/Type1/"
FontPath     "/usr/share/fonts/100dpi/"
FontPath     "/usr/share/fonts/75dpi/"
FontPath     "/usr/share/fonts/encodings/"
EndSection

Section "Module"
Load  "dbe"      # Double buffer extension
Load  "extmod"
SubSection "extmod"
Option     "omit xfree86-dga"   # don't initialise the DGA extension
EndSubSection
Load  "type1"
Load  "freetype"
Load  "record"
Load  "xtrap"
Load  "glx"
Load  "dri"
Load  "v4l"
Load  "synaptics"
EndSection

Section "ServerFlags"
Option     "AllowMouseOpenFail" "True"
Option     "BlankTime" "0"
Option     "StandbyTime" "0"
Option     "SuspendTime" "0"
Option     "OffTime" "0"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option     "AutoRepeat" "500 30"
Option     "XkbModel" "pc105"
Option     "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "ExplorerPS/2"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5 6 7"
Option     "Buttons" "5"
EndSection

Section "InputDevice"
Identifier  "Touchpad"
Driver      "synaptics"
Option     "Protocol" "auto-dev"
    # Option     "Device" "/dev/input/mouse0"
Option     "LeftEdge" "1700"
Option     "RightEdge" "5300"
Option     "TopEdge" "1700"
Option     "BottomEdge" "4200"
Option     "FingerLow" "25"
Option     "FingerHigh" "30"
Option     "MaxTapTime" "180"
Option     "MaxTapMove" "220"
Option     "VertScrollDelta" "100"
Option     "MinSpeed" "0.09"
Option     "MaxSpeed" "0.18"
Option     "AccelFactor" "0.0015"
Option     "SHMConfig" "true"
    # Option     "ClickTime"  "0"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Unknown"
ModelName    "Unknown"
HorizSync    31.5 - 50.0
VertRefresh  50.0 - 70.0
EndSection

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

Section "Device"

    # BusID      "PCI:01:05:0"
Identifier  "VideoCard0"
Driver      "ati"
VendorName  "ATI Technologies Inc"
BoardName   "RS482 [Radeon Xpress 200M]"
 EndSection

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

Section "Screen"
Identifier "Screen0"
Device     "VideoCard0"
Monitor    "Monitor0"
Option     "RenderAccel" "true"
DefaultDepth     16
SubSection "Display"
Depth     16
Modes    "1280x800" "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"
Mode         0666
EndSection
Logged
Spoonman
Newbie
*
Posts: 5


View Profile
« Reply #4 on: May 14, 2007, 17:19:00 PM »

Identifier  "VideoCard0"
Driver      "ati"

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


That's interesting.  You've got two drivers loaded for the video card.  According to the rest of the conf, it is using both.  I'm thinking I might just try downloading the drivers directly from ATI and trying a manual install.  I have a feeling I'm missing out on a lot by not being able to run aticonfig --initial. 
Logged
Jan Gnodde
Global Moderator
Pardus Guru
*****
Gender: Male
Posts: 397


View Profile WWW
« Reply #5 on: May 15, 2007, 02:54:35 AM »

No, look at the top of the config-file. There you see that only aticonfig-Screen[0] is loaded in the server-layout.

But, at the bottom, I have a section DRI in capital letters, you have them in lowercast... Huh?

Jan.
Logged
Spoonman
Newbie
*
Posts: 5


View Profile
« Reply #6 on: May 15, 2007, 03:07:25 AM »

Aaaaahhhhhh, sorry, brain fart.  Okay, I'll give that a try.  I have, however, installed the newest drivers from their site.  Firstly, for those who try it themselves, in order to get it to install you have to run the command:

X_SERVER="x710" ./ati....installer.

They're apparently not aware of Xorg 7.2 yet.   aticonfig still doesn't work for me.  It doesn't segfault, but it never writes a config, either.  I'll try changing the case of those three.
Logged
Emme3
Newbie
*
Gender: Male
Posts: 4


View Profile
« Reply #7 on: August 16, 2007, 21:16:17 PM »

I have a problem with my Radeon x200m (laptop is a Olidata Stainer W2800).. i installed latest ATI drivers (8.40.4), but still i haven't 3d support.. and of course CCC doesn't work.. that's my xorg.conf:

Code:
Section "ServerLayout"

    # Multihead stuff
    # Screen      0  "Screen0" 0 0
    # Screen      1  "Screen1" RightOf "Screen0"
Identifier     "Simple Layout"
Screen      0  "aticonfig-Screen[0]" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Touchpad" "SendCoreEvents"
InputDevice    "Keyboard0" "CoreKeyboard"
Option     "Xinerama" "off"
Option     "Clone" "off"
EndSection

Section "Files"
RgbPath      "/usr/lib/X11/rgb"
FontPath     "/usr/share/fonts/misc/"
FontPath     "/usr/share/fonts/dejavu/"
FontPath     "/usr/share/fonts/TTF/"
FontPath     "/usr/share/fonts/freefont/"
FontPath     "/usr/share/fonts/TrueType/"
FontPath     "/usr/share/fonts/corefonts"
FontPath     "/usr/share/fonts/Speedo/"
FontPath     "/usr/share/fonts/Type1/"
FontPath     "/usr/share/fonts/100dpi/"
FontPath     "/usr/share/fonts/75dpi/"
FontPath     "/usr/share/fonts/terminus/"
FontPath     "/usr/share/fonts/encodings/"
EndSection

Section "Module"
Load  "dbe"      # Double buffer extension
Load  "extmod"
SubSection "extmod"
Option     "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load  "type1"
Load  "freetype"
Load  "record"
Load  "xtrap"
Load  "glx"
Load  "dri"
Load  "v4l"
Load  "synaptics"
EndSection

Section "ServerFlags"
Option     "AllowMouseOpenFail" "True"
Option     "BlankTime" "0"
Option     "StandbyTime" "0"
Option     "SuspendTime" "0"
Option     "OffTime" "0"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option     "AutoRepeat" "500 30"
Option     "XkbModel" "pc105"
Option     "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "ExplorerPS/2"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5 6 7"
Option     "Buttons" "5"
EndSection

Section "InputDevice"
Identifier  "Touchpad"
Driver      "synaptics"
Option     "Protocol" "auto-dev"
    # Option     "Device" "/dev/input/mouse0"
Option     "LeftEdge" "1700"
Option     "RightEdge" "5300"
Option     "TopEdge" "1700"
Option     "BottomEdge" "4200"
Option     "FingerLow" "25"
Option     "FingerHigh" "30"
Option     "MaxTapTime" "180"
Option     "MaxTapMove" "220"
Option     "VertScrollDelta" "100"
Option     "MinSpeed" "0.09"
Option     "MaxSpeed" "0.18"
Option     "AccelFactor" "0.0015"
Option     "SHMConfig" "true"
    # Option     "ClickTime"  "0"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Unknown"
ModelName    "Unknown"
HorizSync    31.5 - 50.0
VertRefresh  50.0 - 70.0
EndSection

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

Section "Device"

    # BusID      "PCI:01:05:0"
Identifier  "VideoCard0"
Driver      "ati"
VendorName  "ATI Technologies Inc"
BoardName   "RS482 [Radeon Xpress 200M]"
EndSection

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

Section "Screen"
Identifier "Screen0"
Device     "VideoCard0"
Monitor    "Monitor0"
        Option     "RenderAccel" "true"
DefaultDepth     16
SubSection "Display"
Depth     16
Modes    "1280x800" "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"
Mode         0666
EndSection

I hope someone can help me ;_;
Logged
Kavani
Guest
« Reply #8 on: August 17, 2007, 00:09:29 AM »

Hi there Emme3.  I had similar issues with my laptop.  It also has a x200.  I think this is the post you were looking for on how to get the ati driver configured.

Yeah sure.
You press CTRL+ALT+F1, log in as root and type the command
Code:
init 3
Then you type the command
Code:
aticonfig --initial

And then its done.  Grin

Oh and to get back to the X you press CTRL+ALT+F7.
Logged
volgotron
Guest
« Reply #9 on: August 17, 2007, 10:06:26 AM »

Hello ev'rybody!
I am a completely Pardus Newbie and just finished installing Pardus 2007.2 and finally solved the ATI driver configuration. I have an Ati Mobility Radeon x1600 and solved the problem in this way, as I did in Ubuntu (the other OS I installed in my laptop):

1)After installation, update the repository and get the ATI driver from the repository
2)As finished, type in the console as root
sudo kate /etc/X11/xorg.conf
and in the section Extensions set the option Composite "0"
3)Press ctrl+alt+f1 and you will open the X terminal; login and type
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
4)Press ctrl+alt+f7 and you will be back to the session; restart and you will see in the sysinfo
Vendor: ATI Technologies, Inc.
Model: M56P (Radeon Mobility X1600)
Driver: fglrx (with 3D support)

For your info, before applying these keys, the highest screen resolution was 800x600; after rebooting, the screen set itself to 1680x1050!

For your help, I paste here my xorg.conf

################################################################
#
#  Autoconfigured config file for Xorg
#  Created by Zorg 0.5 on Thu Aug 16 23:16:47 2007
#
#  ESSENTIAL: 95d1fbaec704d665c6ff79fd6e75e2b911c60c91
#

Section "ServerLayout"

    # Multihead stuff
    # Screen      0  "Screen0" 0 0
    # Screen      1  "Screen1" RightOf "Screen0"
   Identifier     "Simple Layout"
   Screen      0  "aticonfig-Screen[0]" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Touchpad" "SendCoreEvents"
   InputDevice    "Keyboard0" "CoreKeyboard"
   Option       "Xinerama" "off"
   Option       "Clone" "off"
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/dejavu/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/freefont/"
   FontPath     "/usr/share/fonts/TrueType/"
   FontPath     "/usr/share/fonts/corefonts"
   FontPath     "/usr/share/fonts/Speedo/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/terminus/"
   FontPath     "/usr/share/fonts/encodings/"
EndSection

Section "Module"
   Load  "dbe"      # Double buffer extension
   Load  "extmod"
   SubSection "extmod"
      Option       "omit xfree86-dga" # don't initialise the DGA extension
   EndSubSection
   Load  "type1"
   Load  "freetype"
   Load  "record"
   Load  "xtrap"
   Load  "glx"
   Load  "dri"
   Load  "v4l"
   Load  "synaptics"
EndSection

Section "ServerFlags"
   Option       "AllowMouseOpenFail" "True"
   Option       "BlankTime" "0"
   Option       "StandbyTime" "0"
   Option       "SuspendTime" "0"
   Option       "OffTime" "0"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option       "AutoRepeat" "500 30"
   Option       "XkbModel" "pc105"
   Option       "XkbLayout" "it"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "ExplorerPS/2"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
   Option       "Buttons" "5"
EndSection

Section "InputDevice"
   Identifier  "Touchpad"
   Driver      "synaptics"
   Option       "Protocol" "auto-dev"
    # Option     "Device" "/dev/input/mouse0"
   Option       "LeftEdge" "1700"
   Option       "RightEdge" "5300"
   Option       "TopEdge" "1700"
   Option       "BottomEdge" "4200"
   Option       "FingerLow" "25"
   Option       "FingerHigh" "30"
   Option       "MaxTapTime" "180"
   Option       "MaxTapMove" "220"
   Option       "VertScrollDelta" "100"
   Option       "MinSpeed" "0.09"
   Option       "MaxSpeed" "0.18"
   Option       "AccelFactor" "0.0015"
   Option       "SHMConfig" "true"
    # Option     "ClickTime"  "0"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Unknown"
   ModelName    "Unknown"
   HorizSync    31.5 - 50.0
   VertRefresh  50.0 - 70.0
EndSection

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

Section "Device"

    # BusID      "PCI:1:0:0"
   Identifier  "VideoCard0"
   Driver      "vesa"
   VendorName  "ATI Technologies Inc"
   BoardName   "M56P [Radeon Mobility X1600]"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]"
   Driver      "fglrx"
   Option       "VideoOverlay" "on"
   Option       "OpenGLOverlay" "off"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "VideoCard0"
   Monitor    "Monitor0"
   DefaultDepth     16
   SubSection "Display"
      Depth     16
      Modes    "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"
   Mode         0666
EndSection

Section "Extensions"
   Option       "Composite" "0"
EndSection

Now, next target is: how can I activate XGL and then compiz-fusion on ATI? I'll let you know about that.....
Logged
Emme3
Newbie
*
Gender: Male
Posts: 4


View Profile
« Reply #10 on: August 17, 2007, 14:30:33 PM »

I tried both of these ways, but still it doesn't work.. i uninstalled each time ati drivers.
In System info reports fglrx drivers loaded but without 3d support..
but now says my video card is RS485 (Radeon Xpress 1100 IGP) when i have x200..  Huh?
Logged
Kavani
Guest
« Reply #11 on: August 17, 2007, 16:13:58 PM »

Congrats on getting it working volgotron.  Emme3, that's rather odd.  Are you installing the ati-drivers through the Package manager?
Logged
Emme3
Newbie
*
Gender: Male
Posts: 4


View Profile
« Reply #12 on: August 17, 2007, 21:19:35 PM »

ok, after uninstalling completly all ati packages and following again volgotron's post, it finally worked!
Thanks for all your support guys  Cheesy
Logged
Kavani
Guest
« Reply #13 on: August 17, 2007, 23:43:28 PM »

Yay!  Glad you got it to work!  Thanks volgotron!
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!