Rotation support in the VESA driver?

Problems and successes with specific brands/models of computer video hardware
Post Reply
Message
Author
wahaha888888
Posts: 5
Joined: Fri 17 Jul 2009, 03:33

Rotation support in the VESA driver?

#1 Post by wahaha888888 »

Is anybody currently working on rotation support in the VESA driver?
Thanks ahead for your information.

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc102"
	Option      "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto" #mouse0protocol
	Option	    "Device" "/dev/mouse"
	#Option      "Emulate3Buttons"
	#Option      "Emulate3Timeout" "50"
	Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync    31.5-37
	VertRefresh  40-70
	#UseModes     "Modes0" #monitor0usemodes
	Option      "PreferredMode" "800x600"
	EndSection
	
Section "Modes"
	Identifier "Modes0"
	#modes0modeline0
EndSection

Section "Device"
	### Available Driver options are:-
	### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
	### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
	### [arg]: arg optional
	#Option     "ShadowFB"           	# [<bool>]
	#Option     "DefaultRefresh"     	# [<bool>]
	#Option     "ModeSetClearScreen" 	# [<bool>]
	Identifier  "Card0"
	Driver      "vesa" #card0driver
	VendorName  "VMware Inc"
	BoardName   "[VMware SVGA II] PCI Display Adapter"
	BusID       "PCI:0:15:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
    DefaultDepth 16
    Subsection "Display"
        Depth       16
        Modes       "800x600"
    EndSubsection
EndSection
# xrandr -o left
X Error of failed resquest:BadMatch(invalid parameter attributes)
Major opcode of failed request:153(RANDR)
Minor opcode of failed request:2(RRSetScreenConfig)
Serial number of failed request:12
Current serial number in output stream:12
#

User avatar
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

Re: Rotation support in the VESA driver?

#2 Post by Patriot »

Hmmm ....

Code: Select all

Section "Device"
	Identifier  "Card0"
	Driver      "vesa" #card0driver
	VendorName  "VMware Inc"
	BoardName   "[VMware SVGA II] PCI Display Adapter"
	BusID       "PCI:0:15:0"
EndSection
Are you trying to do this in VMware player? ... If so, then I have no idea since I'm not keen on using them ...

Xvesa on real hardware does xrandr inverted the last time I check ... here.


Rgds

wahaha888888
Posts: 5
Joined: Fri 17 Jul 2009, 03:33

But Xvesa dosn't support my touchscreen.

#3 Post by wahaha888888 »

Thanks.
But Xvesa dosn't support my touchscreen.
In Xorg+vesa ,my touchscreen worked well but can't rotate.

What can I do ?

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#4 Post by disciple »

I think it is only possible to rotate the display if both your video card and its driver supports rotation. Can your display rotate in Windows do you know?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

wahaha888888
Posts: 5
Joined: Fri 17 Jul 2009, 03:33

Sure,It rotated well on windows.

#5 Post by wahaha888888 »

Sure,It rotated well on microsoft windows,
so I want to know that use Xorg+vesa driver ,how can I rotate screen?
And
my motherboard is VIA PC2000E
In Xorg,use VIA driver I can see black only,
but use VESA driver cannot rotate.

Thanks!

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#6 Post by disciple »

I guess either the Vesa driver doesn't support rotation, or for some reason the Vesa driver can't tell that your video card does support rotation. Maybe you need to do some research elsewhere to see if it works in Linux for other people, and find out what driver they're using.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

wahaha888888
Posts: 5
Joined: Fri 17 Jul 2009, 03:33

I will try it again.

#7 Post by wahaha888888 »

Thank very much,dear disciple and everybody.
I will try to ask other body.
If I have find out then reason,I will post replay on here.

Post Reply