rotation doesn't work with this board using Screen Resolution

Bug #197680 reported by Emmanuel Pacaud
30
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Invalid
Undecided
Unassigned
xserver-xorg-video-ati (Ubuntu)
Fix Released
High
Unassigned
Hardy
Won't Fix
Critical
Bryce Harrington
Intrepid
Fix Released
High
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati

xrandr rotation seems to do bad things with the following board:

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] (prog-if 00 [VGA controller])
        Subsystem: Hightech Information System Ltd. Unknown device 0f02
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (2000ns min), Cache Line Size: 32 bytes
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at d800 [size=256]
        Region 2: Memory at ef000000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at effe0000 [disabled] [size=128K]
        Capabilities: <access denied>
00: 02 10 59 51 87 00 b0 02 00 00 00 03 08 40 00 00
10: 08 00 00 f0 01 d8 00 00 00 00 00 ef 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 87 17 02 0f
30: 00 00 fe ef 58 00 00 00 00 00 00 00 ff 00 08 00

Using gnome-display-properties and choosing left rotation, screen goes black. It's sometime possible to switch to the text console, but not always. In this case, a reboot is necessary (along with a modification of the .gnome2/monitors.xml file in order to restore rotation to normal).

Revision history for this message
Emmanuel Pacaud (emmanuel-pacaud) wrote :

ii xserver-xorg-v 1:6.8.0-1 X.Org X server -- ATI display driver
ii xserver-xorg 1:7.3+10ubuntu the X.Org X server

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Confirmed with ATI IGP 340M "ati" open source driver with Hardy (yesterday build, pre beta release) live cd.

I can always switch to text console.

I have to try this in console

xrandr --output DVI-0 --auto

should fix I think, as reported here Bug #198165 (I think could be a duplicate)

Changed in xserver-xorg-video-ati:
status: New → Confirmed
Revision history for this message
Florent Mertens (givre) wrote :

Does changing the rotation from the command line works better ?

xrandr --output DVI-0 --rotate left

it might be a bug in gnome-display-properties.

Revision history for this message
Bryce Harrington (bryce) wrote :

I've been able to reproduce this with the Xrandr GUI. I think the next step would be to either replicate the problem with the xrandr command line tool, or else get a full backtrace showing where in the code the problem originates, so we can report it upstream.

Changed in xserver-xorg-video-ati:
importance: Undecided → Critical
milestone: none → ubuntu-8.04.1
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

I tried giving
xrandr --output DVI-0 --rotate left --verbose

command from a terminal, but nothing happened. (really strange)

This bug seems to come up only via GUI.
To restore it I need to switch to a console (Alt + F1)
restarting gdm (more than one time because it fails)

Please teel me how to do a full backtrace.
What debug symbols do I have to install? (Xorg, xserver-xorg-core, etc...)

Revision history for this message
Alexander Jones (alex-weej) wrote : Re: [Bug 197680] Re: rotation doesn't work with this board

I will have access to my radeon machine tomorrow evening, so I can
give this a go then. I'm pretty sure xrandr CLI /does/ work, because I
was using it to recover my screen via ssh before. Things may have
changed since then, of course.

Revision history for this message
Sergio Zanchetta (primes2h) wrote : Re: rotation doesn't work with this board

Here you have.
When I attach Xorg process to gdb.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

When switching to left using GUI

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

And finally, a full backtrace.

i had to do all this from a remote machine because when I tried to attach Xorg process to gdb on the 'sick' computer from a text console it hanged.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
status: Confirmed → Triaged
Revision history for this message
Sergio Zanchetta (primes2h) wrote : Re: [Bug 197680] Re: rotation doesn't work with this board

In fact using cmdline xrandr from a terminal (xrandr --output DVI-0 --rotate
left --verbose, for example) does nothing for me, as I wrote on a comment
above.

2008/4/30 Bryce Harrington <email address hidden>:

> ** Changed in: xserver-xorg-video-ati (Ubuntu)
> Status: Confirmed => Triaged
>
> ** Summary changed:
>
> - rotation doesn't work with this board
> + rotation doesn't work with this board using Screen Resolution (works
> with cmdline xrandr)
>
> --
> rotation doesn't work with this board using Screen Resolution (works with
> cmdline xrandr)
> https://bugs.launchpad.net/bugs/197680
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Steve Langasek (vorlon)
Changed in xserver-xorg-video-ati:
milestone: ubuntu-8.04.1 → none
importance: Undecided → Critical
status: New → Triaged
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
assignee: nobody → bryceharrington
Revision history for this message
AZ (m-dev) wrote :

Hi,

I've been running
$ xrandr --output DVI-0 --rotate left --verbose
  crtc 0: disable
  screen 0: 768x1024 202x270 mm 96.09dpi
  crtc 0: 1024x768 75.1 +0+0 "DVI-0"

or
$ xrandr -r 1

which renders my screen almost unusable (mouse cursor looks weird, border of the screen or switching apps preview looks weird -a lot of different, senseless colors).

I'm using ubuntu hardy on x86 with ati radeon driver installed

~$ sudo lspci -s 01:00 -v
01:00.0 VGA compatible controller: ATI Technologies Inc RV410 [Radeon X700 Pro (PCIE)] (prog-if 00 [VGA controller])
 Subsystem: Micro-Star International Co., Ltd. Unknown device 1780
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at c8000000 (64-bit, prefetchable) [size=128M]
 Memory at d0030000 (64-bit, non-prefetchable) [size=64K]
 I/O ports at c000 [size=256]
 [virtual] Expansion ROM at 50000000 [disabled] [size=128K]
 Capabilities: [50] Power Management version 2
 Capabilities: [58] Express Endpoint IRQ 0
 Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

01:00.1 Display controller: ATI Technologies Inc RV410 [Radeon X700 Pro (PCIE)] (Secondary)
 Subsystem: Micro-Star International Co., Ltd. Unknown device 1781
 Flags: fast devsel
 Memory at d0020000 (64-bit, non-prefetchable) [disabled] [size=64K]
 Capabilities: [50] Power Management version 2
 Capabilities: [58] Express Endpoint IRQ 0

Revision history for this message
AZ (m-dev) wrote :

sry, it has been xrandr -o 1 instead of xrandr -r 1 ... .

Revision history for this message
Brian Murray (brian-murray) wrote : Ubuntu needs you!

Thanks for taking the time to report this bug and helping to make Ubuntu better. In the development cycle for Intrepid there have been some vast improvements in the open source ati video driver and we could use your help testing them. Could you please download the latest Alpha CD image of Intrepid and test this particular bug just using the Live CD? You can find the latest image at http://www.ubuntu.com/testing . Your testing can help make Ubuntu and the open source ati driver even better! Thanks in advance.

Changed in xserver-xorg-video-ati:
status: Triaged → Incomplete
Revision history for this message
Samuel Lidén Borell (samuellb) wrote :

I used to have this problem with my "Radeon Xpress 200M" card, but rotation works flawlessly now (except that some invalid rotation+size combinations are allowed).

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for letting us know the issue is resolved in Intrepid; I'm marking it fixed. I'll leave the Hardy task open in case in case we identify the exact patch that fixed it and wish to backport it.

Changed in xserver-xorg-driver-ati:
status: New → Invalid
Changed in xserver-xorg-video-ati:
status: Triaged → Fix Released
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Unfortunately it's not fixed at all in Intrepid.
I tried with intrepid Alpha 4 live cd and I get the same behaviour I have in Hardy (see my previous comments)

Changed in xserver-xorg-video-ati:
status: Fix Released → Confirmed
Revision history for this message
Loïc Minier (lool) wrote :

Anyone know why there's an intrepid task open for this bug? I understand it's fixed in intrepid.

Revision history for this message
Sergio Zanchetta (primes2h) wrote : Re: [Bug 197680] Re: rotation doesn't work with this board using Screen Resolution

