Skip to contentSkip to conversation

New: Radeon KMS on RV250 gets wrong refresh rate.

Bug 15112 [email protected] 1 participant 14 messages Jan 23, 2010 – Feb 27, 2010

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=15112

Summary: Radeon KMS on RV250 gets wrong refresh rate.
Product: Drivers
Version: 2.5
Kernel Version: 2.6.33-rc5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

When booting with KMS disabled, the ati UMS xorg driver properly sets the display mode to [email protected]. xrandr reports the following modes:

$ DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 1400 x 1400
VGA-0 disconnected (normal left inverted right x axis y axis)        
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x
0mm
   1400x1050      60.2*+                                                        
   1280x1024      59.9     60.0                                                 
   1280x960       60.0     59.9                                                 
   1280x854       59.9                                                          
   1280x800       59.8                                                          
   1280x720       59.9                                                          
   1152x768       59.8                                                          
   1024x768       60.0     59.9                                                 
   800x600        60.3     59.9                                                 
   640x480        59.9     59.4                                                 
S-video disconnected (normal left inverted right x axis y axis)

However when booting with KMS enabled, all that appears is a black screen. After verifying that fbcon is built into the kernel and that KMS is initializing, I also found that the xserver had started up, but still with a blank screen. After blindly logging in, I ssh'd into the box, and found the following xrandr modes:

$ DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 4096 x 4096
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x
0mm
   1400x1050      60.5 +   60.0*
   1280x1024      59.9     60.0
   1280x960       60.0     59.9
   1280x854       59.9
   1280x800       59.8
   1280x720       59.9
   1152x768       59.8
   1024x768       60.0     59.9
   800x600        60.3     59.9
   848x480        59.7
   720x480        59.7
   640x480        59.9     59.4
S-video disconnected (normal left inverted right x axis y axis)

It appears when using KMS, the correct refresh rate for the 1400x1050 resolution isn't found and instead is a rate that doesn't work with this panel gets setup, resulting in a blank screen.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#1 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

http://bugzilla.kernel.org/show_bug.cgi?id=15112

--- Comment #1 from Joe Kowalski <[email protected]> 2010-01-23 07:58:51 --- Created an attachment (id=24680)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24680)
Dmesg under kms

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#2 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

Joe Kowalski <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #24680|Dmesg under kms             |Dmesg under Ums
        description|                            |
Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#3 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

Joe Kowalski <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #24680|dmesg-kms.log               |dmesg-ums.log
           filename|                            |
Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#4 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

--- Comment #2 from Joe Kowalski <[email protected]> 2010-01-23 08:06:29 --- Created an attachment (id=24681)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24681)
Dmesg under kms

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#5 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

--- Comment #3 from Joe Kowalski <[email protected]> 2010-01-23 08:07:37 --- Oops first attachment is under ums.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#6 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

--- Comment #4 from Joe Kowalski <[email protected]> 2010-01-23 08:08:49 --- Created an attachment (id=24682)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24682)
Xorg.0.log under ums

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#7 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

--- Comment #5 from Joe Kowalski <[email protected]> 2010-01-23 08:09:22 --- Created an attachment (id=24683)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24683)
Xorg.0.log under kms

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#8 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

--- Comment #6 from Joe Kowalski <[email protected]> 2010-01-23 08:13:14 --- Forgot to add: Switching modes under kms with xrandr to a resolution below 1400x1050 results in a working display, although at a poorer resolution. Switching back to the 1400x1050 mode results in a black screen again.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#9 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Alex Deucher <[email protected]> 2010-01-23 15:58:12 --- Under KMS you have two 1400x1050 modes:
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1400x1050 60.5 + 60.0*

For some reason, 1400x1050@60 is being selected (marked with the *) while [email protected] is the panel's preferred mode (marked with the +). Does selecting [email protected] with xrandr work? e.g.,
xrandr --output LVDS --mode 1400x1050 --rate 60.5

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#10 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

--- Comment #8 from Joe Kowalski <[email protected]> 2010-01-23 22:06:18 --- Okay, after boot it does default to the 60.5 rate, but only displaying the black screen:
$DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 4096 x 4096 VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm

   1400x1050      60.5*+   60.0                                                 
   1280x1024      59.9     60.0                                                 
   1280x960       60.0     59.9                                                 
   1280x854       59.9                                                          
   1280x800       59.8                                                          
   1280x720       59.9                                                          
   1152x768       59.8                                                          
   1024x768       60.0     59.9                                                 
   800x600        60.3     59.9                                                 
   848x480        59.7                                                          
   720x480        59.7                                                          
   640x480        59.9     59.4                                                 

S-video disconnected (normal left inverted right x axis y axis)

After switching to a different resolution or to the 60.0 rate (still a black screen), I can't switch back to the 60.5 rate:

$ DISPLAY=:0 xrandr -s 1400x1050 --rate 60.5     
$ DISPLAY=:0 xrandr 
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 4096 x 4096
VGA-0 disconnected (normal left inverted right x axis y axis)        
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x
0mm
   1400x1050      60.5 +   60.0*                                                
   1280x1024      59.9     60.0                                                 
   1280x960       60.0     59.9                                                 
   1280x854       59.9                                                          
   1280x800       59.8                                                          
   1280x720       59.9                                                          
   1152x768       59.8                                                          
   1024x768       60.0     59.9                                                 
   800x600        60.3     59.9                                                 
   848x480        59.7                                                          
   720x480        59.7                                                          
   640x480        59.9     59.4                                                 
S-video disconnected (normal left inverted right x axis y axis)
Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#11 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

--- Comment #9 from Alex Deucher <[email protected]> 2010-01-25 03:36:00 --- Can you attach a copy of your video bios?
as root:
cd /sys/bus/pci/devices/<pci bus id>
echo 1 > rom
cat rom > /tmp/rv250.rom
echo 0 > rom

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#12 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

--- Comment #10 from Joe Kowalski <[email protected]> 2010-01-25 05:50:07 --- Created an attachment (id=24699)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24699)
RV250 bios

Here you go.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#13 lore raw

[Bug 15112] Radeon KMS on RV250 gets wrong refresh rate.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15112

Joe Kowalski <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|2.6.33-rc5                  |2.6.33

--- Comment #11 from Joe Kowalski <[email protected]> 2010-02-27 16:14:55 --- This problem is still present in 2.6.33 final.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--