Links to all my notes (includes mini-projects and source code etc)
(+) 0001 How do I change the Pi System partition size ?
(+) 0100 Device tree settings
(+) 0201 Power over Ethernet - (PoE)
(+) 0202 Solar Power - (with WiFi)
(+) 0203 Power Bank pass through
(+) 0400 Accessing the SDHC card system image
(+) 0401 Accessing PC shares from the Pi
(+) 0402 Installing samba - (the Pi as a Network Share on your PC)
(+) 0900 Can this approach be scaled up to a PC UPS ?
(+) 1001 Pandora Spotify on the Pi
(+) 1002 Playing movies on the Pi
(+) 1003 Getting VGA from the HDMI socket
(+) 1004 Using the RCA socket
(+) 1005 Using the Pi RS232 serial links
(+) 1006 Using the GPIO pins
(+) 1007 Controlling the Pi Zero ACT LED
(+) 1200 List of standard camera modes
(+) 1300 Auto file names
(+) 6500 How to make the System partition read only ?
(+) 6501 Minimising SDHC corruption on power down
(+) 9000 diode switch
(+) 9001 Auto shut down
(+) 9001 MOSFET switch
(+) C201 High speed photos
(+) Dec 1969 (no desc)
(+) a000 Display setup - (for PhotoFrame)
(+) a001 go photoframe - (how it works)
(+) a002 set photo - (select for display)
(+) a003 go button script - (photoframe pause control)
(+) a005 get photos - (fetch resize)
(+) a00x Other display utilities
(+) c000 CCTV UPS requirements
(+) c001 countering low speed motion detect
(+) c002 Pi Overclocking
(+) c203 Pi ram disk - (tmpfs)
(+) c901 iR illumination
(+) c902 Viewing a video stream
(+) c905 Image anotation
(-) Dec 1969 (no desc)
(1920x1200 is the maximum resolution supported.) Quote Tue Dec 04, 2012 11:03 pm We've had a steady stream of requests for supporting HDMI modes that aren't from the official CEA/DMT list of modes. I've implemented CVT: http://en.wikipedia.org/wiki/Coordinated_Video_Timings You specify the new mode in config.txt with the following config string: Code: Select all hdmi_cvt=width width in pixels height height in pixels framerate framerate in Hz aspect aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9 margins 0=margins disabled, 1=margins enabled interlace 0=progressive, 1=interlaced rb 0=normal, 1=reduced blanking The first three arguments are required. The remaining ones are optional. aspect defaults to 16:9 if not specified. It should appear if you do Code: Select all tvservice -m DMT An example: Code: Select all hdmi_cvt=1680 1050 60 5 0 0 1 Code: Select all tvservice -m DMT ... mode 87: 1680x1050 @ 60Hz 16:10, clock:119MHz progressive (The custom mode will be 87). You might want to test it: Code: Select all tvservice -e "DMT 87" fbset -depth 8 && fbset -depth 16 (The fbset gets the console back after closing the display). You can also do the usual: Code: Select all hdmi_group=2 hdmi_mode=87 to make the custom mode the default. Please note. There is no guarantee your display will support the resolution/framerate produced by this. But if you are currently running a monitor at a non native resolution, then this may be worth a try. 4) When I execute "tvservice -m DMT" I am getting: "[E] Failed to initialize VCHI (ret=-1)" You might need this added to cmdline.txt Code: Select all coherent_pool=6M Re: Custom HDMI modes Quote Wed Dec 12, 2012 1:39 pm latest "next" firmware has some changes to custom hdmi modes. CVT now uses a single config string to set up. (First post edited) You can also play with the raw hdmi timings: The hdmi_timings parameters are: Code: Select all hdmi_timings= You wil obviously need a timing data sheet for the display, and quite possibly a scope to debug what is happening, but it may allow non-standard displays to be driven. The aspect ratio is: Code: Select all HDMI_ASPECT_4_3 = 1 HDMI_ASPECT_14_9 = 2 HDMI_ASPECT_16_9 = 3 HDMI_ASPECT_5_4 = 4 HDMI_ASPECT_16_10 = 5 HDMI_ASPECT_15_9 = 6 HDMI_ASPECT_21_9 = 7 HDMI_ASPECT_64_27 = 8 It will appear as the last hdmi_mode (87 for DMT, 65 for CEA). Use hdmi_group to determine CEA or DMT. This was my test, for VGA@75 Code: Select all hdmi_group=2 hdmi_mode=87 hdmi_timings=640 0 16 64 120 480 0 1 3 16 0 0 0 75 0 31500000 1 [edit: use hdmi_timings rather than hdmi_timing]
This note last modified: 4th Nov 2017 06:58.