Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

AMD Radeon and no driver?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
29 posts
  • 1
  • 2
  • Next
Author
Message
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

AMD Radeon and no driver?

  • Quote

Post by The_Great_Sephiroth » Sat Oct 01, 2016 10:02 pm

Alright, I am confused as all hell as to how to make an AMD card work here. It is so damn simple with nVidia and Intel that maybe my skills are not up to snuff, but now I am lost in how to get full hardware acceleration for my video card. The card is an AMD Radeon HD 6520G. I just want this damn thing to work. I have seen "radeon", "amdgpu", "fglrx", and I believe one other. Then there's the official driver from AMD. AMD selects the 15.9 driver for my card, but it is stated to only work with distros like Ubuntu, Debian, and Redhat. The nVidia drivers actually build from source on your system, but I am not so sure about the AMD driver, so that may rule out an official driver. If I use the "radeon" driver I do not get 3D acceleration and fall back to mesa. I don't even know a thing about the "amdgpu" driver yet. So damn confusing!

So, can somebody explain how to get FULL 3D ACCELERATION AND HARDWARE SUPPORT on recent AMD video cards? The radeon driver works, but I cannot use it on games due to mesa being insanely slow. Is there a guide which details this obviously complex process? Bear in mind that the X server is now 1.18 and I do not believe fglrx will cooperate with it, adding to the frustration. This is why I buy nVidia! Still, it's a free laptop, but if this does not work soon it may become a free target to shoot at. Pop quiz! How many .50cal rounds will it take to FIX the piece of junk AMD card?
Ever picture systemd as what runs "The Borg"?
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Sun Oct 02, 2016 2:15 am

Is it possible to use the official driver from AMD on Gentoo and select it for OpenGL with eslect?
Ever picture systemd as what runs "The Borg"?
Top
ct85711
Veteran
Veteran
Posts: 1791
Joined: Tue Sep 27, 2005 8:54 pm

  • Quote

Post by ct85711 » Sun Oct 02, 2016 2:23 am

The only proprietary driver that AMD maintains is amdgpu. A while ago AMD decided to completely drop the fglrx on being developed all together and rewrite the entire driver package. In the process of the rewrite, they dropped support for a lot of the older cards. So if your card does not support amdgpu, you are effectively out of luck for an updated driver.
Arch wiki wrote:At the moment there is support for the Volcanic Islands, some cards of the Sea Islands family and the Southern Islands family (more experimental than Sea Islands and coming only in Linux 4.8 ). AMD has absolutely no plans for supporting the pre-GCN GPUs.
https://wiki.archlinux.org/index.php/AMDGPU

From what I can tell, the 6520G is around the Northern Island set; so have fun!
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

Re: AMD Radeon and no driver?

  • Quote

Post by Ant P. » Sun Oct 02, 2016 2:40 am

The_Great_Sephiroth wrote:The radeon driver works, but I cannot use it on games due to mesa being insanely slow.
Define "insanely slow"? I get playable framerates on games with a HD6450.
Top
cboldt
Veteran
Veteran
User avatar
Posts: 1046
Joined: Wed Aug 24, 2005 2:54 pm

  • Quote

Post by cboldt » Sun Oct 02, 2016 11:24 am

I'll admit ignorance of how the "X" drivers and kernel interact, but is the appropriate linux-firmware being loaded?
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Sun Oct 02, 2016 2:48 pm

ct85711:
That is what is adding to the confusion. AMD keeps defining specific cards as old and there are many different unsupported cards around while nVidia cards that work go way back, making it easier on me. ATI did this mess a few years ago also, before AMD acquired them, making life in Linux with specific ATI cards hell. And yes, my card is Northern Islands and uses the SUMO stuff.

Ant P:
I have tried mesa many times in the past and it always sucked, which is why I used the official drivers for my nVidia systems, resulting in a HUGE improvement. I have also been told that mesa is software. I forget where I read that or who told me that. It was back in my Debian days. On other AMD/ATI systems I get an option to use fglrx or mesa, and fglrx always beats mesa. In my eyes, mesa is a fall-back.

cdboldt:
Yes, it is loading the SUMO firmware correctly.

Quick question. Since AMD wants me to use the Catalyst driver (can I use the official driver on Gentoo?) does that mean fglrx supports my card? I cannot find a supported card list for fglrx, making it impossible for me to know.
Ever picture systemd as what runs "The Borg"?
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Oct 02, 2016 4:14 pm

When you tried Mesa and saw poor performance, were you using an ATI card or an nVidia card? Due to an ongoing lack of cooperation from nVidia, the open source drivers for their cards progress more slowly and generally work less well, although they are usable. That lack of cooperation, in conjunction with their tendency to drop cards before the hardware dies, is why I warn people to stay away from nVidia.

Like Ant P., I use an ATI card with the open drivers. I had no trouble getting it going and its performance is excellent.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Sun Oct 02, 2016 5:04 pm

Alright, I will try the radeon driver I built into my kernel along with mesa. Will mesa allow me to game though? That is my primary concern. Also, does anybody know if the official driver will work in Gentoo?
Ever picture systemd as what runs "The Borg"?
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Oct 02, 2016 6:25 pm

My user is in the video group. I use stable amd64 X server, the open source driver for my card (which is now more than 5 years old). I run various games, both Linux native and Wine-assisted. The Wine games are newer and tend to be more demanding, but I have not observed any problems I believe to be related to the graphics driver.
Top
ct85711
Veteran
Veteran
Posts: 1791
Joined: Tue Sep 27, 2005 8:54 pm

  • Quote

Post by ct85711 » Sun Oct 02, 2016 6:36 pm

Also, does anybody know if the official driver will work in Gentoo?
To AMD/ATI, the only official driver for them is amdgpu, fglrx has been abandoned. Does fglrx work? It probably will, but keep in mind it's not going to be updated anymore. Also keep in mind, it does NOT support xorg-server-1.18. Just like a lot of closed-source software, once they drop something it no longer exists to their eyes. The best you can hope for, is that some of the amdgpu work is also passed down to the radeon side too.
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Sun Oct 02, 2016 6:45 pm

Your GPU is older model, so install radeon driver (x11-drivers/xf86-video-ati, wiki). Then set proper VIDEO_CARDS to your /etc/portage/make.conf. Then run

Code: Select all

emerge --ask --deep --newuse @world
I read from previous post that you have already included the firmware, so no kernel recompilation needed.

