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

[nitropad-nx] igfx not properly working, reports llvm-pipe #25

Closed
daringer opened this issue Oct 4, 2023 · 15 comments · Fixed by linuxboot/heads#1561
Closed

[nitropad-nx] igfx not properly working, reports llvm-pipe #25

daringer opened this issue Oct 4, 2023 · 15 comments · Fixed by linuxboot/heads#1561

Comments

@daringer
Copy link
Collaborator

daringer commented Oct 4, 2023

For a dmesg log see here: https://support.nitrokey.com/t/ns50-and-3d-graphics-acceleration/5473

@ragnarblackmane
Copy link

If needed the issue occurs on Ubuntu 22.04, installed with this ISO on a Nitropad NS50:
https://www.nitrokey.com/files/ci/nitropad/ubuntu-oem/ubuntu-22.04.1-nitropad_nitropc-oem-amd64.iso
(haven't tried to install with a different one since I'm using the notebook at the moment)
all updates have been made.

@tlaurion
Copy link

tlaurion commented Oct 4, 2023

As discussed off-channel, all other i915 driven Intel iGPU under Heads passed to efifb so that the final OS initializes the iGPU for the first time, just taking efifb compatible FB initialized through coreboot by libgfxinit to draw 2d graphics and leaving final OS passing from efifb FB to i915drm only once without having to hack kexec as before to reuse the framebuffer, which might not be possible in newer intel iGPU without changing current coreboot passed kernel arguments.

This will need some additional work, but it would help to have a working Ubuntu kernel trace based on uefi booting the OS.


Heads upstream project shows the exact needed steps to switch from i915drm driver to efifb, exposing changes needed under coreboot, kernel config and board config.
The most recent changeset is related to librem boards which switched from i915drm to efifb and shows exactly what was needed, as noted under merged PR for nv41/NS50 there.

This happened under this PR: linuxboot#1492

@tlaurion
Copy link

tlaurion commented Oct 7, 2023

If needed the issue occurs on Ubuntu 22.04, installed with this ISO on a Nitropad NS50:
https://www.nitrokey.com/files/ci/nitropad/ubuntu-oem/ubuntu-22.04.1-nitropad_nitropc-oem-amd64.iso
(haven't tried to install with a different one since I'm using the notebook at the moment)
all updates have been made.

Is upstream (non oem) version of Ubuntu works out of the box?

@ragnarblackmane
Copy link

I may have access to an unused Nitropad in two weeks on which I'll try a non OEM iso.
As of now, I don't have the time to test it on mine. I'll update you ASAP.

daringer added a commit that referenced this issue Oct 16, 2023
* increase consistency for coreboot configs
* cleanup linux config
@ragnarblackmane
Copy link

I tried to install non OEM Ubuntu, but it can't even boot. I can ask Nitrokey to send you a kernel trace of a non Heads flashed Nitropad NS50.

@daringer
Copy link
Collaborator Author

looks like this is fixed by https://github.com/Nitrokey/heads/tree/temp-release-v2.3 - although releasing will take until november - will close the issue once the release is there

@tlaurion
Copy link

tlaurion commented Nov 9, 2023

@daringer please consider linuxboot#1522 and fixing upstream

@commandline-be
Copy link

Sorry to shake a sleeve here. Can we expect this fix for iGFX any time soon to be released ? I know, still 16 days till end of November. But hey, just tell us when, we're ready now :-)

@daringer
Copy link
Collaborator Author

hey @commandline-be - yeah thanks for poking, the fix is already in place: https://github.com/Nitrokey/heads/tree/temp-release-v2.3 just needs some minor housekeeping and the release itself - my plan is to do the 2.3 release this week (so hopefully one week before november runs out 😄 )

@commandline-be
Copy link

Can't wait really, this machine hits +80 degrees doing almost nothing for some reason (Gnome/Ubuntu 22.x) Promise is this fix could reduce CPU load, which i lean to put my trust in.

@daringer
Copy link
Collaborator Author

there we go -> https://github.com/Nitrokey/heads/releases/tag/v2.3 please close this issue if this fixes it for you

@tlaurion
Copy link

tlaurion commented Nov 18, 2023

@daringer please consider pushing changes upstream and saving changes in tree for linux and coreboot with the helpers (make BOARD=xyz module.blah) prior of committing so that changes don't require to be maintained across module's version bump.

@commandline-be
Copy link

commandline-be commented Nov 19, 2023 via email

@tlaurion
Copy link

Should be fixed upstream. See linuxboot#1522 (comment)

@commandline-be
Copy link

confirmed fixed with v2.4

@daringer daringer closed this as completed Jan 7, 2024
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 a pull request may close this issue.

4 participants