Max Resolution Supported by RP64?
#1
Photo 
A few weeks ago I picked up a Dell (Alienware) AW3423DW monitor. It runs Windows 10 on my laptop fine, and is good for work. The max (and native) resolution is 3440x1440 @ 100Hz. 

However my RockPro64 with Linux is only able to reach 1920x1080 @ 120 Hz. Ive tried multiple distros (Manjaro, Arch, Ubuntu, Debian, and Armbian Twister). I'm back on Manjaro now, as that runs the smoothest (YMMV). It correctly identifies the model of the display, but doesn't offer higher resolutions and I'm stuck with black bars on the sides of my screen.

In the RockPro64 specs it says the following:
Dual VOP: one supports resolutions up to 4096x2160 and AFBC; the other supports resolutions up to 2560x1600

So, I wonder if there is a way to use the larger VOP and reach the 3440x1440 resolution? Or am I just trying to push this little board beyond its limits?

I've gone through several unsuccessful attempts at adding the resolution using xrandr (addmode, output, etc.).

Here is some more info, and a EDID file I found on GitHub, but haven't been able to use.

Code:
$ cvt 3440 1400 100
# 3440x1400 99.96 Hz (CVT) hsync: 148.44 kHz; pclk: 707.75 MHz
Modeline "3440x1400_100.00"  707.75  3440 3728 4104 4768  1400 1403 1413 1485 -hsync +vsync
Code:
$ xrandr -q
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
HDMI-A-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 810mm x 350mm
   1920x1080     59.96*+
   1440x1080     59.99 
   1400x1050     59.98 
   1280x1024     59.89 
   1280x960      59.94 
   1152x864      59.96 
   1024x768      59.92 
   800x600       59.86 
   640x480       59.38 
   320x240       59.52 
   1680x1050     59.95 
   1440x900      59.89 
   1280x800      59.81 
   1152x720      59.97 
   960x600       59.63 
   928x580       59.88 
   800x500       59.50 
   768x480       59.90 
   720x480       59.71 
   640x400       59.95 
   320x200       58.96 
   1600x900      59.95 
   1368x768      59.88 
   1280x720      59.86 
   1024x576      59.90 
   864x486       59.92 
   720x400       59.55 
   640x350       59.77

Code:
Monitor Asset Manager Report, generated 29.4.2023
Copyright (c) 1995-2019, EnTech Taiwan.
---------------------------

Monitor #1 [Real-time 0x0100]
  Model name............... Dell AW3423DW
  Manufacturer............. Dell
  Plug and Play ID......... DELA1E4
  Serial number............
  Manufacture date......... 2022, ISO week 42
  Filter driver............ None
  -------------------------
  EDID revision............ 1.4
  Input signal type........ Digital (DisplayPort)
  Color bit depth.......... 10 bits per primary color
  Color encoding formats... RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2
  Screen size.............. 810 x 350 mm (34.7 in)
  Power management......... Active off/sleep
  Extension blocs.......... 2
  -------------------------
  DDC/CI................... Supported
  MCCS revison............. 2.2
  Display technology....... TFT
  Controller............... Unknown
  Firmware revision........ 2.166
  Firmware flags........... 0x0010FFFF
  Active power on time..... 1117 hours
  Power consumption........ Not supported
  Current frequency........ 182.83kHz, 120.00Hz

Color characteristics
  Default color space...... Non-sRGB
  Display gamma............ 2.20
  Red chromaticity......... Rx 0.690 - Ry 0.304
  Green chromaticity....... Gx 0.241 - Gy 0.715
  Blue chromaticity........ Bx 0.146 - By 0.057
  White point (default).... Wx 0.313 - Wy 0.329
  Additional descriptors... None

Timing characteristics
  Horizontal scan range.... 255-255kHz
  Vertical scan range...... 1-175Hz
  Video bandwidth.......... 990MHz
  CVT standard............. Not supported
  GTF standard............. Supported
  Additional descriptors... None
  Preferred timing......... Yes
  Native/preferred timing.. 3440x1440p at 60Hz
    Modeline............... "3440x1440" 319.750 3440 3488 3520 3600 1440 1473 1478 1481 +hsync -vsync

Standard timings supported
     640 x  480p at  60Hz - IBM VGA
     800 x  600p at  60Hz - VESA
    1024 x  768p at  60Hz - VESA

EIA/CEA/CTA-861 Information
  Revision number.......... 3
  IT underscan............. Supported
  Basic audio.............. Supported
  YCbCr 4:4:4.............. Supported
  YCbCr 4:2:2.............. Supported
  Native formats........... 1
  Detailed timing #1....... 3440x1440p at 100Hz
    Modeline............... "3440x1440" 543.500 3440 3488 3520 3600 1440 1502 1507 1510 +hsync -vsync

CE audio data (formats supported)
  LPCM    2-channel, 16-bit              at 32/44/48 kHz

CE speaker allocation data
  Channel configuration.... 2.0
  Front left/right......... Yes
  Front LFE................ No
  Front center............. No
  Rear left/right.......... No
  Rear center.............. No
  Front left/right center.. No
  Rear left/right center... No
  Rear LFE................. No

