Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting Display > Resolution does not work - returns to the main menu #155

Closed
dankcushions opened this issue May 3, 2021 · 13 comments
Closed
Labels

Comments

@dankcushions
Copy link

I am unable to select the Resolution menu as it always quits back to the main menu immediately. This is via Raspi OS Lite 5.10.11-v7l+.

Potentially relevant parts of config.txt:

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=82

(i have to manually select HDMI modes otherwise it defaults to 4k which has bad performance - if I remove these lines it still fails)

dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
overscan_scale=1
@BenMcLean
Copy link

Is there anything we need to do to get this crippling problem some attention?

@XECDesign
Copy link
Member

@spl237

@spl237
Copy link

spl237 commented Feb 28, 2022

The resolution menu in raspi-config is only usable with legacy mode video drivers; with the KMS driver which is now standard, the command-line xrandr tool should be used instead. This option shouldn't be shown in the raspi-config menu any more; I will remove it.

@spl237
Copy link

spl237 commented Feb 28, 2022

Also - you should not be using the line dtoverlay=vc4-fkms-v3d on any of our images any more - that loads the fake KMS driver, which is no longer supported. That line should either be ...vc4-kms-v3d, or it should be absent altogether to access the legacy video driver, but that is not an option on Pi 4 or Pi 400, which have to use KMS. What you have in your config.txt looks unsupported to me.

@lurch
Copy link

lurch commented Feb 28, 2022

you should not be using the line dtoverlay=vc4-fkms-v3d on any of our images any more - that loads the fake KMS driver, which is no longer supported.

Oh! I didn't know that.
Does that means that this and this needs updating Simon? (ping also @aallan as I guess this also impacts raspberrypi/documentation#2310 )

@spl237
Copy link

spl237 commented Feb 28, 2022

Err - pass. All I know is that I have modified raspi-config so that the only GL driver options are KMS on Pi 4 / 400, and KMS or legacy on older Pis. fKMS is not available in raspi-config any more, so my understanding is that people should not be using it; it still works (presumably...), but I don't think future support for it is guaranteed. Worth checking the official position with GH or similar rather than taking my word for it though...

@spl237
Copy link

spl237 commented Feb 28, 2022

But yes, at a quick look, those pages are definitely out of date - the KMS driver is now the default and is no longer experimental, for a start.

@aallan
Copy link

aallan commented Feb 28, 2022

I guess this ties into raspberrypi/documentation#2310 and also raspberrypi/documentation#2061

@dankcushions
Copy link
Author

The resolution menu in raspi-config is only usable with legacy mode video drivers; with the KMS driver which is now standard, the command-line xrandr tool should be used instead. This option shouldn't be shown in the raspi-config menu any more; I will remove it.

xrandr only works in X11, no? I am not using X or FKMS - I am using KMS with command line content that goes straight to the framebuffer (https://github.com/RetroPie), by default using the global display mode in config.txt. this is what this resolution option in raspi-config adjusts, and it used to work fine.

could raspi-config not be updated to update display mode at runtime via KMS? it would be a very useful tool for non-X environments.

@XECDesign
Copy link
Member

This is looking like a wontfix. I don't think there's going to be effort made to support resolution setting for legacy or FKMS. If there's a way to get raspi-config to adjust resolution on the fly with KMS that works with or without X, that would be great, but sounds like a separate issue.

@dankcushions
Copy link
Author

Fair, though rather than just exit out and do/say nothing, it would be better in the scenario of KMS + outside of X that the option adjusted config.txt, but prompted for a reboot.

@BenMcLean
Copy link

Fair, though rather than just exit out and do/say nothing, it would be better in the scenario of KMS + outside of X that the option adjusted config.txt, but prompted for a reboot.

Since the active devs want to not spend time on this (totally understandable) I brought up the idea of just removing the Resolution menu altogether over here.

@spl237
Copy link

spl237 commented Mar 9, 2022

The option has already been removed for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants