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

Port graphics drivers from Linux 6.7 #47

Open
2 tasks
alice-sowerby opened this issue Jan 13, 2025 · 3 comments
Open
2 tasks

Port graphics drivers from Linux 6.7 #47

alice-sowerby opened this issue Jan 13, 2025 · 3 comments
Assignees
Labels
Milestone

Comments

@alice-sowerby
Copy link
Member

alice-sowerby commented Jan 13, 2025

User Story

As a user already running a desktop on FreeBSD, I want to be able to upgrade the GPU drivers to the ones ported from Linux 6.7 and still have a working desktop environment:

  • I can use a vt(4) session
  • I can use my X.Org/Wayland session
  • I can play games
  • I can watch videos, possibly with hardware-assisted decoding
  • I can suspend and resume the computer

GPGPU is out of scope because it is not actively worked on.

Implementation Notes

The actual work is tracked in freebsd/drm-kmod#332.

Acceptance Criteria

  • No regressions: if a desktop environment worked with the drivers available in ports/packages, it should continue to work with the drivers from Linux 6.7.
  • (optional) An unsupported GPU starts to work
@alice-sowerby alice-sowerby added this to the Q1 - 2025 milestone Jan 13, 2025
@dumbbell dumbbell changed the title Add support for Linux graphics driver 6.7 Port graphics drivers from Linux 6.7 Jan 13, 2025
@alice-sowerby alice-sowerby moved this to In progress in Laptop Project Board Jan 13, 2025
@dumbbell
Copy link
Collaborator

Status update for the LDWG meeting on 2025-01-20:

  • DRM drivers code was ported from Linux 6.7 to drm-kmod in December. The porting effort was finished on 2025-01-01.
  • The i915 and amdgpu drivers are working fine for me for several weeks: I don’t see any regressions with my daily uses (coding, browsing, watching videos, …).
  • Some people reported regressions with the i915 driver that causes corrupted display in the terminal. This is caused by a failure to register a fictitious memory range during the initialization of the code that integrathe the i915 driver and vt(4).

My next goal is to chase that problem with the i915 driver.

Hopefully, once this is solved, I will submit my patches to linuxkpi to Phabricator. This is required before freebsd/drm-kmod#332 can be considered for merge. I will track each linuxkpi patches from that pull request description.

@emaste
Copy link
Member

emaste commented Jan 20, 2025

Note that the issues I observed on i915 are not (necessarily) regressions - both occurred on relatively recent hardware and I was not able to effectively use the 6.6 or earlier port on them.

@dumbbell
Copy link
Collaborator

Oh, thank you, I misunderstood the comments then. I will try to debug the problem nonetheless :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In progress
Development

No branches or pull requests

3 participants