CE vendor specific data (VSDB)
  IEEE registration number. 0x00044B
  CEC physical address..... 0.1.0.1
  Maximum TMDS clock....... 165MHz

CE colorimetry data
  xvYCC601 support......... No
  xvYCC709 support......... No
  sYCC601 support.......... No
  AdobeYCC601 support...... No
  AdobeRGB support......... No
  BT2020CYCC support....... No
  BT2020YCC support........ Yes
  BT2020RGB support........ Yes
  Metadata profile flags... 0x00

CE video capability data
  CE scan behavior......... Always underscanned
  IT scan behavior......... Always underscanned
  PT scan behavior......... Always underscanned
  RGB quantization range... Selectable (via AVI YQ)
  YCC quantization range... Not supported

HDR static metadata
  SDR luminance............ Yes
  HDR luminance............ No
  SMPTE ST2084............. Yes
  Hybrid log............... No
  Data payload............. 0605018D4B00

Report information
  Date generated........... 29.4.2023
  Software revision........ 2.91.0.1043
  Data source.............. Real-time 0x0100
  Operating system......... 10.0.19045.2

Raw data
  00,FF,FF,FF,FF,FF,FF,00,10,AC,E4,A1,53,41,36,30,2A,20,01,04,B5,51,23,78,3B,FC,A1,B0,4D,3D,B7,25,
  0E,50,54,21,08,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,E7,7C,70,A0,D0,A0,29,50,30,20,
  15,08,29,62,31,00,00,1A,00,00,00,FF,00,23,47,37,51,59,4D,78,67,77,41,42,31,43,00,00,00,FD,00,01,
  AF,FF,FF,63,01,0A,20,20,20,20,20,20,00,00,00,FC,00,44,65,6C,6C,20,41,57,33,34,32,33,44,57,02,08,
  02,03,20,F1,23,09,07,01,83,01,00,00,65,4B,04,00,01,01,E3,05,C0,00,E2,00,6A,E6,06,05,01,8D,4B,00,
  4E,D4,70,A0,D0,A0,46,50,30,20,E5,0C,29,62,31,00,00,1A,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,6F

---------------------------

Hardware data
  BUS_SLOT = PCI00000.PCI00004.PCI00008.PCI0000C.PCI00010.PCI00014.PCI00018.PCI0001C
  00000000 = 14801022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  00000008 = 14821022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  00000009 = 14831022.00100406.06040000.00810010.00000000.00000000.00010100.000001F1
  0000000A = 14831022.00100407.06040000.00810010.00000000.00000000.00080200.2000F1F1
  00000010 = 14821022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  00000018 = 14821022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  00000019 = 14831022.00100406.06040000.00810010.00000000.00000000.00090900.000001F1
  0000001A = 14831022.00100407.06040000.00810010.00000000.00000000.000A0A00.2000E1E1
  00000020 = 14821022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  00000028 = 14821022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  00000038 = 14821022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  00000039 = 14841022.00100404.06040000.00810010.00000000.00000000.000B0B00.000001F1
  00000040 = 14821022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  00000041 = 14841022.00100406.06040000.00810010.00000000.00000000.000C0C00.000001F1
  000000A0 = 790B1022.02200403.0C050061.00800000.00000000.00000000.00000000.00000000
  000000A3 = 790E1022.0220000F.06010051.00800000.00000000.00000000.00000000.00000000
  000000C0 = 14401022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  000000C1 = 14411022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  000000C2 = 14421022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  000000C3 = 14431022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  000000C4 = 14441022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  000000C5 = 14451022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  000000C6 = 14461022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  000000C7 = 14471022.00000000.06000000.00800000.00000000.00000000.00000000.00000000
  00000100 = 50161987.00100406.01080201.00000010.FCF00004.00000000.00000000.00000000
  00000200 = 57AD1022.00100407.06040000.00010010.00000000.00000000.00080302.0000F1F1
  00000328 = 57A31022.00100407.06040000.00810010.00000000.00000000.00040403.0000F1F1
  00000330 = 57A31022.00100406.06040000.00810010.00000000.00000000.00050503.000001F1
  00000340 = 57A41022.00100406.06040000.00810010.00000000.00000000.00060603.000001F1
  00000348 = 57A41022.00100406.06040000.00810010.00000000.00000000.00070703.000001F1
  00000350 = 57A41022.00100406.06040000.00810010.00000000.00000000.00080803.000001F1
  00000400 = 15398086.00100406.02000003.00000010.FCB00000.00000000.00000001.FCB20000
  00000500 = 00121102.00100006.04030001.00000010.FCAFC004.00000000.FCAF8004.00000000
  00000600 = 14851022.00100404.13000000.00800010.00000000.00000000.00000000.00000000
  00000601 = 149C1022.00100406.0C033000.00800010.FC700004.00000000.00000000.00000000
  00000603 = 149C1022.00100406.0C033000.00800010.FC600004.00000000.00000000.00000000
  00000700 = 79011022.00100406.01060151.00000010.00000000.00000000.00000000.00000000
  00000800 = 79011022.00100406.01060151.00000010.00000000.00000000.00000000.00000000
  00000900 = 43A014E4.00100006.02800003.00000010.FC4F8004.00000000.FC200004.00000000
  00000A00 = 220810DE.00100407.030000A1.00800010.FB000000.0000000C.00000078.0000000C
  00000A01 = 1AEF10DE.00100006.040300A1.00800010.FC0FC000.00000000.00000000.00000000
  00000B00 = 148A1022.00100404.13000000.00000010.00000000.00000000.00000000.00000000
  00000C00 = 14851022.00100404.13000000.00800010.00000000.00000000.00000000.00000000
  00000C01 = 14861022.00100400.10800000.00800010.00000000.00000000.FCE00000.00000000
  00000C03 = 149C1022.00100406.0C033000.00800010.FCC00004.00000000.00000000.00000000
  00000C04 = 14871022.00100006.04030000.00800010.FCDF0000.00000000.00000000.00000000
  --------
  Reply
#2
I don't know if this will help, for 4K monitors that default to 4K (added to kernel cmd line)

drm.edid_firmware=edid/your_edid.bin .... your_edid replaced by 1920x1080.bin

the edid directory is in /lib/firmware
also,,, https://wiki.archlinux.org/title/Kernel_mode_setting
BTW, often edid's have errors, usually minor
  Reply
#3
(10-17-2023, 10:10 AM)wdt Wrote: I don't know if this will help, for 4K monitors that default to 4K  (added to kernel cmd line)

drm.edid_firmware=edid/your_edid.bin    .... your_edid replaced by 1920x1080.bin

the edid directory is in /lib/firmware
also,,, https://wiki.archlinux.org/title/Kernel_mode_setting
BTW, often edid's have errors, usually minor

Thank you for your help wdt. Between work and  my ADD I haven't been able to get back to this. On a side note I tried a Raspberry Pi 4B on the same monitor, but it would only show 640x480 (which isn't very pretty on a 34" display)- given, I was using a janky adapter. The docs say it will support 4Kp60.

So, back on track. I've been having trouble finding where I make the changes you (and the Arch Wiki) suggest. I've seen instructions for Grub, but I'm using Uboot and it must have changed since this post referencing /boot/boot.txt my /boot directory contains:
Code:
[*** ~]$ ls -l /boot/
total 35560
drwxr-xr-x 8 root root     8192 Nov 29  2022 dtbs
drwxr-xr-x 2 root root     8192 Oct 15 15:01 extlinux
-rw-r--r-- 1 root root   172032 Feb  8  2023 idbloader.img
-rw-r--r-- 1 root root 26616320 Oct 15 12:38 Image
-rw-r--r-- 1 root root  8531140 Oct 22 20:21 initramfs-linux.img
-rw-r--r-- 1 root root  1062840 Feb  8  2023 u-boot.itb

Are the kernel command line instructions you offered passed onto the kernel from a config file, or compiled into the kernel itself?

Also, the EDID file I attached above (which I lost the source of) is obviously text, but you reference an edid.bin

At this point I'm fairly lost, but these display resolution problems seem to be common across the different distros and hardware (even on those geared toward the public like Twister Arbian), so any help is very much appreciated!
  Reply
#4
If you have an extlinux.conf, it will have a kernel line, the kernel is often called Image
A edid is 128 Bytes ,, a binary file, often a ls -l will show size 0, but if you view it somehow (cat?) it is NOT zero
A partial example, not all 30 lines,,, and sometimes it does not exist (the edid directory) (attached to 4K display)
ls -l /lib/firmware/edid/
total 116
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1024x600.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1024x768.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1152x864_75hz.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1280x1024.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1280x720.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1280x768.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1280x800.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1360x768.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1366x768.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1400x1050.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1440x900.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1600x1200.bin
-rw-rw-r-- 1 root root 128 Sep 16 09:18 1600x900.bin

edid files can be found (always?) in /sys/class/drm/ ... in the appropriate subdirectory
BUT, if you boot with monitor turned off, there will be no edid files
BTW
the modeline bit goes into xorg.conf, often SBC have no xorg.conf and (ie, it is not an edid binary)
Xorg -configure will NOT work for mali ,, if you can MANUALLY make an xorg.conf, you are a lot better than me
----
try this or some slight variation (as needed)
edid-decode /sys/devices/platform/display-subsystem//drm/card0/card0-HDMI-A-1/edid
The first bit of the report is the edid binary
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Flashed SPI, able to ping RP64 but not boot from sdcard/usb korefuji 2 2,822 08-26-2021, 11:41 AM
Last Post: LMM
  control RP64 power on LMM 0 1,878 04-15-2021, 02:59 AM
Last Post: LMM
  OpenGL/ES on RP64 Wizzard 3 5,396 09-16-2020, 03:17 PM
Last Post: Wizzard
  RP64 Mounting hole dimensions Wallaby 2 3,978 09-08-2019, 02:46 AM
Last Post: Wallaby
  Rp64 my new gaming station? NightCrawler504 1 2,871 03-25-2019, 10:48 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)