Hey guys,
I'm trying to set a fixed resolution but it is not working somehow.
130|x86_64:/ # cat /proc/fb
0 inteldrmfb
I always get this message if i try to set a mode manually
04-05 08:26:39.422 1317 1317 E GRALLOC-KMS: failed to set crtc (Invalid argument) (crtc_id 39, fb_id 80, conn 73, mode 1920x1080)
original error no is -22
after adding some detail log messages in gralloc_drm_kms.c i also changed the parameters of the created mode
so for example this one is working well as it is set automatically:
04-05 08:04:47.281 1316 1316 I GRALLOC-KMS: drmModeSetCrtc, mode values clock 74250, hdisplay 1920, hsync_start 2008, hsync_end 2052, htotal 2200, hskew 0, vdisplay 1080, vsync_start 1084, vsync_end 1094, vtotal 1125, vscan 0, vrefresh 60, flags 21, type 64, name 1920x1080i
and this one failes (i even tried to set the SAME values in generate_mode(int h_pixels, int v_lines, float freq))
04-05 08:05:57.340 2429 2429 I GRALLOC-KMS: drmModeSetCrtc, mode values clock 148500, hdisplay 1920, hsync_start 2008, hsync_end 2052, htotal 2200, hskew 0, vdisplay 1080, vsync_start 1084, vsync_end 1094, vtotal 1125, vscan 0, vrefresh 60, flags 5, type 72, name 1920x1080i
in general - all forced modes fail - even if they are available in the found modes connectors list.
any ideas how to get this working? i dont really get the exception, as the arguments dont differ at all?!