Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg with radeon driver and 1600x1200 over DVI
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Plaz
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2002
Posts: 101
Location: Portland, OR

PostPosted: Mon Oct 25, 2004 10:49 pm    Post subject: Xorg with radeon driver and 1600x1200 over DVI Reply with quote

Does anybody have Xorg running successfully with the included 'radeon' driver in 1600x1200 mode driving a flat panel monitor over DVI?

I have a Dell 2001FP monitor that was working fine with the correspondnig XFree86 driver, but the Xorg version seems to use different timings which cause the monitor to lose sync and try to enter some strange mode (1408x1200) that involves lots of snow.

I've tried searching for various ModeLine overrides, but haven't gotten very far. Everything works fine in lower resolutions, but the image quality isn't as nice since they're not the native display resolution.

If anybody has this combination working in either Xorg or XFree, can you post your configs and/or logs?

Here are some relevant portions of my xorg.conf:

Code:

Section "Module"
    Load        "dbe"
    SubSection  "extmod"
      Option    "omit xfree86-dga"
    EndSubSection
    Load        "type1"
    Load        "freetype"
EndSection

Section "Monitor"
    Identifier  "Dell 2001FP"
    HorizSync   31.5 - 80.5
    VertRefresh 56-76   # Also tried limiting to 60 Hz
EndSection

Section "Device"
    Identifier  "ATI Radeon Mobility M9"
    Driver      "radeon"
    #Option     "DDCMode"       "False"
    Option      "IgnoreEDID"    "True"
    #VideoRam    65536
EndSection

Section "Screen"
    Identifier  "Laptop"
    Device      "ATI Radeon Mobility M9"
    Monitor     "Dell 2001FP"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen      "Laptop"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


And some portions of my Xorg.0.log:
Code:

(II) RADEON(0): I2C bus "DDC" initialized.
(II) RADEON(0): Legacy BIOS detected
(II) RADEON(0): Connector0: DDCType-2, DACType-1, TMDSType-0, ConnectorType-4
(II) RADEON(0): Connector1: DDCType-3, DACType-0, TMDSType--1, ConnectorType-2
(**) RADEON(0): IgnoreEDID is specified, EDID data will be ignored
(WW) RADEON(0): No DELL server found
(WW) RADEON(0): At least one monitor type is unknown...working harder.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 2, Detected Type: 3
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 3, Detected Type: 0
(II) RADEON(0):
(II) RADEON(0): Primary:
 Monitor   -- TMDS
 Connector -- DVI-D
 DAC Type  -- TVDAC/ExtDAC
 TMDS Type -- Internal
 DDC Type  -- DVI_DDC
(II) RADEON(0): Secondary:
 Monitor   -- NONE
 Connector -- VGA
 DAC Type  -- Primary
 TMDS Type -- NONE
 DDC Type  -- VGA_DDC
(II) RADEON(0): PLL parameters: rf=2700 rd=12 min=20000 max=35000; xclk=20000
(II) RADEON(0): DFP table revision: 3
(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
(==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
(II) RADEON(0): Validating modes on Primary head ---------
(II) RADEON(0): Total number of valid DDC mode(s) found: 0
(II) RADEON(0): Dell 2001FP: Using hsync range of 31.50-75.50 kHz
(II) RADEON(0): Dell 2001FP: Using vrefresh range of 56.00-60.00 Hz
(II) RADEON(0): Clock range:  20.00 to 350.00 MHz
(II) RADEON(0): Not using default mode "640x350" (vrefresh out of range)

[snip]

(--) RADEON(0): Virtual size is 1600x1200 (pitch 1600)
(**) RADEON(0): *Default mode "1600x1200": 162.0 MHz, 75.0 kHz, 60.0 Hz
(II) RADEON(0): Modeline "1600x1200"  162.00  1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
(**) RADEON(0): *Default mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz
(II) RADEON(0): Modeline "1400x1050"  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync
(**) RADEON(0): *Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(II) RADEON(0): Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
(**) RADEON(0): *Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(II) RADEON(0): Modeline "1024x768"   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync

[snip]

(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] 0   0       0xfcff0000 - 0xfcffffff (0x10000) MX[B]
        [1] 0   0       0xe8000000 - 0xefffffff (0x8000000) MX[B]
        [2] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [3] -1  0       0x00100000 - 0x1fffffff (0x1ff00000) MX[B]E(B)
        [4] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [5] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [6] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [7] -1  0       0xfafef000 - 0xfafeffff (0x1000) MX[B]
        [8] -1  0       0xfaff0000 - 0xfaffffff (0x10000) MX[B]
        [9] -1  0       0xf4fff400 - 0xf4fff4ff (0x100) MX[B]
        [10] -1 0       0xf4fff800 - 0xf4fff9ff (0x200) MX[B]
        [11] -1 0       0x20000000 - 0x200003ff (0x400) MX[B]
        [12] -1 0       0xf4fffc00 - 0xf4ffffff (0x400) MX[B]
        [13] -1 0       0xe0000000 - 0xdfffffff (0x0) MX[B]O
        [14] -1 0       0xfcff0000 - 0xfcffffff (0x10000) MX[B](B)
        [15] -1 0       0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
        [16] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B](OprU)
        [17] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
        [18] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
        [19] 0  0       0x0000c000 - 0x0000c0ff (0x100) IX[B]
        [20] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [21] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [22] -1 0       0x0000b080 - 0x0000b0ff (0x80) IX[B]
        [23] -1 0       0x0000b400 - 0x0000b4ff (0x100) IX[B]
        [24] -1 0       0x0000bc40 - 0x0000bc7f (0x40) IX[B]
        [25] -1 0       0x0000b800 - 0x0000b8ff (0x100) IX[B]
        [26] -1 0       0x0000bfa0 - 0x0000bfaf (0x10) IX[B]
        [27] -1 0       0x00000374 - 0x00000374 (0x1) IX[B]
        [28] -1 0       0x00000170 - 0x00000170 (0x1) IX[B]
        [29] -1 0       0x000003f4 - 0x000003f4 (0x1) IX[B]
        [30] -1 0       0x000001f0 - 0x000001f0 (0x1) IX[B]
        [31] -1 0       0x0000bf20 - 0x0000bf3f (0x20) IX[B]
        [32] -1 0       0x0000bf40 - 0x0000bf5f (0x20) IX[B]
        [33] -1 0       0x0000bf80 - 0x0000bf9f (0x20) IX[B]
        [34] -1 0       0x0000c000 - 0x0000c0ff (0x100) IX[B](B)
        [35] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [36] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) RADEON(0): Write-combining range (0xe8000000,0x4000000)
