@tommythorn sorry for late response.
Generally, xrandr
couldn’t be modified default resolution and you need add a auto script like this
root@starfive:/etc/xdg/autostart# cat default_pixel.desktop
[Desktop Entry]
Version=1.0
Name=pixel
Exec=/root/pixel.sh
Terminal=false
Type=Application
Categories=
GenericName=
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1
NoDisplay=true
and the pixel.sh contains how to use xrandr
to indicate a specific resolution like this:
root@starfive:/etc/xdg/autostart# cat /root/pixel.sh
#!/bin/sh
xrandr --output HDMI-1 --mode 1280x720 -r 50
reboot and hope that works
3 Likes
Joe
January 27, 2023, 8:10pm
22
Hi,
have the same Issue.
I dont even get any Output.
Tried all steps mentioned here.
Here is my Post:
Have the same Problem, none of my Displays work.
On a iiyama 4k Display i get the Black Screen with a Mousecursor that freezes after 5 seconds.
On a Samsung T220 that is capable of 1680x1050 i get no Output at all.
The T220 only have VGA and DVI. I Use a DVI to HDMI Cable.
Output of modetest:
root@starfive:~# modetest -M starfive -c
Connectors:
id encoder status name size (mm) modes encoders
116 115 connected HDMI-A-1 470x300 1 …
Thanks for the heads up! Worked like a charm! Dell U3219Q here …
1 Like
@Michael.Zhu
I was following the steps here but didn’t make any progress.
modetest -M starfive -D 0 -a -s 116@31:1920x1080-60.00 -P 39@31:1920x1080@YUYV -Ftiles
Works for me…It displays the pattern that Tommy also posted.
However setting lightdm.conf does not lead anywhere after a reboot.
If I try running sudo xrandr -s 1920x1080
I just get the Can't open display message
.
Any further advice on debugging this?
Can you try to flash a latest version of debian VisionFive 2 Debian Image 202303 Released(latest) and set the SD boot mode to start up?
Thanks Michael that works perfectly!
The colors were a bit weird on initial boot up but after change the resolution that seems solved.
Oh and I needed to adjust the dip switches as you mentioned in the release post.
I see you added support for 4k resolution now.
Not sure how “hardcoded” that is.
The 1440p monitor I’m using seems to only go up to 1080p with the VisionFive 2.
Ok the pink tint comes back after some minutes and can seemingly only be removed by setting the screen resolution again.
Is this a common issue?
kira
May 4, 2023, 10:22am
30
you can run the script under /opt and reboot.