Skip to contentSkip to conversation

New: [radeon KMS] switching to res 1024x768 kills output

Bug 26639 [email protected] 1 participant 20 messages Feb 18, 2010 – May 16, 2010

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=26639

Summary: [radeon KMS] switching to res 1024x768 kills output
Product: DRI
Version: DRI CVS
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=33401)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33401)
dmesg output

Hi there,

switching to resolution 1024x768 doesn't work on my hardware (RV740 + IBM P260 CRT), the CRT simply fails to receive a signal and shuts down.

xrandr output:
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192 DVI-0 disconnected (normal left inverted right x axis y axis)
DIN disconnected (normal left inverted right x axis y axis)
DVI-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 388mm x 291mm

   1280x1024      85.0*+   75.0  
   1600x1200      85.0  
   1024x768       85.0     75.1     70.1     60.0  
   960x529        75.0  
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     72.8     75.0     60.0  
   720x400        87.8     70.1  

1280x1024 is the standard mode and I just tried it: Every other mode works completly fine - just the 1024x768 mode results in no signal.

No interesting output in dmesg when switching via xrandr.

Kernel is uptodate drm-linux branch of airlied's tree. But this also happens with drm-radeon-testing. Not sure if it's a KMS problem, but at least it happens with KMS enabled.

I can try a testrun with modeset disabled, if that helps.

Greets,
Tobias

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel® 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
--
#1 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

http://bugs.freedesktop.org/show_bug.cgi?id=26639

Tobias Jakobi <[email protected]> changed:

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

         OS/Version|All                         |Linux (All)
           Platform|Other                       |x86-64 (AMD64)
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#2 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #1 from Tobias Jakobi <[email protected]> 2010-02-18 13:13:45 PST --- Created an attachment (id=33402)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33402)
xorg logfile

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#3 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #2 from Tobias Jakobi <[email protected]> 2010-02-18 13:24:00 PST --- Created an attachment (id=33403)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33403)
EDID extracted from P260

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#4 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #3 from Alex Deucher <[email protected]> 2010-02-18 22:57:12 PST --- which 1024x768 mode is problematic? You have 4 of them:
1024x768 85.0 75.1 70.1 60.0

Does loading the radeon module with new_pll=0 help? e.g.,
modprobe radeon new_pll=0

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#5 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #4 from Tobias Jakobi <[email protected]> 2010-02-19 02:11:49 PST --- Yeah, sorry about that. I was talking about the 85hz refresh rate one, I mostly use 85hz refresh when it's available.

Going to test the new_pll parameters this evening and probably going to do also a check with KMS disabled.

Would it help to check the 1024x768 mode with the other refresh rates?

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#6 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #5 from Alex Deucher <[email protected]> 2010-02-19 08:18:16 PST --- (In reply to comment #4)

Quoted 2 lines

Would it help to check the 1024x768 mode with the other refresh rates?

for thoroughness, but if they do have problems, it's likely the same issue as the 85 hz one.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#7 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #6 from Tobias Jakobi <[email protected]> 2010-02-19 14:49:58 PST --- OK, tests done.

First of all: All other 1024x768 modes except the 85Hz one work, it's just this single one that makes the signal go weird

Disabling new_pll -> no change at all
Disabling KMS does the trick, switching to 1024x768 works again

Ready for more tests, so what should I do?

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#8 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #7 from Alex Deucher <[email protected]> 2010-02-19 15:20:14 PST --- (In reply to comment #6)

Quoted 7 lines

OK, tests done.

First of all: All other 1024x768 modes except the 85Hz one work, it's just this single one that makes the signal go weird

Disabling new_pll -> no change at all
Disabling KMS does the trick, switching to 1024x768 works again

Can you attach the log from the working run?

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#9 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #8 from Tobias Jakobi <[email protected]> 2010-02-19 15:38:00 PST --- Created an attachment (id=33441)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33441)
xorg log when output works

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#10 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #9 from Alex Deucher <[email protected]> 2010-02-23 10:20:41 PST --- Does UMS from git master, or this patch for KMS help?
http://people.freedesktop.org/~agd5f/0001-drm-radeon-kms-update-new-pll-algo.patch

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#11 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #10 from Tobias Jakobi <[email protected]> 2010-02-23 13:10:45 PST --- Nope, makes no difference.

By UMS you mean userspace mode setting? Like I said this works - modprobe radeon with modeset=0 and switching works.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#12 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #11 from Alex Deucher <[email protected]> 2010-02-23 19:14:08 PST --- Does the patch on bug 26668 help?

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#13 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #12 from Tobias Jakobi <[email protected]> 2010-02-24 14:42:34 PST --- No, just applied the fix to my tree but the issue stays the same.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#14 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #13 from Tobias Jakobi <[email protected]> 2010-03-09 07:04:34 PST --- A funny (maybe significant?) detail:
ut2003 works in 1024x768 mode - my guess is that it's not using xrandr to switch the res but the old method, I think it was via XVidMode

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#15 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #14 from Alex Deucher <[email protected]> 2010-03-09 07:11:22 PST --- (In reply to comment #13)

Quoted 4 lines

A funny (maybe significant?) detail:
ut2003 works in 1024x768 mode - my guess is that it's not using xrandr to switch the res but the old method, I think it was via XVidMode

It's likely not picking the same mode (i.e., probably not the same 85 hz mode).

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#16 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #15 from Tobias Jakobi <[email protected]> 2010-03-09 14:35:28 PST --- Yeah, you're right - it picks the 60Hz. Looks like I have to manually edit the INI to let it choose the 85Hz mode.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for 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
--
#17 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #16 from Tobias Jakobi <[email protected]> 2010-04-15 15:47:54 PDT --- Yesterday I updated libdrm, mesa and xf86-video-ati to git master tip and also pulled the latest stuff from drm-radeon-testing.

Issue is still there.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#18 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=26639

Alex Deucher <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #17 from Alex Deucher <[email protected]> 2010-05-13 14:18:07 PDT --- This is a bug in the drm edid handling. Patch is here:
http://lists.freedesktop.org/archives/dri-devel/2010-May/000611.html

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=26639

--- Comment #18 from Tobias Jakobi <[email protected]> 2010-05-16 13:36:20 PDT --- Nice, just applied the patch and 1024x768@85Hz works again!

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.