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

Remove override for fkms driver, use kms driver on Pi3 #11

Open
wants to merge 1 commit into
base: scarthgap
Choose a base branch
from

Conversation

ericblade
Copy link

  • kms driver works on Pi3, and provides a significantly smoother/faster
    user experience, and allows for much lower gpu_mem split
  • Increase default gpu_mem, as LuneOS vkb does not work at 1080p display
    modes, without increasing gpu_mem split to 160mb (with either fkms or
    kms)
  • Allow overriding of GPU_MEM by user, as gpu_mem settings as low as 16mb
    work if you are not using 1080p display modes. This allows someone
    targetting lower resolutions explicitly to gain a significant amount of
    resources back.
  • Untested on other Pi models, but I would expect it would work, as all
    Pi models share the kms driver.

@ericblade
Copy link
Author

Tested by building an image, validating the config.txt contains the correct kms and gpu_mem, and then booting it on a Pi3B

- kms driver works on Pi3, and provides a significantly smoother/faster
  user experience, and allows for much lower gpu_mem split
- Increase default gpu_mem, as LuneOS vkb does not work at 1080p display
  modes, without increasing gpu_mem split to 160mb (with either fkms or
  kms)
- Allow overriding of GPU_MEM by user, as gpu_mem settings as low as 16mb
  work if you are not using 1080p display modes.  This allows someone
  targetting lower resolutions explicitly to gain a significant amount of
  resources back.
- Untested on other Pi models, but I would expect it would work, as all
  Pi models share the kms driver.
@Herrie82
Copy link
Collaborator

Herrie82 commented Mar 3, 2024

No way to test it here, but trust you on it.

LGTM
@shr-project Any comments?

@shr-project
Copy link
Contributor

No way to test it here, but trust you on it.

LGTM @shr-project Any comments?

Did you test hdmi audio with this change? I had similar change internally and in the end it was rejected due to some audio related issues.

@ericblade
Copy link
Author

ericblade commented Mar 4, 2024

@shr-project As far as I can tell HDMI audio works - startup and shutdown sounds occur, and with less crackling than without this. There's not much else I can test on device without html audio working, and it's my understanding that html audio is not working across the board. The only audio output I have connected is HDMI.

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

Successfully merging this pull request may close these issues.

None yet

3 participants