Has anyone been able to rotate the XWindows display 90 degrees using BalenaOS running on an Intel NUC NUC6CAYH?
I tried installing Clear Linux directly on the NUC and I can rotate the display without any problems, so I know it’s possible.
But when I try it using BalenaOS, the xrandr command returns this error: “Error of failed request: BadMatch (invalid parameter attributes)”
Since it can work in Clear Linux but not in BalenaOS, I think I’m missing a video driver, or Xorg config setting somewhere?
I tried the answers from this post, but that did not work for me:
Has anyone been able to rotate the display recently? If yes, can you share your Dockerfile, etc?
Thank you.
Here are some things I’ve tried, and some log info…
# DISPLAY=:0 xrandr -o left
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 2 (RRSetScreenConfig)
Serial number of failed request: 14
Current serial number in output stream: 14
# DISPLAY=:0 xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 0.00*
# journalctl | egrep 'VGA|HDMI'
Dec 11 16:24:30 7eb66d1 kernel: pci 0000:00:02.0: vgaarb: setting as boot VGA device
Dec 11 16:24:30 7eb66d1 kernel: pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
Dec 11 16:24:30 7eb66d1 kernel: fb0: EFI VGA frame buffer device
Dec 11 16:24:30 7eb66d1 kernel: fb: switching to inteldrmfb from EFI VGA
Dec 11 16:24:30 7eb66d1 kernel: [drm] Replacing VGA console driver
Dec 11 16:24:30 7eb66d1 kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
Dec 11 16:24:30 7eb66d1 kernel: input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input12
Dec 11 16:24:30 7eb66d1 kernel: input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input13
Dec 11 16:24:30 7eb66d1 kernel: input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input14
Dec 11 16:24:30 7eb66d1 kernel: input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input15
Dec 11 16:24:30 7eb66d1 kernel: input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input16
# egrep 'VGA|HDMI' /var/log/Xorg.0.log
[ 7.870] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event10)
[ 7.871] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event11)
[ 7.871] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event12)
[ 7.871] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event13)
[ 7.872] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event14)
# lspci | egrep 'VGA|HDMI'
00:02.0 VGA compatible controller: Intel Corporation Device 5a85 (rev 0b)