icce Posted January 23, 2019 Share Posted January 23, 2019 @Fenn Do you still have to put something other on armbianEnv.txt and boot.cmd or just put extraaargs to make it worked? 0 Quote Link to comment Share on other sites More sharing options...
Pol Isidor Posted May 25, 2019 Share Posted May 25, 2019 On 11/21/2018 at 3:59 AM, Fenn said: I ended up working this out with the help of this post - specifically, if you add the following to /boot/armbianEnv.txt, you can force the video mode. Some examples: 640x480 extraargs=drm_kms_helper.edid_firmware=HDMI-A-1:edid/640x480.bin video=HDMI-A-1:640x480-24@60 1080p extraargs=drm_kms_helper.edid_firmware=HDMI-A-1:edid/1920x1080.bin video=HDMI-A-1:1920x1080@60 I didn't have to install any extra packages or anything using Armbian Debian Stretch / 4.14.78-sunxi, it just worked out of the box (edid files already installed/etc). Thx mate..this is the right answer on question! 1 Quote Link to comment Share on other sites More sharing options...
iwl Posted May 29, 2019 Share Posted May 29, 2019 In Armbian-Config you can set the Boot-Env, there was : disp_mode="1920x1080p60" I've changed that to "1280x1024p50" but still get the 1024x768. The TV-DVI-Input I use is a little bad so EDID does not work, but forced 1280x1024 works with my raspberry pi. Is 1920x1080p60 wrong syntax may be, may be something with -24@50 is needed? 0 Quote Link to comment Share on other sites More sharing options...
Arjan van Vught Posted January 8, 2020 Share Posted January 8, 2020 (edited) See -> http://u-boot.10912.n7.nabble.com/SUNXI-CONFIG-VIDEO-SUNXI-is-never-set-td360711.html and -> http://u-boot.10912.n7.nabble.com/SUNXI-DE2-H3-Add-support-for-setenv-video-mode-td395068.html Edited January 8, 2020 by Arjan van Vught 0 Quote Link to comment Share on other sites More sharing options...
yushuiqiang Posted February 19, 2021 Share Posted February 19, 2021 I have a screen with 2560X1440. How do I config My system is Armbian 20.08.17 Buster with Linux 5.9.1-sunxi OrangePi lite H3 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted February 19, 2021 Share Posted February 19, 2021 15 minutes ago, yushuiqiang said: 20.08.17 Buster with Linux 5.9.1-sunxi Outdated packages and Providing logs with armbianmonitor -u helps with troubleshooting and significantly raises chances that issue gets addressed. 0 Quote Link to comment Share on other sites More sharing options...
MikePooh Posted December 9, 2021 Share Posted December 9, 2021 Does someone solved the problem with wrong resolution on boot? I have Waveshare touchscreen LCD(B) with resolution 800x480. Sometimes it detects as expected and after boot my GUI application run well with correct touchscreen coordintaes. If I run DISPLAY=:0 xrandr -q I got output Screen 0: minimum 320 x 200, current 800 x 480, maximum 8192 x 8192 HDMI-1 connected primary 800x480+0+0 (normal left inverted right x axis y axis) 150mm x 100mm 800x480 65.68*+ The screen detects default resolution and even screen physical size. However sometimes it detects wrong and touchscreen coordinates doesn't match to physical position. If run DISPLAY=:0 xrandr -q I got output Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 HDMI-1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.00* 800x600 60.32 56.25 848x480 60.00 640x480 59.94 The resolution is wrongs as well as the physical coordinates isn't detected. I've tried to put this row to armbianEnv.txt extraargs=drm_kms_helper.edid_firmware=HDMI-A-1:edid/800x480.bin video=HDMI-A-1:800x480-24@60 This solved correct position of bootlogo during boot, but does't solve wrong touchscreen coordinates after boot. Moreover it causes very long boot time (more than 1 minute) I've tried to put U-boot env and save it setenv video-mode sunxi:800x480-24@60,monitor=hdmi,hpd=0,edid=0 saveenv It doesn't work at all. I've tried to set U-Boot variable CONFIG_INITIAL_USB_SCAN_DELAY=2000 I was thinking the wrong detection of screen dimension may lay in surface of screen initialization time. However it doesn't help too. The screen initialized before that delay. I've tried to put conf file to xorg conf according to this topic. It give correct resolution and touchscreen coordinates after boot, but form time to time wrong position of bootlogo. Does someone find the best solution? 0 Quote Link to comment Share on other sites More sharing options...
nathan22211 Posted February 27 Share Posted February 27 ok so it seems fen's solution would work, but I'm in a pickle here as my monitor resolution is 480x800. I got this screen for KlipperScreen, and it doesn't display anything despite having only an HDMI cable to send the display signal. It's a waveshare display from softpear. Never messed with U-boot btw so if Fenn's solution works with this display that'd be great 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.