Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Radeon 7950x - firmware
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bdronka
n00b
n00b


Joined: 22 Jan 2015
Posts: 15

PostPosted: Mon Nov 28, 2022 12:11 pm    Post subject: Radeon 7950x - firmware Reply with quote

Hello,
I can't start the graphical environment. I suspect the problem is with the driver.
The graphics card is integrated in the Ryzen 7950x processor.
Code:
0f:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c1)
Subsystem: Gigabyte Technology Co., Ltd Device d000

I have not found what chip the graphics card has in this radeon. What firmware should I load?
Code:

*- Firmware loading facility
()    Build named firmware blobs into the kernel binary

What driver and firmware should i use for the integrated card in the cpu? (radeon, amdgpu?)[/code]
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon Nov 28, 2022 12:31 pm    Post subject: Reply with quote

Try
Code:

VIDEO_CARDS="amdgpu radeonsi"

then
Code:

emerge -uDUav @world

Plz follow
https://wiki.gentoo.org/wiki/AMDGPU#Kernel
Firmware probably you can find by rebooting and checking
Code:

dmesg -t | grep amdgpu | grep firmware

Although it will be infinitely simpler to build the drivers as modules (M)
Plz use latest kernel and linux-firmware.
_________________
:)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Mon Nov 28, 2022 1:47 pm    Post subject: Reply with quote

bdronka,

If you use
Code:
lspci -nnk
you will get some hex numbers at the end of the first line.
Code:
0f:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c1) <--- here


Those numbers are the vendor and device IDs for your GPU, like [1002:73df].
1002 means AMD. Given those numbers, we can discover the rest.

"Raphael" suggests a Zen APU.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bdronka
n00b
n00b


Joined: 22 Jan 2015
Posts: 15

PostPosted: Mon Nov 28, 2022 2:14 pm    Post subject: Reply with quote

Code:
0f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]

Having no where can you discover what chip it is?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Mon Nov 28, 2022 4:01 pm    Post subject: Reply with quote

bdronka,

What's supposed to happen is that you drop
Code:
PCI 1002:164e site:cateee.net
into your favourite search engine and it tell the kernel symbol you need.
Only it doesn't work.

Nor does seaching cateee.net for Raphael help.
I suspect you need the amdgpu kernel module but it looks like it won't bind to your GPU as it does not 'know' the PCI ID.

I can't find the firmware either.

If you EFI boot, build EFI_Framebuffer into the kernel.
If you BIOS/Legacy boot, choose VESA_Framebuther.
Its harmless to choose both.

Make the amdgpu module as <M> and install linux-firmware.
If the driver loads and finds its firmware, it will tell you in dmesg.
If the driver fails to load, it will be using one of the framebuffers on the console.

If the driver loads but can't find its firmware, the console will freeze at the point the kernel switches to the (broken) amdgpu driver.
It will tell you all about it in dmesg too but you need lo log in via ssh to read it.
The boot will proceed normally but the console will not work.

-- edit --

phoronix suggests that support for your GPU was added mid September 2022 but you need at least a 5.18 kernel.
That means the Gentoo testing kernel an stable, at 5.15.x is too old. New features are not back parted.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bdronka
n00b
n00b


Joined: 22 Jan 2015
Posts: 15

PostPosted: Tue Nov 29, 2022 10:43 am    Post subject: Reply with quote

Thanks for the comprehensive information.
So I'm going to add an nvidia card for a while
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4149
Location: Bavaria

PostPosted: Tue Nov 29, 2022 11:00 am    Post subject: Reply with quote

bdronka wrote:
So I'm going to add an nvidia card for a while

If the only reason is you want stay on a stable kernel version, then you should know next stable kernel will be 6.1 soon. So, if you change today to an (Gentoo-)unstable kernel 6.0.x and then to 6.1 you will have an unstable kernel only a short time.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Tue Nov 29, 2022 11:36 am    Post subject: Reply with quote

bdronka,

Stable and testing in kernels means two different things to kernel.org and Gentoo.
Gentoo only stables LTS kernels. With a new stable kernel on kernel.org every 10 weeks or so, its too much effort to stable every kernel.org kernel on Gentoo.

If you have an nvidia card in your parts bin by all means use it.
Its more fun and lower cost to try the testing kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Tue Nov 29, 2022 1:41 pm    Post subject: Reply with quote

Non-rc kernels are generally quite safe, so the likely worst case of trying a 6.0.x kernel is that it works neither better nor worse than the 5.15.x you are using now. Trying a 6.0.x kernel will almost certainly be faster than installing an alternate video card.
Back to top
View user's profile Send private message
vitaly-zdanevich
n00b
n00b


Joined: 01 Dec 2019
Posts: 71
Location: Belarus

PostPosted: Tue Jul 04, 2023 3:01 pm    Post subject: Reply with quote

VIDEO_CARDS="amdgpu radeonsi" is a correct value for AMD 7950x?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Tue Jul 04, 2023 3:05 pm    Post subject: Reply with quote

vitaly-zdanevich,

Yes.

amdgpu gets the correct Xorg driver
radeonsi builds mesa with the 3D support you need.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
vitaly-zdanevich
n00b
n00b


Joined: 01 Dec 2019
Posts: 71
Location: Belarus

PostPosted: Tue Jul 04, 2023 6:54 pm    Post subject: Reply with quote

@NeddySeagoon, THANK YOU for all big work that you are doing for Gentoo.
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2007

PostPosted: Wed Jul 05, 2023 7:05 am    Post subject: Reply with quote

vitaly-zdanevich wrote:
VIDEO_CARDS="amdgpu radeonsi" is a correct value for AMD 7950x?

If you've not already looked, read, learn and inwardly digest the wiki entry for AMDGPU graphics.
_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum