Seeed-Studio / seeed-linux-dtoverlays

Device Tree Overlays for Seeed boards
Other
78 stars 55 forks source link

Stuck in rotate display from portrait to landscape #97

Closed TB-archIT closed 2 months ago

TB-archIT commented 3 months ago

Hi,

after #92 is solved now I'm stuck in rotating the display of a "reTerminal DM".

The system:

Starting of java application (PaperCut Release Station) on login of a special user 'papercut' via '.profile' does work with: xinit ~/release/pc-release-linux.sh -- vt$XDG_VTNR ;exit

portrait-mode

~/.config/wayfire.ini looks like:

[output:DSI-1]
mode = 800x1280@60
transform = 270

With xrandr --output DSI-1 --rotate right the display output is rotated, but cropped...

landscape-mode-xrandr-but-cropped

Here the output from /var/log/Xorg.0.log:

[    27.031] 
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[    27.032] Current Operating System: Linux plot-pc-rs-1140 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64
[    27.032] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=E4:5F:01:EC:49:81 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=886e7e07-02 rootfstype=ext4 fsck.repair=yes rootwait logo.nologo vt.global_cursor_default=0 console=tty3 loglevel=0
[    27.035] xorg-server 2:21.1.7-3+rpt2+deb12u5 (https://www.debian.org/support) 
[    27.036] Current version of pixman: 0.42.2
[    27.039]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    27.039] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    27.044] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 25 14:28:18 2024
[    27.046] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    27.048] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    27.050] (==) No Layout section.  Using the first Screen section.
[    27.050] (==) No screen section available. Using defaults.
[    27.050] (**) |-->Screen "Default Screen Section" (0)
[    27.050] (**) |   |-->Monitor "<default monitor>"
[    27.051] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    27.051] (**) Option "DontVTSwitch" "true"
[    27.051] (==) Automatically adding devices
[    27.051] (==) Automatically enabling devices
[    27.051] (==) Automatically adding GPU devices
[    27.051] (==) Automatically binding GPU devices
[    27.053] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    27.056] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    27.056]    Entry deleted from font path.
[    27.056] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    27.056]    Entry deleted from font path.
[    27.056] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    27.056]    Entry deleted from font path.
[    27.056] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    27.056]    Entry deleted from font path.
[    27.056] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    27.056]    Entry deleted from font path.
[    27.056] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    27.056]    Entry deleted from font path.
[    27.056] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    built-ins
[    27.056] (==) ModulePath set to "/usr/lib/xorg/modules"
[    27.056] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    27.056] (II) Loader magic: 0x558c720ef0
[    27.056] (II) Module ABI versions:
[    27.056]    X.Org ANSI C Emulation: 0.4
[    27.056]    X.Org Video Driver: 25.2
[    27.056]    X.Org XInput driver : 24.4
[    27.056]    X.Org Server Extension : 10.0
[    27.058] (++) using VT number 1

[    27.058] (--) controlling tty is VT number 1, auto-enabling KeepTty
[    27.062] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    27.065] (II) xfree86: Adding drm device (/dev/dri/card1)
[    27.065] (II) Platform probe for /sys/devices/platform/gpu/drm/card1
[    27.066] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 13 paused 0
[    27.068] (II) xfree86: Adding drm device (/dev/dri/card0)
[    27.068] (II) Platform probe for /sys/devices/platform/v3dbus/fec00000.v3d/drm/card0
[    27.069] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 14 paused 0
[    27.070] (**) OutputClass "vc4" setting /dev/dri/card1 as PrimaryGPU
[    27.070] (II) LoadModule: "glx"
[    27.071] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    27.096] (II) Module glx: vendor="X.Org Foundation"
[    27.097]    compiled for 1.21.1.7, module version = 1.0.0
[    27.097]    ABI class: X.Org Server Extension, version 10.0
[    27.097] (II) Applying OutputClass "vc4" to /dev/dri/card1
[    27.097]    loading driver: modesetting
[    27.097] (==) Matched modesetting as autoconfigured driver 0
[    27.097] (==) Matched fbdev as autoconfigured driver 1
[    27.097] (==) Assigned the driver to the xf86ConfigLayout
[    27.097] (II) LoadModule: "modesetting"
[    27.098] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    27.107] (II) Module modesetting: vendor="X.Org Foundation"
[    27.107]    compiled for 1.21.1.7, module version = 1.21.1
[    27.107]    Module class: X.Org Video Driver
[    27.107]    ABI class: X.Org Video Driver, version 25.2
[    27.107] (II) LoadModule: "fbdev"
[    27.107] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    27.108] (II) Module fbdev: vendor="X.Org Foundation"
[    27.108]    compiled for 1.21.1.3, module version = 0.5.0
[    27.108]    Module class: X.Org Video Driver
[    27.108]    ABI class: X.Org Video Driver, version 25.2
[    27.109] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    27.109] (II) FBDEV: driver for framebuffer: fbdev
[    27.109] (II) modeset(0): using drv /dev/dri/card1
[    27.109] (WW) Falling back to old probe method for fbdev
[    27.109] (II) Loading sub module "fbdevhw"
[    27.109] (II) LoadModule: "fbdevhw"
[    27.109] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    27.110] (II) Module fbdevhw: vendor="X.Org Foundation"
[    27.111]    compiled for 1.21.1.7, module version = 0.0.2
[    27.111]    ABI class: X.Org Video Driver, version 25.2
[    27.111] (II) modeset(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[    27.111] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    27.111] (II) Applying OutputClass "vc4" options to /dev/dri/card1
[    27.111] (==) modeset(0): RGB weight 888
[    27.111] (==) modeset(0): Default visual is TrueColor
[    27.111] (II) Loading sub module "glamoregl"
[    27.111] (II) LoadModule: "glamoregl"
[    27.111] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    27.135] (II) Module glamoregl: vendor="X.Org Foundation"
[    27.135]    compiled for 1.21.1.7, module version = 1.0.1
[    27.135]    ABI class: X.Org ANSI C Emulation, version 0.4
[    28.378] (II) modeset(0): glamor X acceleration enabled on V3D 4.2
[    28.378] (II) modeset(0): glamor initialized
[    28.378] (==) modeset(0): VariableRefresh: disabled
[    28.378] (==) modeset(0): AsyncFlipSecondaries: disabled
[    28.379] (II) modeset(0): Output HDMI-1 has no monitor section
[    28.379] (II) modeset(0): Output HDMI-2 has no monitor section
[    28.379] (II) modeset(0): Output DSI-1 has no monitor section
[    28.396] (II) modeset(0): EDID for output HDMI-1
[    28.396] (II) modeset(0): EDID for output HDMI-2
[    28.396] (II) modeset(0): EDID for output DSI-1
[    28.396] (II) modeset(0): Printing probed modes for output DSI-1
[    28.396] (II) modeset(0): Modeline "800x1280"x60.0   72.39  800 846 866 912  1280 1300 1308 1323 (79.4 kHz eP)
[    28.396] (II) modeset(0): Output HDMI-1 disconnected
[    28.396] (II) modeset(0): Output HDMI-2 disconnected
[    28.396] (II) modeset(0): Output DSI-1 connected
[    28.396] (II) modeset(0): Using exact sizes for initial modes
[    28.396] (II) modeset(0): Output DSI-1 using initial mode 800x1280 +0+0
[    28.396] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    28.396] (==) modeset(0): DPI set to (96, 96)
[    28.396] (II) Loading sub module "fb"
[    28.396] (II) LoadModule: "fb"
[    28.396] (II) Module "fb" already built-in
[    28.396] (II) UnloadModule: "fbdev"
[    28.396] (II) Unloading fbdev
[    28.397] (II) UnloadSubModule: "fbdevhw"
[    28.397] (II) Unloading fbdevhw
[    28.531] (==) modeset(0): Backing store enabled
[    28.531] (==) modeset(0): Silken mouse enabled
[    28.578] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    28.579] (==) modeset(0): DPMS enabled
[    28.579] (WW) modeset(0): Option "PrimaryGPU" is not used
[    28.579] (II) modeset(0): [DRI2] Setup complete
[    28.579] (II) modeset(0): [DRI2]   DRI driver: vc4
[    28.579] (II) modeset(0): [DRI2]   VDPAU driver: vc4
[    28.579] (II) Initializing extension Generic Event Extension
[    28.579] (II) Initializing extension SHAPE
[    28.579] (II) Initializing extension MIT-SHM
[    28.580] (II) Initializing extension XInputExtension
[    28.581] (II) Initializing extension XTEST
[    28.581] (II) Initializing extension BIG-REQUESTS
[    28.582] (II) Initializing extension SYNC
[    28.582] (II) Initializing extension XKEYBOARD
[    28.582] (II) Initializing extension XC-MISC
[    28.583] (II) Initializing extension SECURITY
[    28.583] (II) Initializing extension XFIXES
[    28.583] (II) Initializing extension RENDER
[    28.583] (II) Initializing extension RANDR
[    28.584] (II) Initializing extension COMPOSITE
[    28.584] (II) Initializing extension DAMAGE
[    28.585] (II) Initializing extension MIT-SCREEN-SAVER
[    28.585] (II) Initializing extension DOUBLE-BUFFER
[    28.585] (II) Initializing extension RECORD
[    28.585] (II) Initializing extension DPMS
[    28.586] (II) Initializing extension Present
[    28.586] (II) Initializing extension DRI3
[    28.586] (II) Initializing extension X-Resource
[    28.586] (II) Initializing extension XVideo
[    28.587] (II) Initializing extension XVideo-MotionCompensation
[    28.587] (II) Initializing extension SELinux
[    28.587] (II) SELinux: Disabled on system
[    28.587] (II) Initializing extension GLX
[    28.850] (II) AIGLX: Loaded and initialized vc4
[    28.850] (II) GLX: Initialized DRI2 GL provider for screen 0
[    28.850] (II) Initializing extension XFree86-VidModeExtension
[    28.850] (II) Initializing extension XFree86-DGA
[    28.851] (II) Initializing extension XFree86-DRI
[    28.851] (II) Initializing extension DRI2
[    28.855] (II) modeset(0): Damage tracking initialized
[    28.855] (II) modeset(0): Setting screen physical size to 211 x 338
[    28.985] (II) config/udev: Adding input device OEM TWN4/B1.62/CKF4.51/KITC1.00 (/dev/input/event0)
[    28.985] (**) OEM TWN4/B1.62/CKF4.51/KITC1.00: Applying InputClass "libinput keyboard catchall"
[    28.985] (II) LoadModule: "libinput"
[    28.985] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    28.995] (II) Module libinput: vendor="X.Org Foundation"
[    28.995]    compiled for 1.21.1.3, module version = 1.2.1
[    28.995]    Module class: X.Org XInput Driver
[    28.995]    ABI class: X.Org XInput driver, version 24.4
[    28.995] (II) Using input driver 'libinput' for 'OEM TWN4/B1.62/CKF4.51/KITC1.00'
[    28.997] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 28 paused 0
[    28.997] (**) OEM TWN4/B1.62/CKF4.51/KITC1.00: always reports core events
[    28.997] (**) Option "Device" "/dev/input/event0"
[    29.011] (II) event0  - OEM TWN4/B1.62/CKF4.51/KITC1.00: is tagged by udev as: Keyboard
[    29.012] (II) event0  - OEM TWN4/B1.62/CKF4.51/KITC1.00: device is a keyboard
[    29.012] (II) event0  - OEM TWN4/B1.62/CKF4.51/KITC1.00: device removed
[    29.012] (**) Option "config_info" "udev:/sys/devices/platform/scb/fe9c0000.xhci/usb1/1-1/1-1.1/1-1.1:1.0/0003:09D8:0410.0001/input/input0/event0"
[    29.012] (II) XINPUT: Adding extended input device "OEM TWN4/B1.62/CKF4.51/KITC1.00" (type: KEYBOARD, id 6)
[    29.012] (**) Option "xkb_model" "pc105"
[    29.012] (**) Option "xkb_layout" "de"
[    29.012] (**) Option "xkb_options" "lv3:ralt_switch"
[    29.061] (II) event0  - OEM TWN4/B1.62/CKF4.51/KITC1.00: is tagged by udev as: Keyboard
[    29.061] (II) event0  - OEM TWN4/B1.62/CKF4.51/KITC1.00: device is a keyboard
[    29.064] (II) config/udev: Adding input device 10-005d Goodix Capacitive TouchScreen (/dev/input/event1)
[    29.064] (**) 10-005d Goodix Capacitive TouchScreen: Applying InputClass "libinput keyboard catchall"
[    29.064] (**) 10-005d Goodix Capacitive TouchScreen: Applying InputClass "libinput touchscreen catchall"
[    29.064] (II) Using input driver 'libinput' for '10-005d Goodix Capacitive TouchScreen'
[    29.065] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 31 paused 0
[    29.065] (**) 10-005d Goodix Capacitive TouchScreen: always reports core events
[    29.065] (**) Option "Device" "/dev/input/event1"
[    29.068] (II) event1  - 10-005d Goodix Capacitive TouchScreen: is tagged by udev as: Keyboard Touchscreen
[    29.069] (II) event1  - 10-005d Goodix Capacitive TouchScreen: device is a keyboard
[    29.069] (II) event1  - 10-005d Goodix Capacitive TouchScreen: device is a touch device
[    29.069] (II) event1  - 10-005d Goodix Capacitive TouchScreen: applying calibration: 0.000000 1.000000 0.000000 -1.000000 0.000000 1.000000
[    29.069] (II) event1  - 10-005d Goodix Capacitive TouchScreen: device removed
[    29.069] (II) libinput: 10-005d Goodix Capacitive TouchScreen: needs a virtual subdevice
[    29.070] (**) Option "config_info" "udev:/sys/devices/platform/soc/fe205000.i2c/i2c-22/i2c-10/10-005d/input/input1/event1"
[    29.070] (II) XINPUT: Adding extended input device "10-005d Goodix Capacitive TouchScreen" (type: TOUCHSCREEN, id 7)
[    29.070] (**) Option "AccelerationScheme" "none"
[    29.070] (**) 10-005d Goodix Capacitive TouchScreen: (accel) selected scheme none/0
[    29.070] (**) 10-005d Goodix Capacitive TouchScreen: (accel) acceleration factor: 2.000
[    29.070] (**) 10-005d Goodix Capacitive TouchScreen: (accel) acceleration threshold: 4
[    29.072] (II) event1  - 10-005d Goodix Capacitive TouchScreen: is tagged by udev as: Keyboard Touchscreen
[    29.073] (II) event1  - 10-005d Goodix Capacitive TouchScreen: device is a keyboard
[    29.073] (II) event1  - 10-005d Goodix Capacitive TouchScreen: device is a touch device
[    29.073] (II) event1  - 10-005d Goodix Capacitive TouchScreen: applying calibration: 0.000000 1.000000 0.000000 -1.000000 0.000000 1.000000
[    29.074] (II) config/udev: Adding input device 10-005d Goodix Capacitive TouchScreen (/dev/input/mouse0)
[    29.074] (II) No input driver specified, ignoring this device.
[    29.074] (II) This device may have been added with another device file.
[    29.075] (II) config/udev: Adding input device vc4-hdmi-0 (/dev/input/event2)
[    29.075] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    29.075] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    29.077] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 32 paused 0
[    29.077] (**) vc4-hdmi-0: always reports core events
[    29.077] (**) Option "Device" "/dev/input/event2"
[    29.079] (II) event2  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    29.079] (II) event2  - vc4-hdmi-0: device is a pointer
[    29.079] (II) event2  - vc4-hdmi-0: device is a keyboard
[    29.080] (II) event2  - vc4-hdmi-0: device removed
[    29.080] (II) libinput: vc4-hdmi-0: needs a virtual subdevice
[    29.080] (**) Option "config_info" "udev:/sys/devices/platform/soc/fef00700.hdmi/rc/rc0/input3/event2"
[    29.080] (II) XINPUT: Adding extended input device "vc4-hdmi-0" (type: MOUSE, id 8)
[    29.081] (**) Option "AccelerationScheme" "none"
[    29.081] (**) vc4-hdmi-0: (accel) selected scheme none/0
[    29.081] (**) vc4-hdmi-0: (accel) acceleration factor: 2.000
[    29.081] (**) vc4-hdmi-0: (accel) acceleration threshold: 4
[    29.082] (II) event2  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    29.083] (II) event2  - vc4-hdmi-0: device is a pointer
[    29.083] (II) event2  - vc4-hdmi-0: device is a keyboard
[    29.084] (II) config/udev: Adding input device vc4-hdmi-0 HDMI Jack (/dev/input/event3)
[    29.084] (II) No input driver specified, ignoring this device.
[    29.084] (II) This device may have been added with another device file.
[    29.085] (II) config/udev: Adding input device vc4-hdmi-1 (/dev/input/event4)
[    29.085] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    29.085] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    29.086] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 33 paused 0
[    29.086] (**) vc4-hdmi-1: always reports core events
[    29.086] (**) Option "Device" "/dev/input/event4"
[    29.088] (II) event4  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    29.089] (II) event4  - vc4-hdmi-1: device is a pointer
[    29.089] (II) event4  - vc4-hdmi-1: device is a keyboard
[    29.089] (II) event4  - vc4-hdmi-1: device removed
[    29.090] (II) libinput: vc4-hdmi-1: needs a virtual subdevice
[    29.090] (**) Option "config_info" "udev:/sys/devices/platform/soc/fef05700.hdmi/rc/rc1/input5/event4"
[    29.090] (II) XINPUT: Adding extended input device "vc4-hdmi-1" (type: MOUSE, id 9)
[    29.090] (**) Option "AccelerationScheme" "none"
[    29.090] (**) vc4-hdmi-1: (accel) selected scheme none/0
[    29.090] (**) vc4-hdmi-1: (accel) acceleration factor: 2.000
[    29.090] (**) vc4-hdmi-1: (accel) acceleration threshold: 4
[    29.091] (II) event4  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    29.092] (II) event4  - vc4-hdmi-1: device is a pointer
[    29.092] (II) event4  - vc4-hdmi-1: device is a keyboard
[    29.094] (II) config/udev: Adding input device vc4-hdmi-1 HDMI Jack (/dev/input/event5)
[    29.094] (II) No input driver specified, ignoring this device.
[    29.094] (II) This device may have been added with another device file.
[    29.113] (**) 10-005d Goodix Capacitive TouchScreen: Applying InputClass "libinput keyboard catchall"
[    29.113] (**) 10-005d Goodix Capacitive TouchScreen: Applying InputClass "libinput touchscreen catchall"
[    29.113] (II) Using input driver 'libinput' for '10-005d Goodix Capacitive TouchScreen'
[    29.113] (II) systemd-logind: returning pre-existing fd for /dev/input/event1 13:65
[    29.113] (**) 10-005d Goodix Capacitive TouchScreen: always reports core events
[    29.113] (**) Option "Device" "/dev/input/event1"
[    29.113] (II) libinput: 10-005d Goodix Capacitive TouchScreen: is a virtual subdevice
[    29.113] (**) Option "config_info" "udev:/sys/devices/platform/soc/fe205000.i2c/i2c-22/i2c-10/10-005d/input/input1/event1"
[    29.114] (II) XINPUT: Adding extended input device "10-005d Goodix Capacitive TouchScreen" (type: KEYBOARD, id 10)
[    29.114] (**) Option "xkb_model" "pc105"
[    29.114] (**) Option "xkb_layout" "de"
[    29.114] (**) Option "xkb_options" "lv3:ralt_switch"
[    29.114] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    29.114] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    29.114] (II) systemd-logind: returning pre-existing fd for /dev/input/event2 13:66
[    29.114] (**) vc4-hdmi-0: always reports core events
[    29.114] (**) Option "Device" "/dev/input/event2"
[    29.114] (II) libinput: vc4-hdmi-0: is a virtual subdevice
[    29.114] (**) Option "config_info" "udev:/sys/devices/platform/soc/fef00700.hdmi/rc/rc0/input3/event2"
[    29.114] (II) XINPUT: Adding extended input device "vc4-hdmi-0" (type: KEYBOARD, id 11)
[    29.114] (**) Option "xkb_model" "pc105"
[    29.114] (**) Option "xkb_layout" "de"
[    29.114] (**) Option "xkb_options" "lv3:ralt_switch"
[    29.115] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    29.115] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    29.115] (II) systemd-logind: returning pre-existing fd for /dev/input/event4 13:68
[    29.115] (**) vc4-hdmi-1: always reports core events
[    29.115] (**) Option "Device" "/dev/input/event4"
[    29.115] (II) libinput: vc4-hdmi-1: is a virtual subdevice
[    29.115] (**) Option "config_info" "udev:/sys/devices/platform/soc/fef05700.hdmi/rc/rc1/input5/event4"
[    29.115] (II) XINPUT: Adding extended input device "vc4-hdmi-1" (type: KEYBOARD, id 12)
[    29.115] (**) Option "xkb_model" "pc105"
[    29.115] (**) Option "xkb_layout" "de"
[    29.115] (**) Option "xkb_options" "lv3:ralt_switch"
[    36.264] (II) modeset(0): Disabling kernel dirty updates, not required.
[  7340.900] (II) modeset(0): Allocate new frame buffer 1280x800 stride

Last line should come from the xrandr command!?

I have no clue how to get the display rotated AND not cropped.

Any hints or suggestions?

Regards Thomas

bigbearishappy commented 3 months ago

It seems that you java application don't have the function of adaptive graphical interface. Or you should config you app to display on landscape orientation.

TB-archIT commented 3 months ago

@bigbearishappy: thanx for your reply.

No, I don't think that the reason is to find in the java application. I would say, it has something to do with the overlay, because before the kernel upgrade to 6.6.20 it worked like a charme with the same system (RaspiOS Bookworm lite 64-bit).

bigbearishappy commented 3 months ago

As you said below. Your app is working based on the xorg-xserver. But according to the link here. Raspbian OS bookworm had moved to using wayland rather than X11.

And the config file ~/.config/wayfire.ini is working for wayland.

Maybe you can have a try to make the app work based on wayland?

TB-archIT commented 3 months ago

Yes, RaspiOS Bookworm has moved to wayland. ~/.config/wayfire.ini is configured with:

[output:DSI-1]
mode = 800x1280@60
transform = 270

You can use Xorg in parallel.

And I would still say, that a change in the overlay from kernel 6.6.20 causes this changed behavior. I repeat, before that the same java application did run in landscape mode on RaspiOS Bookworm (!) with Xorg.

bigbearishappy commented 3 months ago

Yes, RaspiOS Bookworm has moved to wayland. ~/.config/wayfire.ini is configured with:

[output:DSI-1]
mode = 800x1280@60
transform = 270

You can use Xorg in parallel.

And I would still say, that a change in the overlay from kernel 6.6.20 causes this changed behavior. I repeat, before that the same java application did run in landscape mode on RaspiOS Bookworm (!) with Xorg.

We will have a try to reproduce you problem and try to fix it.

TB-archIT commented 3 months ago

That would be great. I will test it ASAP...

franzos commented 3 months ago

Just FYI: On our side this seems to work on

By default the display comes-up like @TB-archIT, but I can rotate it with xrandr, and the output (and touch-input) appear to work as expected; Here's how I turn the screen over SSH:

$ export XAUTHORITY=/home/default/.Xauthority
$ DISPLAY=:0.0 xrandr
Screen 0: minimum 320 x 200, current 800 x 1280, maximum 7680 x 7680
HDMI-1 disconnected primary (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DSI-1 connected 800x1280+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x1280      60.00*+
$ DISPLAY=:0.0 xrandr --output DSI-1 --rotate right
bigbearishappy commented 3 months ago

@TB-archIT I tried to reproduce you problem. But I can't even make the PaperCut Release Station work on reTerminal DM. As you said in here. You have made it by changing the code of RaspberryPiReleaseStation.

So can you provide the latest code of RaspberryPiReleaseStation to me?

TB-archIT commented 2 months ago

Thanks for your effort, BBear.

But I would say, that you only can use RaspberryPiReleaseStation if a running PaperCut-Server is found. Otherwise starting of this app will not work.

Meanwhile I used a ComfilePi for the ReleaseStation. On the reTerminal DM now a Node-RED-application will be installed next.

bigbearishappy commented 2 months ago

Thanks for your effort, BBear.

But I would say, that you only can use RaspberryPiReleaseStation if a running PaperCut-Server is found. Otherwise starting of this app will not work.

Meanwhile I used a ComfilePi for the ReleaseStation. On the reTerminal DM now a Node-RED-application will be installed next.

Sorry for not solving your problem with reTerminal DM. So is there any further work I can do for you on this issue?

TB-archIT commented 2 months ago

I think no, therefore I'm closing this issue