Need Display Config Help
#7
Hi,

I now have my Dell 1600x1200@60hz monitor working with my Rock64 Big Grin , I've not done a lot of testing and I know there is already an issue when I use my KVM switch to move to my PC, when I move back the display dose not work. Also I've only tested in command line mode and not in a desktop mode, but it's a step in the right direction.

I found this http://wiki.radxa.com/Rock/Hdmi_Resolution witch pointed me in the right direction

How to:

edit the source file linux-kernel-release-4.4/drivers/video/rockchip/rockchip-hdmi-lcdc.c and create a new hdmi_video_timing entry at the bottom of the existing list

Code:
        {
                /* Dell 2700FP */
                .mode = {
                        .name = "1600x1200@60Hz",
                        .refresh = 60,
                        .xres = 1600,
                        .yres = 1200,
                        .pixclock = 162000000,
                        .left_margin = 64,
                        .right_margin = 80,
                        .upper_margin = 50,
                        .lower_margin = 6,
                        .hsync_len = 20,
                        .vsync_len = 8,
                        .sync = 0,
                        .vmode = 0,
                        .flag = 0,
                },
                .vic = HDMI_VIDEO_DMT | 11,  //512 | 11 = 523 remember this for defaulting the screen res
                .vic_2nd = 0,
                .pixelrepeat = 1,
                .interface = OUT_P888,
        },

Then edit linux-kernel-release-4.4/drivers/video/rockchip/rockchip-hdmi.h to set the display mode as default. not tested without this yet...
Code:
//#define HDMI_VIDEO_DEFAULT_MODE                       HDMI_1280X720P_60HZ
#define HDMI_VIDEO_DEFAULT_MODE            523 //1600x1200@60hz

Will post again once I've done some more testing....
  Reply


Messages In This Thread
Need Display Config Help - by Bluesman - 08-17-2017, 05:39 PM
RE: Need Display Config Help - by Ptheven - 08-21-2017, 04:05 AM
RE: Need Display Config Help - by Luke - 08-21-2017, 04:10 AM
RE: Need Display Config Help - by joseph - 10-17-2017, 09:09 AM
RE: Need Display Config Help - by tor - 12-15-2017, 06:41 PM
RE: Need Display Config Help - by frewind - 03-24-2018, 02:44 AM
RE: Need Display Config Help - by frewind - 06-07-2018, 12:55 AM
RE: Need Display Config Help - by gaggleoxfoggy - 06-20-2018, 03:30 PM
RE: Need Display Config Help - by Pajaro - 09-10-2018, 06:59 PM
RE: Need Display Config Help - by Luke - 09-11-2018, 06:28 AM
RE: Need Display Config Help - by Trash_Can_Man - 09-11-2018, 08:30 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)