xserver fails to generate useable resolutions with 90Hz framerate panels(encounter the same issue with 3 different 2.5k resolution panels). All the resolutions shown by xrandr lead to blank screen except the one written in EDID. Ville Syrjälä from Intel provides a method to calculate the preferred clock and refresh rate from the existing resolution table and this works for the issue. v2. xf86ModeVRefresh might return 0, need to check it before use it. v3. reported by Markus on launchpad that the issue is not devided by 0, it's the "preferred" being accessed unconditionally. BugLink: https://launchpad.net/bugs/1999852 Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1388 Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com> |
||
---|---|---|
.. | ||
dri2.c | ||
driver.c | ||
driver.h | ||
drmmode_display.c | ||
drmmode_display.h | ||
dumb_bo.c | ||
dumb_bo.h | ||
meson.build | ||
modesetting.man | ||
pageflip.c | ||
present.c | ||
vblank.c |