10-21-2021, 11:56 AM
Finally some real success!
I have casually tried Sxmo and it works with a small workaround.
Since Sxmo is X11-based I have xrandr which works better than wlr-randr.
The workaround is a small shell script that I've written:
I have casually tried Sxmo and it works with a small workaround.
Since Sxmo is X11-based I have xrandr which works better than wlr-randr.
The workaround is a small shell script that I've written:
Code:
#!/bin/sh
# Check if this script is run as root
[ "$(id -u)" != 0 ] && echo "Superuser access required." && exit 1
# Disable force-connect
echo off > /sys/kernel/debug/dri/1/HDMI-A-1/force
# Upload EDID firmware
cat /etc/edid.bin > /sys/kernel/debug/dri/1/HDMI-A-1/edid_override
# Enable force-connect
echo on > /sys/kernel/debug/dri/1/HDMI-A-1/force
# Set the external display as primary and mirror the internal display
xrandr --output HDMI-1 --auto --primary --same-as DSI-1
# TODO
#xrandr --output DSI-1 --noprimary
#feh --bg-fill /usr/share/sxmo/background.jpg