(II) RADEON(0): Dynamic Clock Scaling Disabled
(II) RADEON(0): Memory manager initialized to (0,0) (1600,8191)
(II) RADEON(0): Reserved area from (0,1200) to (1600,1202)
(II) RADEON(0): Largest offscreen area available: 1600 x 6989
(II) RADEON(0): Render acceleration enabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1202)
(II) RADEON(0): Largest offscreen area available: 1600 x 6986
(II) RADEON(0): Dotclock is 162 Mhz, setting ecp_div to 0
(II) RADEON(0): Direct rendering disabled
(==) RandR enabled


There may be some non-standard messages in my log since I've been adding some print messages into the driver code to try to figure out what's going on in there.
Back to top
View user's profile Send private message
tightcode
Tux's lil' helper
Tux's lil' helper


Joined: 23 Mar 2004
Posts: 110

PostPosted: Tue Oct 26, 2004 11:35 pm    Post subject: Reply with quote

First thing I notice is that I believe your syncs are off... Try it with 31-80

My monitor block:
Code:
Section "Monitor"
  HorizSync    31-80
  Identifier   "Monitor[0]"
  ModelName    "2001FP"
  Option       "DPMS"
  VendorName   "DELL"
  VertRefresh  56-76
  UseModes     "Modes[0]"
EndSection


Going from xorg 6.7.0 to 6.8.0 lost the ability to use DVI for me though.
For more reading of the problems I went through:
here
here

Someone sent me a possible solution I am working on testing now I will let you know how it goes.

Cheers,

TightCode
Back to top
View user's profile Send private message
JDHarris
n00b
n00b


Joined: 24 Oct 2004
Posts: 45

PostPosted: Wed Oct 27, 2004 12:05 am    Post subject: Reply with quote

I have xorg 6.8 working on my Radeon 9000 Pro with dual monitors (Sony CPD-G420's). I can post the xorg.conf file if you like, but the problem you're having sounds like you don't have the correct settings for your display (vert and horizontal refresh rates) in your xorg.conf file. Just post a response here if you'd like me to post my config.
_________________
Athlon 64 3500+
2 GB of RAM
2 74GB Raptors RAID 0
nVidia GeForce 6800 GT 256 MB
Back to top
View user's profile Send private message
Plaz
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2002
Posts: 101
Location: Portland, OR

PostPosted: Wed Oct 27, 2004 4:03 am    Post subject: Reply with quote

Thanks for the pointers. I'm pretty sure I tried a variety of legal HorizSync options, but I will try again tomorrow using tightcode's Monitor section when I'm back at the office.

I *did* try to use it without the IgnoreEDID option and without the HorizSync and VertRefresh overrides, and it exhibited exactly the same behavior using whatever it's getting over the DDC interface.

Today I verified that switching back to XFree86 makes it work just fine. I thought maybe I'd screwed up the monitor somehow. I took some register dumps using radeontool in XFree and I'll take some new ones tomorrow now that I've got Xorg installed again to see if there are any interesting discrepancies.
Back to top
View user's profile Send private message
Plaz
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2002
Posts: 101
Location: Portland, OR

PostPosted: Wed Oct 27, 2004 6:17 pm    Post subject: Reply with quote

Well, I tried the monitor section from tightcode and it's still broken for 1600x1200 over DVI. I think the driver just isn't configuring the card properly for this mode, but I'm at a loss to debug it.

I did some register dumps using radeontool, and the only register difference between Xorg and Xfree that showed up was on the RADEON_GPIO_CRT2_DDC register (0x300 vs. 0x30000 in case anybody knows that that means). I'll try to hack something to make it match, but I'm guessing that the problem is with something that isn't going to be visible via radeontool.

It turns out that the problem is ONLY with the DVI interface. If I use the analog connector instead, it seems to display fine in 1600x1200 mode. The problem is that the picture quality isn't nearly as good as with DVI, so I'd really like to get it working again.
Back to top
View user's profile Send private message
Plaz
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2002
Posts: 101
Location: Portland, OR

PostPosted: Wed Oct 27, 2004 6:37 pm    Post subject: Reply with quote

It's actually stranger than I thought. The only way I can get 1600x1200 to work now is to do:

1. Boot system with only DVI connected
2. Start X with DVI connected
3. Switch to VGA connector after X is running

It looks to me like the driver is configuring my Radeon Mobility M9 to use the VGA output after reading the DDC info from the DVI port, but I don't know enough about what goes on internally.

When I tried to boot/startx using only the VGA connector, it decided that it couldn't really drive that high of a resolution and wouldn't go higher than 1280x1024.

Does *anybody* out there have 1600x1200 over DVI using the Xorg 'radeon' driver?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum