-
-
Save cnlohr/152d4b7f35a7a76e0688ee4305d81a0b to your computer and use it in GitHub Desktop.
parse-edid | |
Checksum Correct | |
Section "Monitor" | |
Identifier "HTC-VIVE" | |
ModelName "HTC-VIVE" | |
VendorName "HVR" | |
# Monitor Model Year: 2016 | |
# EDID version 1.3 | |
# Digital Display | |
# Display Physical Size not given. Normal for projectors. | |
Gamma 2.20 | |
Option "DPMS" "false" | |
Horizsync 1-255 | |
VertRefresh 20-120 | |
# Maximum pixel clock is 290MHz | |
#Extension block found. Parsing... | |
Modeline "Mode 2" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync | |
Modeline "Mode 0" 297.00 2160 2200 2220 2266 1200 1228 1230 1464 -hsync -vsync | |
Modeline "Mode 1" 297.00 2160 2200 2220 2266 1200 1228 1230 1464 -hsync -vsync | |
Modeline "Mode 3" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync | |
Modeline "Mode 4" 297.00 2160 2200 2220 2266 1200 1228 1230 1464 -hsync -vsync | |
Modeline "Mode 5" 297.00 2160 2200 2220 2266 1200 1228 1230 1464 -hsync -vsync | |
Modeline "Mode 6" 297.00 2160 2200 2220 2266 1200 1228 1230 1464 -hsync -vsync | |
Modeline "Mode 7" 297.00 2160 2200 2220 2266 1200 1228 1230 1464 -hsync -vsync | |
Option "PreferredMode" "Mode 2" | |
EndSection | |
Edid-decode | |
Extracted contents: | |
header: 00 ff ff ff ff ff ff 00 | |
serial number: 22 d2 01 aa 00 00 00 00 ff 1a | |
version: 01 03 | |
basic params: 80 00 00 78 02 | |
chroma info: 60 bc aa 55 40 b6 23 0c 4c 52 | |
established: 00 00 00 | |
standard: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 | |
descriptor 1: 04 74 70 6a 80 b0 08 41 28 14 c2 04 7a 44 00 00 00 18 | |
descriptor 2: 04 74 70 6a 80 b0 08 41 28 14 c2 04 7a 44 00 00 00 18 | |
descriptor 3: 00 00 00 fc 00 48 54 43 2d 56 49 56 45 0a 20 20 20 20 | |
descriptor 4: 00 00 00 fd 00 14 78 01 ff 1d 01 0a 20 20 20 20 20 20 | |
extensions: 01 | |
checksum: de | |
Manufacturer: HVR Model aa01 Serial Number 0 | |
Made week 255 of model year 26 | |
EDID version: 1.3 | |
Digital display | |
Image size is variable | |
Gamma: 2.20 | |
Supported color formats: RGB 4:4:4 | |
First detailed timing is preferred timing | |
Established timings supported: | |
Standard timings supported: | |
Detailed mode: Clock 297.000 MHz, 122 mm x 68 mm | |
2160 2200 2220 2266 hborder 0 | |
1200 1228 1230 1464 vborder 0 | |
-hsync -vsync | |
Detailed mode: Clock 297.000 MHz, 122 mm x 68 mm | |
2160 2200 2220 2266 hborder 0 | |
1200 1228 1230 1464 vborder 0 | |
-hsync -vsync | |
Monitor name: HTC | |
Monitor ranges (bare limits): 20-120Hz V, 1-255kHz H, max dotclock 290MHz | |
Has 1 extension blocks | |
Checksum: 0xde (valid) | |
CEA extension block | |
Extension version: 3 | |
17 bytes of CEA data | |
Video data block | |
VIC 01 640x480@60Hz | |
VIC 02 720x480@60Hz | |
Audio data block | |
Linear PCM, max channels 1 | |
Supported sample rates (kHz): 48 44.1 32 | |
Supported sample sizes (bits): 24 20 16 | |
Speaker allocation data block | |
Vendor-specific data block, OUI 000c03 (HDMI) | |
Source physical address 1.0.0.0 | |
Basic audio support | |
0 native detailed modes | |
Detailed mode: Clock 297.000 MHz, 192 mm x 120 mm | |
2160 2200 2220 2266 hborder 0 | |
1200 1228 1230 1464 vborder 0 | |
-hsync -vsync | |
Detailed mode: Clock 297.000 MHz, 192 mm x 120 mm | |
2160 2200 2220 2266 hborder 0 | |
1200 1228 1230 1464 vborder 0 | |
-hsync -vsync | |
Detailed mode: Clock 297.000 MHz, 192 mm x 120 mm | |
2160 2200 2220 2266 hborder 0 | |
1200 1228 1230 1464 vborder 0 | |
-hsync -vsync | |
Detailed mode: Clock 297.000 MHz, 192 mm x 120 mm | |
2160 2200 2220 2266 hborder 0 | |
1200 1228 1230 1464 vborder 0 | |
-hsync -vsync | |
Checksum: 0xb1 (valid) | |
EDID block does NOT conform to EDID 1.3! | |
Detailed block string not properly terminated | |
EDID block does not conform at all! | |
Detailed blocks filled with garbage | |
Range descriptor contains garbage | |
One other note: You cannot operate the Vive HMD without jamming the system into full speed mode. It seems the default raspberry pi 3b+ CPU Frequency is 1.4GHz, and the core is 400MHz. The core really should be higher.
Add
core_freq=500
sdram_freq=600
sdram_schmoo=0x02000020
to your config.txt
and then at boot...
vcgencmd hdmi_timings 2160 1 40 20 46 1200 1 28 2 234 0 0 0 90 0 297000000 5 && tvservice -e "DMT 87"
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
You can measure performance based on char here: https://elinux.org/RPI_vcgencmd_usage
More FYIs - I am trying to use the X thing since it seems with the frame buffer all draw calls take 30+us.
Install libgles2-mesa-dev cmake libglm-dev
Use raspi-config to install full kernel acceleration.
Any update on this? I got a dual OLED HDMI display and I can get them to do 1080x1200@90fps on a Raspberry PI 3B+ but once I try to go to 2160x1200@90fps I only get half a screen. I assume it cannot be done but is there a device with a similar form factor that can do it?
SUPER GLITCHY But
with this config:
This will set the mode.
vcgencmd hdmi_timings 2160 1 40 20 46 1200 1 28 2 234 0 0 0 85 0 295000000 5 && tvservice -e "DMT 87";sleep .5; fbset -depth 8 && fbset -depth 16; sleep .5; cat /dev/urandom > /dev/fb0