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

Missing support for AMD Lucienne APU? #111

Closed
khbsd opened this issue Sep 12, 2021 · 16 comments
Closed

Missing support for AMD Lucienne APU? #111

khbsd opened this issue Sep 12, 2021 · 16 comments
Labels
amdgpu amdgpu related problems enhancement New feature or request

Comments

@khbsd
Copy link

khbsd commented Sep 12, 2021

Hi all! I've recently grabbed a laptop with a Ryzen 7 5700u, with the integrated Lucienne Radeon Vega 8 GPU chip. From my research, it looks like it's a slightly tweaked Renoir Radeon Vega 8 chip. FreeBSD 14.0-CURRENT with drm-devel-kmod compiled and installed yesterday can see it, knows what it's called, but I don't believe the amdgpu driver supports it yet. I've tried:
-adding it with the kldlist rc.conf option
-using the xf86-video-amdgpu driver
-hand-configuring xorg.conf (using info from pciconf)

I'm wracking my brain the see if there's anything that I've missed. All my users are added to the video group, I've tried letting X configure itself, and I still end up with some variant of "no screens found."

I can attach logs later on tonight, as I'm currently helping remodel my kitchen. Thanks for your time!

@neelchauhan
Copy link
Contributor

I don't think the 5700u is supported in drm-kmod yet. drm-kmod development is very slow.

@khbsd
Copy link
Author

khbsd commented Sep 13, 2021

That's what I thought- is there any info or anything I could provide to help speed things up? I'm totally inexperienced at driver programming, but I can provide hardware info and a testing bed.

@neelchauhan
Copy link
Contributor

neelchauhan commented Sep 13, 2021

I once attempted to update drm-kmod to 5.7, but it wasn't stable. I copied over the code/effort I have done to 5.6-wip which has been merged.

I know Renoir got support in 5.5. I'm using it right now (after selling an Intel TigerLake PC for it).

drm-kmod goes step-by-step in Linux major versions. It's slow, I'd prefer to jump versions, say each LTS, or maybe just use RHEL drm and jump with each new RHEL, but it's the way it's done.

If you want to speed it up, let's get 5.6 stable, but you may need an older PC using amdgpu.

I'm a Ports committer but don't have commit rights to drm-kmod.

For development, there is a scripts/ folder.

@evadot evadot added the amdgpu amdgpu related problems label Sep 23, 2021
@khbsd
Copy link
Author

khbsd commented Sep 24, 2021

Sorry for the late reply- got incredibly busy with everything. I'll definitely check that out, since I've been meaning to learn a bit of C and Assembly. Unfortunately, I don't currently have an older amdgpu laptop, but my current one will definitely be available for any testing/feedback anyone needs for now. I try to update it from source every few days, though it takes a little while (about an hour for FreeBSD, 2~ hours for ports.)

Once I get a bit more stable in terms of time, I'll be able to start checking things out. Is there an IRC channel or something I can join to keep updated?

Edit to say: My main desktop has Nvidia, and is working well with everything compiled and functioning correctly. It's also running everything bleeding-edge, and I plan on using it for helping with FreeBSD development in the future.

@evadot
Copy link
Contributor

evadot commented Oct 8, 2021

What's the PCI id for your GPU ?

@evadot evadot added the enhancement New feature or request label Oct 8, 2021
@khbsd
Copy link
Author

khbsd commented Oct 8, 2021

I believe it's 0x164c.

@valpackett
Copy link
Contributor

Looks like just adding the PCI ID worked for 0x1638 in #118 (minus the VCN video codec hardware but that's less important than the actual GPU)

@khbsd
Copy link
Author

khbsd commented Oct 10, 2021

I'll give that a shot!

@khbsd
Copy link
Author

khbsd commented Oct 12, 2021

I'm at #118 as well, my resulting kernel panic is there.

@arvedarved
Copy link

I have also a 0x164c device and adding the PCI ID to the 5.7-wip branch made things working.

@headwhacker
Copy link

Has anyone managed to successfully start X on this GPU or we are still waiting for 5.11 or later to get the official support for this GPU?

@headwhacker
Copy link

Actually FreeBSD 13.1 RC2 plus drm-devel-kmod which is based on 5.7 is working now my Thinkpad E14 Gen3 (Ryzen 5 5500U)

@opsec
Copy link
Member

opsec commented May 18, 2022

Actually FreeBSD 13.1 RC2 plus drm-devel-kmod which is based on 5.7 is working now my Thinkpad E14 Gen3 (Ryzen 5 5500U)

Can you describe the steps necessary to build drm-devel-kmod ? It's no longer in the tree ?

@valpackett
Copy link
Contributor

There was a switch to numbered version ports: graphics/drm-510-kmod

@opsec
Copy link
Member

opsec commented Jun 28, 2022

@evadot
Copy link
Contributor

evadot commented Jan 5, 2024

Closing as we got support for this a long time ago.

@evadot evadot closed this as completed Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amdgpu amdgpu related problems enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants