hyperpixel4 icon indicating copy to clipboard operation
hyperpixel4 copied to clipboard

Hyperpixel4 | Raspberry Pi OS (64bit) | Bookworm | Wayland | RealVNC | x and y axis swapped

Open Habraken opened this issue 2 years ago • 0 comments

After adding the suggested lines

dtoverlay=vc4-kms-dpi-hyperpixel4
dtparam=rotate=90

in the /boot/config.txt and configuring the screen setup with wdisplay | Screen Configuration (ARandR) I have the hyperpixel4 properly working alongside an HDMI display with the touchscreen working as intended. But... When logging in via ReelVNC I have two issues: 1 - the x and y axis of the mouse input are swapped 2 - the resolution of RealVNC defaults to DPI-1 = 800x480 and not the HDMI main display

Any help to resolve this is much appreciated!

Output from the debug script:

# Platform Information

Revision	: d03114
No LSB modules are available.
Description:	Debian GNU/Linux 12 (bookworm)
6.1.0-rpi7-rpi-v8

## Touchscreen logs

Rectangular: Goodix
[    8.634057] Goodix-TS 22-0014: supply AVDD28 not found, using dummy regulator
[    8.675878] Goodix-TS 22-0014: supply VDDIO not found, using dummy regulator
[    8.684017] Goodix-TS 22-0014: ID 911, version: 1060
[    8.856850] input: 22-0014 Goodix Capacitive TouchScreen as /devices/platform/i2c@0/i2c-22/22-0014/input/input67
[    8.945740] Goodix-TS 22-005d: supply AVDD28 not found, using dummy regulator
[    8.946418] Goodix-TS 22-005d: supply VDDIO not found, using dummy regulator
[    8.993898] Goodix-TS 22-005d: Error reading 1 bytes from 0x8140: -6
[    9.019819] Goodix-TS 22-005d: Error reading 1 bytes from 0x8140: -6
[    9.063501] Goodix-TS 22-005d: I2C communication failure: -6
Square: ft5

## I2C Devices and Mappings

/dev/i2c-20
/dev/i2c-21
/dev/i2c-22
Error: Could not open file `/dev/i2c-2' or `/dev/i2c/2': No such file or directory

## Boot Config

# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Enable Hyperpixel 4.0 Touchscreen
dtoverlay=vc4-kms-dpi-hyperpixel4
dtparam=rotate=90

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

hdmi_enable_4kp60=1

Habraken avatar Dec 19 '23 09:12 Habraken