OK, it's an X config. It runs this script:
#!/bin/bash
# Choose an appropriate "Primary GPU" for Xorg
# This should normally be vc4 (not v3d) but when some
# other display is enabled on Pi5, it should match that.
IDENTIFIER=vc4
MATCHDRIVER=vc4
if raspi-config nonint is_pifive; then
if ls /dev/dri/by-path/ | grep -q '\(vec\|dsi\|dpi\)-card' ; then
IDENTIFIER=rp1
MATCHDRIVER='rp1-vec|rp1-dsi|rp1-dpi'
fi
fi
sed -e "s/XXX/${IDENTIFIER}/" << EOF | sed -e "s/YYY/${MATCHDRIVER}/" >
/etc/X11/xorg.conf.d/99-v3d.conf.tmp
Section "OutputClass"
Identifier "XXX"
MatchDriver "YYY"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
EOF
mv -f /etc/X11/xorg.conf.d/99-v3d.conf.tmp
/etc/X11/xorg.conf.d/99-v3d.conf
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2044718
Title:
mantic on raspberry5: x and/or lightdm problems
To manage notifications about this bug go to:
https://bugs.launchpad.net/sddm/+bug/2044718/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs