Am 10.03.2017 um 14:23 schrieb H. Nikolaus Schaller hns@goldelico.com:
Hi,
Am 10.03.2017 um 13:30 schrieb Linux-SWAT openpandora@free.fr:
Any hint in /var/log/Xorg.0.log or whatever the log file ?
Le 2017-03-10 09:18, H. Nikolaus Schaller a écrit :
Am 10.03.2017 um 07:07 schrieb H. Nikolaus Schaller hns@goldelico.com:
Am 09.03.2017 um 22:45 schrieb Matthijs van Duin matthijsvanduin@gmail.com: On 9 March 2017 at 16:26, H. Nikolaus Schaller hns@goldelico.com wrote: Hm. It works if I use xrandr after starting X11 but not with xorg.conf. I wouldn't be surprised if LXDE simply applied its own xrandr settings, thus undoing the rotation you set in xorg.conf.
Ah, that is something I will try to find out. E.g. by starting X w/o LXDE and running xterm.
Hm. Is not a specific LXDE effect. Happens with /usr/bin/openbox as displaymanager as well. After launching X11, xrandr tells "rotation normal". Then, I can xrandr -r right and it is fine. So somehow the xorg.conf setting is ignored.
I had checked before and checked again, but nothing which gives me a good hint. the Option "Rotate" "right" is recognised. And RandR 1.2 enabled is initialized later.
The only questionable part is "Output Unknown16-1 has no monitor section". On the other hand Xserver finds
Modeline "720x1280"x60.0 76.72 720 725 730 888 1280 1330 1390 1440 (86.4 kHz eP)
Here is an excerpt:
[ 122.562] (II) Loading /usr/lib/xorg/modules/input/void_drv.so [ 122.562] (II) Module void: vendor="X.Org Foundation" [ 122.562] compiled for 1.15.99.904, module version = 1.4.0 [ 122.562] Module class: X.Org XInput Driver [ 122.562] ABI class: X.Org XInput driver, version 21.0 [ 122.562] (II) OMAP: Driver for TI OMAP: OMAP3430 with PowerVR SGX530, OMAP3630 with PowerVR SGX530, OMAP4430 with PowerVR SGX540, OMAP4460 with PowerVR SGX540, OMAP5430 with PowerVR SGX544 MP, OMAP5432 with PowerVR SGX544 MP [ 122.562] (--) using VT number 3
[ 122.605] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 122.605] (II) OMAP(0): Creating default Display subsection in Screen section "Screen 0" for depth/fbbpp 24/32 [ 122.605] (==) OMAP(0): Depth 24, (==) framebuffer bpp 32 [ 122.605] (==) OMAP(0): RGB weight 888 [ 122.605] (==) OMAP(0): Using gamma correction (1.0, 1.0, 1.0) [ 122.605] (==) OMAP(0): Default visual is TrueColor [ 122.622] (II) OMAP(0): Found chipset: OMAP5432 with PowerVR SGX544 MP [ 122.622] (**) OMAP(0): Option "HWcursor" "False" [ 122.622] (II) OMAP(0): Using SW cursor [ 122.622] (II) OMAP(0): Setting the video modes ... [ 122.623] (II) OMAP(0): Output HDMI-1 using monitor section lcd [ 122.623] (**) OMAP(0): Option "Rotate" "right" [ 122.623] (II) OMAP(0): Output Unknown16-1 has no monitor section [ 122.623] (II) OMAP(0): EDID for output HDMI-1 [ 122.623] (II) OMAP(0): Printing probed modes for output Unknown16-1 [ 122.623] (II) OMAP(0): Modeline "720x1280"x60.0 76.72 720 725 730 888 1280 1330 1390 1440 (86.4 kHz eP) [ 122.623] (II) OMAP(0): Output HDMI-1 disconnected [ 122.624] (II) OMAP(0): Output Unknown16-1 connected [ 122.624] (II) OMAP(0): Using exact sizes for initial modes [ 122.624] (II) OMAP(0): Output Unknown16-1 using initial mode 720x1280 [ 122.624] (II) OMAP(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [ 122.624] (II) OMAP(0): Got KMS resources [ 122.624] (**) OMAP(0): Display dimensions: (111, 62) mm [ 122.624] (**) OMAP(0): DPI set to (164, 524) [ 122.624] (II) Loading sub module "dri2" [ 122.624] (II) LoadModule: "dri2" [ 122.624] (II) Module "dri2" already built-in [ 122.624] (II) Loading sub module "exa" [ 122.624] (II) LoadModule: "exa" [ 122.625] (II) Loading /usr/lib/xorg/modules/libexa.so [ 122.626] (II) Module exa: vendor="X.Org Foundation" [ 122.626] compiled for 1.16.4, module version = 2.6.0 [ 122.626] ABI class: X.Org Video Driver, version 18.0 [ 122.626] (II) Loading sub module "fb" [ 122.626] (II) LoadModule: "fb" [ 122.627] (II) Loading /usr/lib/xorg/modules/libfb.so [ 122.628] (II) Module fb: vendor="X.Org Foundation" [ 122.628] compiled for 1.16.4, module version = 1.0.0 [ 122.628] ABI class: X.Org ANSI C Emulation, version 0.4 [ 122.628] (II) Loading sub module "omap_pvr" [ 122.628] (II) LoadModule: "omap_pvr" [ 122.630] (WW) Warning, couldn't open module omap_pvr [ 122.630] (II) UnloadModule: "omap_pvr" [ 122.630] (II) Unloading omap_pvr [ 122.630] (EE) OMAP: Failed to load module "omap_pvr" (module does not exist, 0) [ 122.630] (II) OMAP(0): Cannot load the omap_pvr sub-module [ 122.630] (--) Depth 24 pixmap format is 32 bpp [ 122.631] (II) OMAP(0): Soft EXA mode [ 122.631] (II) EXA(0): Driver allocated offscreen pixmaps [ 122.631] (II) EXA(0): Driver registered support for the following operations: [ 122.631] (II) Solid [ 122.631] (II) Copy [ 122.631] (II) Composite (RENDER acceleration) [ 122.631] (II) OMAP(0): [DRI2] Setup complete [ 122.631] (II) OMAP(0): [DRI2] DRI driver: omap [ 122.631] (EE) OMAP(0): ERROR: Could not initialize XV [ 122.632] (==) OMAP(0): Backing store enabled [ 122.632] (==) OMAP(0): Silken mouse enabled [ 122.722] (II) OMAP(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 122.722] (==) OMAP(0): DPMS enabled [ 122.723] (--) RandR disabled
Some more checks:
root@letux:~# dpkg -l | fgrep xorg-video-omap ii xserver-xorg-video-omap 0.4.3-1+b3 armhf X.Org X server -- OMAP display driver root@letux:~# man omap|fgrep Rotate root@letux:~# man omap|fgrep 0.4 X Version 11 xf86-video-omap 0.4.3 omap(4) root@letux:~# man xorg.conf|fgrep Rotate Option "Rotate" "rotation" root@letux:~#
This means that man page of the installed xorg-video-omap driver does not tell that it understands the option, but it refers to xorg.conf(5) which mentions it should be a default option for any driver.
I have also tried with Option "Debug" "true" but despite telling more it has no new information about rotation.
BR, Nikolaus
https://manpages.debian.org/jessie/xserver-xorg-video-omap/omap.4.en.html https://manpages.debian.org/jessie/xserver-xorg-core/xorg.conf.5.en.html