Skip to content

new kms driver doesn't detect 480i or work when forced. #4307

@alanbork

Description

@alanbork

the kms driver does not detect 480i. Tested with 2ac4de4eaac5c1d1b25acec4a5e0a9fdb16f0c91. Haven't checked if it woks with older versions.

kms: modetest | grep 480i
[nothing]
fkms: modetest | grep 480i
#31 720x480i 30.00 720 739 801 858 480 488 494 525 13514 flags: nhsync, nvsync, interlace, dblclk; type: driver
#32 720x480i 29.97 720 739 801 858 480 488 494 525 13500 flags: nhsync, nvsync, interlace, dblclk; type: driver

there's a bug in modetest that shows the refresh rate as half if the mode is interlaced, those really are 60hz/ntsc.

perhaps relatedly, kms fails if I force 480i by using the same modeline detected by fkms:

720x480i-60.00hz(60): 13.514000 720 739 801 858 480 488 494 525 -hsync -vsync interlace dblclk

it initializes kms/drm without errors but swapbuffer in a tight loop always returns after .28ms and nothing is shown on screen.

it works if I instead I generate a modeline using cvt:

13.50 720 744 808 896 480 483 493 512 interlace -hsync +vsync

so maybe the issue is dblclk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions