Pivot monitor support on driver level?

AmigaOS users can make feature requests in this forum.

Pivot monitor support on driver level?

Postby amifrog » Sun Aug 06, 2017 9:56 pm

I've asked this in another forum already but this might be the right spot to suggest a feature i would like to see in AOS4:

The support of pivot monitors.

That is when you turn a monitor to 90° or 270° and the screenmode handling software should recognize this, maybe after a reboot but optimaly of course onthefly.

I realize this is not easily done with a different width and height resolution swap but with a different way how the driver 'paint' the display contens.

What are your thoughts about this?

https://en.wikipedia.org/wiki/Page_orientation#Modern_display_rotation_methods

Edit
I've learned that the orientation of input/output of mouse coords x&y also has to be swapped. Input.device and stuff....
Last edited by amifrog on Wed Aug 09, 2017 2:11 am, edited 3 times in total.
amifrog
 
Posts: 6
Joined: Thu Feb 02, 2017 12:12 pm

Re: Pivot monitor support on driver level?

Postby tonyw » Mon Aug 07, 2017 1:34 am

How can the driver know the orientation of the display? Does the DDC data stream include an indicator from a built-in accelerometer?
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1383
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: Pivot monitor support on driver level?

Postby amifrog » Wed Aug 09, 2017 12:43 am

When the Monitor type/name is known to the system (e.g. the display driver), an 'instant' swap of displaywidth and -height could be an indication of a rotated monitor. This rotation has to be checked, of course. Maybe the monitor itself reports this via communication channels on the display bus?
https://touch-base.com/documentation/Rotate.htm
amifrog
 
Posts: 6
Joined: Thu Feb 02, 2017 12:12 pm

Re: Pivot monitor support on driver level?

Postby amifrog » Wed Aug 09, 2017 1:03 am

I don't really know what to look for, but
googling
'dvi display orientation detection' brings up alot of stuff. Maybe this helps?

I cannot provide any h/w informations about monitors and their communication, sorry.
amifrog
 
Posts: 6
Joined: Thu Feb 02, 2017 12:12 pm

Re: Pivot monitor support on driver level?

Postby Raziel » Sat Aug 12, 2017 2:46 pm

Don't hold your breath, this feature is probably not even on any todo list anyway
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 914
Joined: Sat Jun 18, 2011 5:00 pm
Location: a story that hasn't been written yet

Re: Pivot monitor support on driver level?

Postby amifrog » Wed Aug 16, 2017 10:52 pm

Yeah, i know.

But while implementing new features to the drivers, maybe it is recommended to add those concerns or future features onto the remarks&considerations list.;)
amifrog
 
Posts: 6
Joined: Thu Feb 02, 2017 12:12 pm

Re: Pivot monitor support on driver level?

Postby Raziel » Sat Aug 26, 2017 5:33 pm

amifrog wrote:Yeah, i know.

But while implementing new features to the drivers, maybe it is recommended to add those concerns or future features onto the remarks&considerations list.;)

I bet this will be a feature "that has to be done by program authors" that want this supported
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 914
Joined: Sat Jun 18, 2011 5:00 pm
Location: a story that hasn't been written yet

Re: Pivot monitor support on driver level?

Postby tonyw » Wed Sep 04, 2019 5:18 am

I've recently been learing about EDID, the protocol used for communication between monitor and graphics device driver.

Unfortunately, nowhere in the published spec (see https://en.wikipedia.org/wiki/EDID) is monitor orientation mentioned. So I'm afraid that there appears to be no (standard) way for the software to know which way the monitor is turned. Perhaps some manufacturers have used (unused) attribute indicators in the standard for this purpose.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1383
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: Pivot monitor support on driver level?

Postby nbache » Wed Sep 04, 2019 9:30 am

tonyw wrote:Unfortunately, nowhere in the published spec (see https://en.wikipedia.org/wiki/EDID) is monitor orientation mentioned.
Just speculating: Is it possible that on other platforms this is handled by the monitor reporting a new (rotated) native resolution when it is rotated, and the driver being able to detect this change? Then we could just define screenmodes with the width and height swapped and switch to the other one.

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1386
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Re: Pivot monitor support on driver level?

Postby tonyw » Thu Sep 05, 2019 12:55 am

Niels, there are "reserved" fields in the specification, where manufacturers can define their own private attributes. I suspect that is how a pivoted monitor communicates with its driver. Remember that a Windows driver is usually provided by the monitor manufacturer, so they can define their own private modes and EDID data.

In order for someone else to use the orientation data, they would have to reverse-engineer the data (which shouldn't be that hard, considering that it's an open specification and only uses 127 bytes). Then you would have to decide what to do with it. If the user rotates her monitor from portrait to landscape, do they advise the tasks which created each screen? Each window? Or do they simply rotate the display and everything on it? There is no API at the moment (Picasso96 or graphics) that you could expand to cope with such an enhancement.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1383
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Next

Return to AmigaOS Feature Requests

Who is online

Users browsing this forum: No registered users and 4 guests