Bug 23970 - Xrandr issue on ATI ES1000
Summary: Xrandr issue on ATI ES1000
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 01:55 UTC by chongzhangscu
Modified: 2018-06-12 19:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (169.53 KB, patch)
2009-09-16 01:56 UTC, chongzhangscu
no flags Details | Splinter Review
Xorg.conf (1.15 KB, text/plain)
2009-09-16 01:57 UTC, chongzhangscu
no flags Details
command xrandr (838 bytes, text/plain)
2009-09-16 02:00 UTC, chongzhangscu
no flags Details
xrandr--verbose (8.37 KB, text/plain)
2009-09-16 02:12 UTC, chongzhangscu
no flags Details
xrandr VGA-0--off--verbose (83 bytes, text/plain)
2009-09-16 03:08 UTC, chongzhangscu
no flags Details
xrandr VGA-0 --auto--verbose (92 bytes, text/plain)
2009-09-16 03:09 UTC, chongzhangscu
no flags Details

Description chongzhangscu 2009-09-16 01:55:29 UTC
When connected two monitors(monitor A and monitor B)
monitor A --- VGA-0
monitor B --- VGA-1
type xrandr --output VGA-0 --off
monitor A is off and monitor B is on. However, when type
xrandr --output VGA-1 --off
monitor A is still off and monitor B is on
Comment 1 chongzhangscu 2009-09-16 01:56:05 UTC
Created attachment 29585 [details] [review]
Xorg.0.log
Comment 2 chongzhangscu 2009-09-16 01:57:55 UTC
Created attachment 29586 [details]
Xorg.conf
Comment 3 chongzhangscu 2009-09-16 02:00:12 UTC
Created attachment 29587 [details]
command xrandr
Comment 4 Dave Airlie 2009-09-16 02:05:16 UTC
can you post xrandr --verbose?

I suspect its an xrandr bug but need to see the verbose.
Comment 5 chongzhangscu 2009-09-16 02:12:36 UTC
Created attachment 29588 [details]
xrandr--verbose
Comment 6 Dave Airlie 2009-09-16 02:24:45 UTC
could you attach two logs from the following scenarios

start X, 
xrandr --output VGA-0 --off

start X,
xrandr --output VGA-1 --off

just want to make sure I can see the sequence of events in the log.
Comment 7 chongzhangscu 2009-09-16 03:08:38 UTC
Created attachment 29589 [details]
xrandr VGA-0--off--verbose
Comment 8 chongzhangscu 2009-09-16 03:09:13 UTC
Created attachment 29590 [details]
xrandr VGA-0 --auto--verbose
Comment 9 chongzhangscu 2009-09-16 03:14:15 UTC
for start X, 
xrandr --output VGA-0 --off

start X,
xrandr --output VGA-1 --off

there is no log info
Comment 10 chongzhangscu 2009-09-17 22:16:07 UTC
(In reply to comment #0)
> When connected two monitors(monitor A and monitor B)
> monitor A --- VGA-0
> monitor B --- VGA-1
> type xrandr --output VGA-0 --off
> monitor A is off and monitor B is on. However, when type
> xrandr --output VGA-1 --off
> monitor A is still off and monitor B is on

Sorry a typo

> When connected two monitors(monitor A and monitor B)
> monitor A --- VGA-0
> monitor B --- VGA-1
> type xrandr --output VGA-0 --off
> monitor A is off and monitor B is on. However, when type
> xrandr --output VGA-0 --auto
> monitor A is still off and monitor B is on
Comment 11 chongzhangscu 2009-09-26 18:23:40 UTC
(In reply to comment #4)
> can you post xrandr --verbose?
> I suspect its an xrandr bug but need to see the verbose.

Thanks airlied
 
I tried to investigate bug 23970, and found radeon driver will step into radeon_crtc_set_origin instead of radeon_crtc_mode_fixup, mode_prepare, mode_commit.
 
However, in radeon_crtc_set_origin, radeon driver fails to set DAC_CNTL2 to enable TVDAC, and also CRTC2_GEN_CNTL and so on.
 
Then I try to add code in radeon_crtc_set_origin and force driver to execute mode fixup, mode_prepare and mode_commit (both crtc and output), then radeon driver can run xrandr command right.
 
But I think it is not set_origin's responsibility to enable CRTC_CNTL and DAC_CNTL, I just wanna why radeon driver introduced radeon_crtc_set_origin and its role in xrandr panning?

Comment 12 Alex Deucher 2010-10-19 17:51:45 UTC
Is this still an issue with KMS or a newer version of the driver?
Comment 13 Adam Jackson 2018-06-12 19:07:49 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.