Using closed source drivers (fglrx) that is no longer supported by upstream (AMD) limits you by the fact that you must keep an older xorg-server (that's compatible with the obsolote drivers) version. That's why I highly recommend you to use open source drivers.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Oct 02, 2016 9:26 pm

The_Great_Sephiroth,

If you download the official driver from the AMD/ATI website and install that you get to keep all the pieces.
That's partially what the ebuild does. It fetches the fglrx binary blob abandonware.
Use the ebuild if you want to do this and keep Xordg below 1.18

The nVidia driver does not compile on your system. nVidia ship the same binary blob as they use on Windows.
What compiles is the shim wrapper to make the blob talk to the kernel.

The open drivers are the way ahead for you.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
plasmonics
n00b
n00b
Posts: 13
Joined: Wed Mar 16, 2011 4:59 pm

  • Quote

Post by plasmonics » Mon Oct 03, 2016 8:40 pm

I agree with Vulgar that amd cards are garbage. I always use nvidia on my homebuilt desktop. emerge nvidia-drivers works everytime. My laptop came with amd. AMD gpu is extemely difficult to set up now that amd no longer supports the catalyst driver.

After hours of googling, I manage to get it working. You need to use the Gentoo wiki to find out the chipset and the corresponding driver for your card. For instance, my card is HD7660G. It is a radeon, not a amdgpu. I found this out by trial and error. Then in /etc/portage/make.conf, you set VIDEO_CARDS="radeon". You also need to compile the kernel with extra firmware. Enable DRM and choose either radeon or amd in kernel config and add the extra firmware and the path. Mine are the four R600-*bin files. Yours are probably the same. There is no harm in compiling extra firmware if you are not sure. After you boot into the new kernel, you need to do a deep recompile following the wiki. The entire xorg system and Mesa have to be recompiled.
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Mon Oct 03, 2016 8:55 pm

plasmonics wrote:AMD gpu is extemely difficult to set up now that amd no longer supports the catalyst driver.
*sigh*
[post=7972230]Zucca[/post] wrote:Using closed source drivers (fglrx) that is no longer supported by upstream (AMD) limits you by the fact that you must keep an older xorg-server (that's compatible with the obsolote drivers) version. That's why I highly recommend you to use open source drivers.
Open Source drivers work even on my HD 3000 series card and R9 Nano on the same machine with multiseat setup, meaning "at the same time".
Open Source drivers are about on par with the current closed source drivers. Current closed source drivers are named Crimson, NOT Catalyst. On Linux those Crimson drivers are commonly known as AMDGPU-PRO. And Catalyst drivers were outright horrible. I once tested them and went back to open source.

Anyway. I wouldn't use Crimson/amdgpu-pro drivers anyway since AMD offically only supports RedHat, Suse, Ubuntu and SteamOS.

And What comes to firmwares, I think you can configure kernel to load firmwares from a directory also, so you might not need to compile/insert them into kernel.

In summary: Use the open source drivers.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Mon Oct 03, 2016 9:19 pm

Okay, there seems to be a worrying amount of people who learned something from a blog ten years ago and either haven't bothered to update their mindset or went spreading this outdated info to others.

Here is how installing *any* modern GPU driver works:

Code: Select all

echo "*/* openmax vaapi vdpau VIDEO_CARDS: radeon amdgpu modesetting" >> /etc/portage/package.use/gpu.conf

emerge -DN mesa xorg-drivers linux-firmware

cd /usr/src/linux
./scripts/config --enable DRM
./scripts/config --enable DRM_FBDEV_EMULATION
./scripts/config --module DRM_I915
./scripts/config --module DRM_RADEON
./scripts/config --module DRM_AMDGPU
If you want an early framebuffer to avoid mode switching delays, then go back and change the actually loaded kernel module (in lspci) to =y and firmware files (in dmesg) to built-in.
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Mon Oct 03, 2016 9:33 pm

Ant P. wrote:Here is how installing *any* modern GPU driver works:

Code: Select all

echo "*/* openmax vaapi vdpau VIDEO_CARDS: radeon amdgpu modesetting" >> /etc/portage/package.use/gpu.conf

emerge -DN mesa xorg-drivers linux-firmware

cd /usr/src/linux
./scripts/config --enable DRM
./scripts/config --enable DRM_FBDEV_EMULATION
./scripts/config --module DRM_I915
./scripts/config --module DRM_RADEON
./scripts/config --module DRM_AMDGPU
... something along those lines is something wiki may need.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Tue Oct 04, 2016 2:11 am

Zucca wrote:Your GPU is older model, so install radeon driver (x11-drivers/xf86-video-ati, wiki). Then set proper VIDEO_CARDS to your /etc/portage/make.conf. Then run

Code: Select all

emerge --ask --deep --newuse @world
I read from previous post that you have already included the firmware, so no kernel recompilation needed.

Using closed source drivers (fglrx) that is no longer supported by upstream (AMD) limits you by the fact that you must keep an older xorg-server (that's compatible with the obsolote drivers) version. That's why I highly recommend you to use open source drivers.
What are the open source drivers called? I want to migrate to them but not sure what I am looking for. Thanks.
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Tue Oct 04, 2016 10:52 am

Budoka wrote:What are the open source drivers called? I want to migrate to them but not sure what I am looking for. Thanks.
Currently there are two open source drivers for AMD. You must choose one or the other based on your GPU model.

Please see these wiki pages:
  • Radeon - driver in portage: x11-drivers/xf86-video-ati
  • Amdgpu - driver in portage: x11-drivers/xf86-video-amdgpu
When you're done, finally remove x11-drivers/ati-drivers if you have them installed.

I hope this helps.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Tue Oct 04, 2016 2:24 pm

Oh. And the "black screen issue" some are having might be solved by:
[topic=7969846]Althorion[/topic] wrote:But I have actually solved this issue (by asking on IRC):
You need to have CONFIG_DRM_FBDEV_EMULATION turned on, that Wiki doesn’t say anything about.
Come to think of it... I may create a wikiaccount for myself. And learn some wikisyntax.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Tue Oct 04, 2016 2:42 pm

Lots of replies while I was busy. I am using the radeon driver now. The system is built and appears to be fine. The radeon driver can NOT be built into the kernel for some reason. It must be built as a module. I already set both "VIDEO_CARDS" and "ALSA_CARDS" as I do on all Gentoo systems. I also set "INPUT_DEVICES" and some other stuff. My only remaining issue with this laptop is that randomly it boots and the keyboard/touchpad do not work. No rhyme or reason. It is detected according to dmesg, but it refuses to accept input from it. I have a thread open for that though.

Perhaps we should update the wiki page for AMD/ATI and give detailed directions for the open-source drivers along with a list that is easy to understand for those in the future who are also confused?
Ever picture systemd as what runs "The Borg"?
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Tue Oct 04, 2016 2:55 pm

The_Great_Sephiroth wrote:Perhaps we should update the wiki page for AMD/ATI and give detailed directions for the open-source drivers along with a list that is easy to understand for those in the future who are also confused?
Yeah. It needs some polishing. Maybe a quick and dirty -howto section too.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Oct 04, 2016 3:36 pm

The_Great_Sephiroth,

Radeon can be built in. Its that way on my media player.
However, the firmware must be built in too.

The boot sequence is the kernel loads, initialises the built in modules, which as part of their startup, load any required firmware.
Root is not yet mounted, so /lib/firmware cannot be read.
That's regardless of root being the real root or an initrd.

When Radeon is a module, its loaded from the root filesystem anyway, so /lib/firmware is present.
If you use Radeon as a module and its in your initrd, /lib/firmware/... needs to be in the initrd too.

Some Radeon cards only need firmware for hadrware 3D acceleration. You might not even notice it missing.
Others need the firmware for everything.

There you go - eight permutations but only three work.

Its the same for all drivers that need firmware. The firmware must be available when they initialise.
This is why is a very good thing to make these things work as loadable modules first. It saves kernel rebuilds and reboots.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
The_Great_Sephiroth
Veteran
Veteran
Posts: 1609
Joined: Fri Oct 03, 2014 9:34 pm
Location: Fayetteville, NC, USA

  • Quote

Post by The_Great_Sephiroth » Tue Oct 04, 2016 7:40 pm

Neddy, I tried using it with this model card as built-in and it would not work. I did build the correct firmware into the kernel, but it just would not work. Perhaps it is with this model card/configuration, and not all. Either way, as a module it works fine and I only have to build the AMD microcode updates into the kernel.
Ever picture systemd as what runs "The Borg"?
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Wed Oct 05, 2016 4:30 am

Zucca wrote:
Budoka wrote:What are the open source drivers called? I want to migrate to them but not sure what I am looking for. Thanks.
Currently there are two open source drivers for AMD. You must choose one or the other based on your GPU model.

Please see these wiki pages:
  • Radeon - driver in portage: x11-drivers/xf86-video-ati
  • Amdgpu - driver in portage: x11-drivers/xf86-video-amdgpu
When you're done, finally remove x11-drivers/ati-drivers if you have them installed.

I hope this helps.
That was helpful. Thanks!

I am curious how I can test/know that my system is using Radeon? I have a laptop with one of those hybrid cards:

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]
I don't see either the radeon.conf or intel.conf in xorg.conf.d as both the Radeon and Intel wiki indicate should exist. I only have 20opengl with nothing in it.

eselect mesa is showing some radeon stuff and eselect opengl only has xorg.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Oct 05, 2016 8:24 am

Budoka,

Look in /var/log/Xorg.0.log.

I've not had anything to do with AMD/Intel Hybrids. However, early hardware really had two completely independent graphics systems with an electronic switch at the output, called a multiplexer. The multiplexer cost money, took up both space and power and as it is in the video path, degraded the image.
The multiplexer needs the kernel module VGA Switcheroo to control it and it can only be switched when Xorg is not running.

Later systems, called muxless, do not have this multiplexer. Now, the more powerful graphics system is only half a graphics system. With the multiplexer gone, it has no connections to the display surface.
In low power/performance mode, the Intel graphics does everything.
In high power/performance mode. The Intel graphics chip reads the pixel buffer to the display, so you still see the display and the AMD/nVidia chip renders the image into the shared pixel buffer..

With a muxless system, attempting to use the high performance GPU alone always results in a blank screen as it has no way to drive the display.
The two graphics systems must co-operate.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply

29 posts
  • 1
  • 2
  • Next

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic