Odroid C2 1280x390 screen resolution is possible?

All,

I’m running an Odroid C2 and trying to drive a 14.9" 1280x390 60hz LCD marquis display. On a Pi I can change the boot config files to the following and the display works like a champ.

[HDMI:1]
hdmi_group=2
hdmi_mode=87
hdmi_timings=1280 0 8 128 64 390 0 1 3 24 0 0 0 67 0 42009500 8

On the Odroid I can’t even find the config file to attempt the changes. I love how fast and light Odroid is, it is really snappy, but I need some help stretching out this display if it is even possible? Any help pointing me in the right direction would be greatly appreciated.

G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=5
G_DIETPI_VERSION_RC=1
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’

Linux DietPi 5.10.110-meson64 #22.05.1 SMP PREEMPT Sat May 28 07:50:27 UTC 2022 aarch64 GNU/Linux

That is actually a good question. Are those files present?

cat /sys/class/graphics/fb0/mode
cat /sys/class/graphics/fb0/modes
cat /sys/class/graphics/fb1/mode
cat /sys/class/graphics/fb1/modes

There is also the video kernel command-line parameter. I’ll have a closer look when I’m back home from work.

Hey there Michalng - yes the fb0 files are there, not fb1. I can play with them to see if I get the right resolution unless you have some suggestions?

What did you find @MichaIng? I’ve had no luck.

Does cat /sys/class/graphics/fb0/modes show 1280x390 and if so, does it work to echo this to /sys/class/graphics/fb0/mode to change the resolution?

cat /sys/class/graphics/fb0/modes only shows U: 1920X1080p-0

Is there any way to add @MichaIng?

@MichaIng any ideas?

Since KMS is used, we need to check differently. What does this show?

for i in /sys/class/drm/*/status; do echo "$i: $(<$i)"; done

@MichaIng this is the result:

/sys/class/drm/card0-HDMI-A-1/status: connected

Still, hoping to get this resolved @MichaIng - any further thoughts?

1 more ping @MichaIng

Please try to add video=HDMI-A-1:1280x390 to the extraargs= line in /boot/armbianEnv.txt.