LCD timings with Waveshare 5.5 AMOLED and XU4Q

joy
Posts: 992
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 36 times
Been thanked: 94 times
Contact:

Re: LCD timings with Waveshare 5.5 AMOLED and XU4Q

Unread post by joy » Mon Jul 22, 2019 8:49 am

1085243 wrote:
Fri Jul 19, 2019 12:57 pm
Greetings Joy, I've tried following your instructions several times start to finish, but so far this is all I'm getting with the XU4:
Hi @1085243,
It looks the display resolution is 1920x1080, not 1080x1920.
You can check its resolution under this sysfs nodes.

Code: Select all

root@odroid:~# cat /sys/class/drm/card0-HDMI-A-1/modes
1080x1920

root@odroid:~# cat /sys/class/graphics/fb0/virtual_size 
1080,1920

root@odroid:~# cat /sys/class/graphics/fb0/modes
U:1080x1920p-0
Could you share the followings?
1. dmesg
It's difficult to read booting log when you share it as a video file.
Please save a full booting log as following.

Code: Select all

(after booting done)
$ dmesg > /media/boot/dmesg.log
$ cd /media/boot/
$ zip dmesg.log.zip dmesg.log
2. /var/log/Xorg.0.log
You can find Xorg.0.log file in /var/log/Xorg.0.log.
Please share the file.

3. boot.ini
And I need your boot.ini, too.

joy
Posts: 992
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 36 times
Been thanked: 94 times
Contact:

Re: LCD timings with Waveshare 5.5 AMOLED and XU4Q

Unread post by joy » Mon Sep 02, 2019 11:03 am

Hi @1085243, @4d617474,
I have an update to share with you.

I made a kernel patch to support 1080x1920 for waveshare 5.5 monitor
and it has been merged in the latest kernel package.
You can easily set the mode by modifying boot.ini as following.

1. Upgrade

Code: Select all

$ sudo apt update -y && apt upgrade -y
$ sudo reboot
Then, check your version is..

Code: Select all

$ uname -a
Linux odroid 4.14.141-169 #1 SMP PREEMPT Sat Aug 31 23:19:59 -03 2019 armv7l armv7l armv7l GNU/Linux
2. Modify boot.ini
Set "videoconfig" as following, then reboot.

Code: Select all

setenv videoconfig "drm_kms_helper.edid_firmware=edid/1080x1920_55.bin"

Code: Select all

$ sudo reboot
I've confirmed it works well with the waveshare monitor, so please try this. :)

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 2 guests