It's not fixed for me in Intrepid!

2008/8/29 Loïc Minier <email address hidden>

> Anyone know why there's an intrepid task open for this bug? I
> understand it's fixed in intrepid.
>
> --
> rotation doesn't work with this board using Screen Resolution
> https://bugs.launchpad.net/bugs/197680
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Bryce Harrington (bryce) wrote :

Reducing importance since it's still an issue for some, but not everyone.

Changed in xserver-xorg-video-ati:
importance: Critical → High
Revision history for this message
Bryce Harrington (bryce) wrote :

Sergio, sorry you are still having problems, but you haven't attached your /var/log/Xorg.0.log so we've no idea e.g. what hardware you're using, versions, etc. Please attach that or we can't investigate it for you.

Steve Langasek (vorlon)
Changed in xserver-xorg-video-ati:
status: Confirmed → Incomplete
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Sorry, I forgot to do it.
Here you have.

Thank you very much.

Changed in xserver-xorg-video-ati:
status: Incomplete → Confirmed
status: Incomplete → Confirmed
Bryce Harrington (bryce)
Changed in xserver-xorg-driver-ati:
status: Invalid → New
Changed in xserver-xorg-video-ati:
status: Confirmed → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

Sergio, in comment #5 you indicate you're trying to do xrandr with DVI-0, but according to this log, your external display is connected to VGA-0, *not* DVI-0. Try xrandr with VGA-0 instead of DVI-0.

(This is important because we can't upstream the bug to X.org if we can't reproduce it with xrandr. They don't care if only the gui tool is broken.)

Changed in xserver-xorg-video-ati:
status: Triaged → Incomplete
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

@Bryce.
Sorry.

Anyway, In Hardy I tried giving

xrandr --output VGA-0 --rotate left

command from a terminal, but nothing happened, no rotation, no output from terminal, nothing.
It's the same result I got using DVI-0.

I try it in Intrepid ASAP and I'll give you the result.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Ok, so I tried giving

xrandr --output VGA-0 --rotate left

command using Intrepid alpha4 live cd but I got the same result as in Hardy, nothing.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

UPDATE

In an installed updated Intrepid system (not Alpha 4 live cd) rotation via Screen Resolution works!
On live cd it doesn't.

Strangely Screen Resolution has 'up down' rotation choice only, not left or right (as it had in Hardy), but I think it's a GUI issue itself.
Am I right?

Revision history for this message
Bryce Harrington (bryce) wrote :

Could you doublecheck the version numbers of the -ati driver for both those cases? I *think* we updated the driver since alpha-4, but I can't recall for sure.

Changed in xserver-xorg-video-ati:
status: Incomplete → Triaged
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Version in Alpha4 is:
xserver-xorg-video-ati_6.9.0+git20080802.1f3eee36-1ubuntu1

Intrepid updated has the same:
xserver-xorg-video-ati (1:6.9.0+git20080802.1f3eee36-1ubuntu1)
I got it from Changelog.Debian in /usr/share/doc/xserver-xorg-video-ati/

The issue probably depends on live cd.

I faced a similar problem on Gutsy Tribe 5. Dri didn't load automatically on live cd, but it did on an installed system.

Revision history for this message
Bryce Harrington (bryce) wrote :

I can also confirm left/right/up/down rotation all are working now, with -ati version 1:6.9.0+git20080826.a3cc1d7a-2ubuntu3

Changed in xserver-xorg-video-ati:
status: Triaged → Fix Released
Bryce Harrington (bryce)
Changed in xserver-xorg-driver-ati:
status: New → Invalid
Revision history for this message
Bryce Harrington (bryce) wrote :

As per comment #15, since we never did sort out exactly what patch fixed it, and since there haven't been further complaints from hardy users, it's not looking like we'll be backporting the fix for this one to hardy.

Changed in xserver-xorg-video-ati (Ubuntu Hardy):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.