[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Xrandr rotating a USB 2.0 display-link device?
From:       Stirling Westrup <swestrup () gmail ! com>
Date:       2015-03-05 6:36:18
Message-ID: CAJt7KB-euJJRy80N+tvMNJ-3FVkr+-HypSO1R5JBYhQ880BqeQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I don't know about the latest dlink chips, but the older ones do not
support hardware rotation, and the standard backup method for implementing
screen rotation in Xorg fails for devices (like USB-attached Video) that
don't have standard framebuffers.

I know that there are plans to back-port an alternative screen rotation
scheme for older dlink chips, but its pretty far down the 'to do' list, and
probably won't get done any time soon, if at all.


On Mon, Jan 19, 2015 at 11:15 PM, Sunny Dubey <sunny@audiowiki.org> wrote:

> Hi guys,
>
> I have the AOC E1649FWU. It is a USB 2.0 displaylink device.
> http://us.aoc.com/monitor_displays/e1649fwu
>
> It works fine in Linux. But I am unable to rotate it via xrandr.
>
> The screen goes blank when I attempt to rotate left or right. I am
> able to fix the screen by rotating normal. However when I attempt to
> rotate again I get the following error:
>
> [sunny@localhost ~]$ xrandr --output DVI-1-0 --right-of eDP1 --rotate
> normal --mode 1366x768_72.00 --rotate left
> X Error of failed request:  BadValue (integer parameter out of range
> for operation)
>   Major opcode of failed request:  139 (RANDR)
>   Minor opcode of failed request:  7 (RRSetScreenSize)
>   Value in failed request:  0x0
>   Serial number of failed request:  48
>   Current serial number in output stream:  49
>
> I am on Fedora 21 with kernel version 3.17.8-300.fc21.x86_64 and X.org
> version: 1.16.2.901 (1.16.3 RC 1)
>
> The following are links to info people may consider useful in debugging
> this:
>
> EDID information:
>
> https://gist.github.com/intsunny/cc6e1341e68fb9fb0a51
>
> xrandr commands used to config screen:
>
> https://gist.github.com/intsunny/10bac695e0533fcc73f8
>
> dmesg info of screen:
>
> https://gist.github.com/intsunny/2d0b503ca2e8fbb87311
>
> Xorg.0.log output:
>
> https://gist.github.com/intsunny/6333714651b777adeb7b
> _______________________________________________
> xorg@lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s




-- 
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup

[Attachment #5 (text/html)]

<div dir="ltr"><div>I don&#39;t know about the latest dlink chips, but the older ones \
do not support hardware rotation, and the standard backup method for implementing \
screen rotation in Xorg fails for devices (like USB-attached Video) that don&#39;t \
have standard framebuffers.<br><br></div><div>I know that there are plans to \
back-port an alternative screen rotation scheme for older dlink chips, but its pretty \
far down the &#39;to do&#39; list, and probably won&#39;t get done any time soon, if \
at all.<br><br></div> </div><div class="gmail_extra"><br><div class="gmail_quote">On \
Mon, Jan 19, 2015 at 11:15 PM, Sunny Dubey <span dir="ltr">&lt;<a \
href="mailto:sunny@audiowiki.org" target="_blank">sunny@audiowiki.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">Hi guys,<br> <br>
I have the AOC E1649FWU. It is a USB 2.0 displaylink device.<br>
<a href="http://us.aoc.com/monitor_displays/e1649fwu" \
target="_blank">http://us.aoc.com/monitor_displays/e1649fwu</a><br> <br>
It works fine in Linux. But I am unable to rotate it via xrandr.<br>
<br>
The screen goes blank when I attempt to rotate left or right. I am<br>
able to fix the screen by rotating normal. However when I attempt to<br>
rotate again I get the following error:<br>
<br>
[sunny@localhost ~]$ xrandr --output DVI-1-0 --right-of eDP1 --rotate<br>
normal --mode 1366x768_72.00 --rotate left<br>
X Error of failed request:   BadValue (integer parameter out of range<br>
for operation)<br>
   Major opcode of failed request:   139 (RANDR)<br>
   Minor opcode of failed request:   7 (RRSetScreenSize)<br>
   Value in failed request:   0x0<br>
   Serial number of failed request:   48<br>
   Current serial number in output stream:   49<br>
<br>
I am on Fedora 21 with kernel version 3.17.8-300.fc21.x86_64 and X.org<br>
version: 1.16.2.901 (1.16.3 RC 1)<br>
<br>
The following are links to info people may consider useful in debugging this:<br>
<br>
EDID information:<br>
<br>
<a href="https://gist.github.com/intsunny/cc6e1341e68fb9fb0a51" \
target="_blank">https://gist.github.com/intsunny/cc6e1341e68fb9fb0a51</a><br> <br>
xrandr commands used to config screen:<br>
<br>
<a href="https://gist.github.com/intsunny/10bac695e0533fcc73f8" \
target="_blank">https://gist.github.com/intsunny/10bac695e0533fcc73f8</a><br> <br>
dmesg info of screen:<br>
<br>
<a href="https://gist.github.com/intsunny/2d0b503ca2e8fbb87311" \
target="_blank">https://gist.github.com/intsunny/2d0b503ca2e8fbb87311</a><br> <br>
Xorg.0.log output:<br>
<br>
<a href="https://gist.github.com/intsunny/6333714651b777adeb7b" \
target="_blank">https://gist.github.com/intsunny/6333714651b777adeb7b</a><br> \
_______________________________________________<br> <a \
                href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org \
                support<br>
Archives: <a href="http://lists.freedesktop.org/archives/xorg" \
                target="_blank">http://lists.freedesktop.org/archives/xorg</a><br>
Info: <a href="http://lists.x.org/mailman/listinfo/xorg" \
target="_blank">http://lists.x.org/mailman/listinfo/xorg</a><br> Your subscription \
address: %(user_address)s</blockquote></div><br><br clear="all"><br>-- <br><div \
class="gmail_signature">Stirling Westrup<br>Programmer, Entrepreneur.<br><a \
href="https://www.linkedin.com/e/fpf/77228" \
target="_blank">https://www.linkedin.com/e/fpf/77228</a><br><a \
href="http://www.linkedin.com/in/swestrup" \
target="_blank">http://www.linkedin.com/in/swestrup</a><br><a \
href="http://technaut.livejournal.com" \
target="_blank">http://technaut.livejournal.com</a><br><a \
href="http://sourceforge.net/users/stirlingwestrup" \
target="_blank">http://sourceforge.net/users/stirlingwestrup</a></div> </div>


[Attachment #6 (text/plain)]

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic