public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] agpgart, radeon and amdgpu kernel modules
@ 2025-03-02 23:08 gevisz
  2025-03-03 10:44 ` Michael
  0 siblings, 1 reply; 4+ messages in thread
From: gevisz @ 2025-03-02 23:08 UTC (permalink / raw
  To: gentoo-user

I have AMD/ATI RV740 PRO [Radeon HD 4770]
video card connected to the PCIEX16_1 port of
my Gigabyte GA-MA790FXT-UD5P motherboard
that has no integrated video card.

My processor is AMD Phenom II X4 945,
and I believe that it has no integrated graphics
card on it as well.

This my belief is based on the fact that all this
is almost 20 years old. :)

According to https://wiki.gentoo.org/wiki/Radeon
I have set in my make.conf
VIDEO_CARDS = "radeon r600"

Also the same https://wiki.gentoo.org/wiki/Radeon
instructs: "For cards that sit in an AGP slot, enable the AGP driver."

https://uk.wikipedia.org/wiki/AGP says that PCI-Express is not AGP.
However, lsmod currently shows me that both radeon and agpgart
are loaded and used. Moreover, it shows that the radeon module
uses the agpgart module.

A selected output of lsmod command is shown below.
Module                      Size        Used by
radeon                      1613824  9
agpgart                     32768      2 radeon,ttm
amdgpu                    9814016  0
drm_suballoc_helper    12288  2 amdgpu,radeon
i2c_algo_bit              12288     2 amdgpu,radeon
drm_ttm_helper        12288     2 amdgpu,radeon
ttm                            73728     3 amdgpu,radeon,drm_ttm_helper
drm_display_helper  147456   2 amdgpu,radeon
drm_kms_helper       55648    3 drm_display_helper,amdgpu,radeon
drm                           520192  16
gpu_sched,drm_kms_helper,drm_exec,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,radeon,drm_ttm_helper,ttm,amdxcp
video                         65536   2 amdgpu,radeon
drm_exec                 12288   1 amdgpu
amdxcp                    12288   1 amdgpu
drm_buddy               16384   1 amdgpu
gpu_sched               40960   1 amdgpu

Why? Is the apggart module really needed?
If not, why is it loaded?
Will the system work without it?
Shall I exclude it from kernel config?

Moreover, the same lsmod table above shows
that the amdgpu kernel module is also loaded.

However, according to the note in
https://wiki.gentoo.org/wiki/AMDGPU
"Some older graphics cards are supported by both the amdgpu
and the radeon kernel module. When using AMDGPU, it is
recommended to unset the ATI Radeon option so that the radeon
module is not built, or alternatively, to blacklist the radeon module
(after rebooting check with lsmod | grep radeon to see if the
blacklisting worked). The two modules are not meant to be loaded
simultaneously, unless for specific systems that require it, e.g. for
multiseat configurations."

So, the same questions about ampgpu:
Is this module really needed? (I guess it is not needed.)
If not, why is it loaded?
Will the system work without it? (I guess, yes.)
Shall I exclude it from kernel config? (I guess, yes.)

My guesses are based on the fact that the lsmod table above
shows that amdgpu module is not used.

I am interested to get answers to all these questions
because currently I am trying to clean my kernel from unneeded modules.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-03-03 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-02 23:08 [gentoo-user] agpgart, radeon and amdgpu kernel modules gevisz
2025-03-03 10:44 ` Michael
2025-03-03 12:18   ` gevisz
2025-03-03 15:45     ` Michael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox