You are not logged in.

#1 2007-05-27 23:22:19

efourseven
Member
Registered: 2005-07-03
Posts: 71

ATI Radeon 9200 Resolution question [solved]

I just just installed an ATI Radeon 9200 video card and I am using the open source xf86-video-ati drivers. It works fine, except the fact that I cannot get a higher resolution than 1024x768. I'm trying to get 1280x1024. here's my xorg.conf file...

Section "ServerLayout"
        Identifier     "Xorg Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
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/TTF"
# 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  "drm"
        Load  "bitmap" # bitmap-fonts
        Load  "type1"
        Load  "freetype"
        Load  "record"
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    30 - 83
        VertRefresh  70

         # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
        ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085

        Option "PreferredMode" "1280x1024"
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "All"
        BoardName   "All"
        Option "Monitor-VGA" "Monitor0"
        Option "XAANoOffscreenPixmaps" "true" #needed for aiglx
        Option "AGPMode" "4" 
        Option "ColorTiling" "on"

EndSection

Section "Extensions"
                Option "Composite"       "true"
EndSection

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

Section "DRI"
        Group "video"
        Mode 0666
EndSection

I'm not sure what i am missing? Anyone have any tips?

Last edited by efourseven (2007-05-28 21:37:54)

Offline

#2 2007-05-27 23:38:40

efourseven
Member
Registered: 2005-07-03
Posts: 71

Re: ATI Radeon 9200 Resolution question [solved]

I looked at my Xorg.0.log file...

(II) RADEON(0): Monitor0: Using hsync range of 30.00-83.00 kHz
(II) RADEON(0): Monitor0: Using vrefresh value of 70.00 Hz
(II) RADEON(0): Clock range:  20.00 to 400.00 MHz
(II) RADEON(0): Not using mode "1280x1024" (hsync out of range)

further down it says this:

(--) RADEON(0): Virtual size is 1024x768 (pitch 1024)
(**) RADEON(0): *Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(II) RADEON(0): Modeline "1024x768"   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync


???

Offline

#3 2007-05-28 01:33:22

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: ATI Radeon 9200 Resolution question [solved]

Your modeline clearyly says you want 100hz @ 1280x1024. The rest of the monitor sections is restricted to exactly 70 though.


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#4 2007-05-28 09:15:52

aris002
Member
From: London, UK
Registered: 2004-03-21
Posts: 75

Re: ATI Radeon 9200 Resolution question [solved]

I also got this kind of card (just 9200 SE) and using open source driver. But I also noticed that if I give modelines in xorg.conf then I got funny values eg 1024x768@369. So my x.org looks like this now (I took me a while to optimize it xgl and beryl smile - xglgears default now gives > 2000 FPS ).  I suspect you'll want xgl, too smile. Don't forget to adjust things like your monitor.

Section "ServerLayout"
    Identifier     "XOrg Configured"   #for old "XFree86 Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected?
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
# compiz, beryl 3D-Support with DRI & Composite
        Option         "AIGLX"     "true"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "false"
     Option  "AIGLX" "on"
EndSection

 #fonts in /usr/share/fonts !!!
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     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

    FontPath    "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/artwiz-fonts"

    FontPath     "/usr/share/fonts/Type1"
#    FontPath     "/usr/share/fonts/ttf/western"
#    FontPath     "/usr/share/fonts/ttf/decoratives"
#    FontPath     "/usr/share/fonts/truetype"
#   FontPath     "/opt/openoffice/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/terminus"
#    FontPath   "/usr/share/fonts/unifont"

#    FontPath     "/usr/share/fonts/defoma/CID"
#    FontPath     "/usr/share/fonts/defoma/TrueType"

EndSection

Section "Module"
  # Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
   Load  "dbe" # Double Buffering Extension, very important.
   Load  "glx"
   Load  "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv.
   Load  "drm"

    Load  "freetype" # Freetype fonts.
    Load  "type1"  # Type 1 fonts
    Load  "record" # Developer extension, usually not needed
#    Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it access videoram without consulting X about it.
    SubSection      "extmod"
        Option          "omit xfree86-dga"
    EndSubSection
#    Load  "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17
# The following are deprecated/unstable/unneeded in Xorg 7.0
#       Load  "ddc"  # ddc probing of monitor, this should be never present, as it gets automatically loaded.
#    Load  "GLcore" # This should be never present, as it gets automatically loaded.
#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
EndSection


Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"  #for older "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "gb"    #  gb,us,lt  - ? test this?
    Option "XkbOptions" "grp:Alt_shift_toggle,grp_led:scroll"   #switch between keyboards
    Option      "XkbOptions" "compose:ralt"  # for alt_grey key
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"  #for the scroll wheel
    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

# parts of monitor section Auto-generated by KNOPPIX mkxf86config

Section "Monitor"
    Identifier    "ACER-AL1712"
    Option    "DPMS"    "true"
    VendorName     "ACER"
#    ModelName    "ACR06b0" #knoppix wrong?
    ModelName "AL1712"
    HorizSync 30 - 83 # DDC-probed
    VertRefresh 50 - 75 # DDC-probed
    DisplaySize  271 338  #other monit 370 270
    
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
#    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
#    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.

EndSection

Section "Device"
    Identifier  "VideoCard1"
    Driver      "radeon"
#    Driver      "vesa"    
    VendorName  "ATI Technologies Inc."
    BoardName   "RV280 Radeon 9200 SE Series"
    ChipID 0x5964  #<-real but we can to pretend -> ChipID 0x5961 
            # enable radeon specific xinerama
        Option          "MergedFB" "false"   #true for extended screens
        Option     "ShadowFB"   "true"
#        Option     "UseFBDev"   "true"   #doesn't work with mergedFB!
        Option          "CRT2Position" "RightOf"
        Option          "CRT2Hsync" "50-75"
        Option          "CRT2VRefresh" "30-82"

        Option          "MergedNonRectangular" "true"
        BusID           "PCI:1:0:0"  #check for your hdware

 #  Option      "MonitorLayout" "LVDS,NONE" #for extra monitorsor TV out?
 #Option          "MonitorLayout" "LVDS, CRT"

 Option          "MetaModes" "1024x768-1280x1024"

  Option "AccelMethod" "XAA"
 # XAA/EXA 
 
  Option "AccelDFS"    "1"
 # 1/0 On for PCIE, off for AGP
 # Manpage: Use  or  don't  use accelerated EXA DownloadFromScreen hook
 # when possible.
 

  Option "AGPMode"     "4"    
 #didnt accept 8!?  1- slowest but most reliable, 4 -optimal?
 # 1-8 Does not affect PCIE models.

  Option "AGPSize"      "32" 
 #from Archlinux wiki

  Option "AGPFastWrite" "1"
 # 1/0 Does not affect PCIE models.


 Option "GARTSize" "64"
 # 0-64 Megabytes of gart (system) memory used.
 # Wrongly defaults to 8MB sometimes, see your logfile.
 # Bigger seems better.


 Option "EnablePageFlip" "1"
 # 1/0 Increases 3D performance substantially
 # seemingly in XAA mode only
 
 Option "ColorTiling" "1"
 # 1/0 Increases 3D performance substantially
 # affected stability only positively on my system
 #### ENDOF freedesktop recommendations
 
    Option "NoDDC"                             "false"
    Option "NoLogo"                            "1"
    Option "Coolbits"                          "1"   #test with 0, only for nVidia???
    Option "UseEdidDPI"                        "false"  #reads dims from bios???

  #xdpyinfo dimensions:    1024x768 pixels (271x203 millimeters) resolution:    96x96 dots per inch
  #when in fact 271x338
#   Option   "DPI"   "120 x 120"
    Option   "DPI"   "96 x 96"

        
    ### Available Driver options are:-
 # sw_cursor is needed for some ati and radeon cards
        #Option     "sw_cursor"  #don't do this for xgl! will give cursor ghost!
        #Option     "hw_cursor"
        #Option     "NoAccel"   #for ?
 
       Option     "ShowCache"  "0"  #should prevent showing cashed windows???
 
        #Option     "Rotate"

       Option      "DRI"     "true"

 # compiz, beryl 3D-Support with DRI & Composite
       Option "AllowGLXWithComposite" "true"
       Option "AddARGBGLXVisuals" "true" #from Gentoo wiki check???

 #in knoppix was true ???needed for aiglx
       Option "XAANoOffscreenPixmaps" "false"

 # This two lines are (presumably) needed to prevent fonts from being scrambled
       Option  "XaaNoScanlineImageWriteRect" "true"
       Option  "XaaNoScanlineCPUToScreenColorExpandFill" "true"

 #recommendation for mplayer from forums according to vert resolution
       Option "CacheLines" "1024" #check for mplayer
       
 #        Option          "VideoOverlay"          "on"
  #     Option          "OverlayOnCRTC1"        "on"
 #      Option          "OverlayOnCRTC2"        "on"
       Option "composite_sync" "off" #gatos.sf.net recommend
        
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "VideoCard1"
    Monitor    "ACER-AL1712"
    DefaultColorDepth 24
       Option         "AllowGLXWithComposite" "true"
    Option         "RenderAccel" "true"
    Option "AddARGBGLXVisuals" "true"
    Option "DisableGLXRootClipping" "false"
    SubSection "Display"
        Depth     1
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Group        "video"  #or "0"?
    Mode     0660  #0660 for radeon, 0666- nvidia??
EndSection

Section "Extensions"
    # beryl and compiz need this, but it can cause bad (end even softreset-resistant)
    # effects in some graphics cards, especially nv.
    #Option "XF86MISC" "no"  #not found?
     Option "Composite" "Enable"
       Option "RENDER" "Enable"
       Option "XVideo" "Enable"
EndSection

Offline

#5 2007-05-28 20:27:58

efourseven
Member
Registered: 2005-07-03
Posts: 71

Re: ATI Radeon 9200 Resolution question [solved]

I never heard of xgl ... I'm not sure how it works, I'm looking into it now. Do I need to run Beryl with xgl? Or do i just need xgl?

edit: never mind, I installed xgl and beryl, got it working... cool stuff.

I got it finally.... The problem ended up being a dumb mistake on my part, as usual... I didn't load the radeon driver in the rc.conf file... damn.

Last edited by efourseven (2007-05-28 21:37:27)

Offline

Board footer

Powered by FluxBB