Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ati-drivers] No supported adapters detected
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Fri Jan 18, 2013 8:13 am    Post subject: [ati-drivers] No supported adapters detected Reply with quote

Hi I got following problem since some weeks:

le1558 lu # lspci | grep VGA
02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Manhattan [Mobility Radeon HD 5400 Series]
le1558 lu # lsmod | grep fglrx
fglrx 5004559 144
le1558 lu # aticonfig
aticonfig: No supported adapters detected


Everything else is working fine. How to tell aticonfig to detect my card again?


thx :)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jan 18, 2013 1:58 pm    Post subject: Reply with quote

Code:
emerge linux-firmware ati-drivers xorg-server
aticonfig --initial
you may have lost sync

edit for spelling
_________________
Defund the FCC.


Last edited by DONAHUE on Fri Jan 18, 2013 6:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Fri Jan 18, 2013 3:36 pm    Post subject: Reply with quote

Code:

le1558 lu # emerge -av linux-firmware ati-drivers xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-base/xorg-server-1.13.1.901  USE="ipv6 kdrive nptl suid udev xorg -dmx -doc -minimal (-selinux) -static-libs -tslib -xnest -xvfb" 0 kB
[ebuild   R    ] x11-drivers/ati-drivers-12.11_beta11:1::x11  USE="disable-watermark modules (multilib) qt4 -debug -static-libs" 0 kB
[ebuild  N     ] sys-kernel/linux-firmware-20121225  USE="-savedconfig" 16,582 kB
[blocks B      ] x11-drivers/radeon-ucode ("x11-drivers/radeon-ucode" is blocking sys-kernel/linux-firmware-20121225)
[blocks B      ] sys-firmware/iwl6000-ucode ("sys-firmware/iwl6000-ucode" is blocking sys-kernel/linux-firmware-20121225)

Total: 3 packages (1 new, 2 reinstalls), Size of downloads: 16,582 kB
Conflict: 2 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-firmware/iwl6000-ucode-9.221.4.1::gentoo, installed) pulled in by
    sys-firmware/iwl6000-ucode required by @selected

  (x11-drivers/radeon-ucode-20120320::gentoo, installed) pulled in by
    x11-drivers/radeon-ucode required by @selected

  (sys-kernel/linux-firmware-20121225::gentoo, ebuild scheduled for merge) pulled in by
    linux-firmware


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked



Better install linux-formware package instead of selective ones? Or is the content identical?
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Jan 18, 2013 3:38 pm    Post subject: Reply with quote

linux-firmware just contains all firmware parts, while the split packages allow a more selective installation, and thus less cruft.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Fri Jan 18, 2013 3:54 pm    Post subject: Reply with quote

Like I thought!

So Ill make a

Code:

emerge -av radeon-ucode ati-drivers xorg-server
aticonfig --initial


instead, and report back!
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Fri Jan 18, 2013 5:25 pm    Post subject: Reply with quote

The radeon firmware, which is included in radeon-ucode, and in the larger set of linux-firmware, is only needed if you're going to use the open source, in kernel, radeon driver. If you're using fglrx, (ati-drivers), you don't need to install either one.

Also, if you use fglrx, (ati-drivers), you need to make sure you don't have any in kernel radeon drivers selected.

Good Luck..
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Fri Jan 18, 2013 6:47 pm    Post subject: Reply with quote

I have installed both, so i can switch with a simple script between the drivers.
aticonfig --initial wont work here, because it does not detect my card. :(
Upgrading to x11-drivers/ati-drivers-13.1:1::x11 right now, but i really think that this does not solve my problem. :(

any other thoughts?

Quote:

Also, if you use fglrx, (ati-drivers), you need to make sure you don't have any in kernel radeon drivers selected.

Loading both drivers at the same time is not working I think.

Code:

le@le1558 /lu $ lsmod | grep fglrx
fglrx                5004559  217
le@le1558 /lu $ lsmod | grep radeon
le@le1558 /lu $
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jan 18, 2013 7:08 pm    Post subject: Reply with quote

If you are on a laptop with hybrid graphics suggest editing title to reflect hybrid grahics
can you disable either card at the bios level ? with a key or key combo when running?
suggest google search for linux hybrid graphics and a forum search for radeon hybrid graphics switcheroo

http://en.gentoo-wiki.com/wiki/Vga_switcheroo
_________________
Defund the FCC.
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Fri Jan 18, 2013 7:25 pm    Post subject: Reply with quote

no hybrid graphics here

Some magic (I really dont know what) happened!!!

Code:

le@le1558 /lu $ aticonfig --adapter=0 --od-gettemperature

Adapter 0 - ATI Mobility Radeon HD 5000 Series
            Sensor 0: Temperature - 56.00 C


Thx all for helping!! :))
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Tue Feb 05, 2013 8:34 am    Post subject: Reply with quote

updated to 13.2_beta3-r200 and same problem again... :(
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Tue Feb 05, 2013 9:10 am    Post subject: Reply with quote

x11-drivers/radeon-ucode, sys-kernel/linux-firmware are not needed when it comes to fglrx.

what initial version of ati-drivers have you installed?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Tue Feb 05, 2013 9:17 am    Post subject: Reply with quote

what exectly do zou mean with initial?
My system goes everyday up2date, so now i am on the current 13.2 beta.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Tue Feb 05, 2013 9:43 am    Post subject: Reply with quote

ccube wrote:
what exectly do zou mean with initial?
My system goes everyday up2date, so now i am on the current 13.2 beta.


it started from a specific version right? what version is that?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Tue Feb 05, 2013 9:50 am    Post subject: Reply with quote

Th previously installed version is 13.1-r200. The first driver version on this system...I cannot tell you. This was back in 2009 and is not documented anymore...
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Tue Feb 05, 2013 10:02 am    Post subject: Reply with quote

ccube wrote:
Th previously installed version is 13.1-r200. The first driver version on this system...I cannot tell you. This was back in 2009 and is not documented anymore...

try doing a small regression test to see where it has started.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Feb 05, 2013 4:51 pm    Post subject: Reply with quote

you have
Quote:
Th previously installed version is 13.1-r200.
so now i am on the current 13.2 beta.
after an update 10 minutes ago using ~amd64 , I have
Quote:
emerge -s ati-drivers
Searching...
[ Results for search key : ati-drivers ]
[ Applications found : 1 ]

* x11-drivers/ati-drivers
Latest version available: 13.1
Latest version installed: 13.1
opening the question, "What is the source of your drivers?" The 13.1 version is working well on an hd5700 series.
http://packages.gentoo.org/package/x11-drivers/ati-drivers shows the 13.1 version as still hardmasked and not keyworded so putting it into the testing branch must be a brand new action. Suggest you try masking and keywording as needed to use 13.1.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Tue Feb 05, 2013 5:48 pm    Post subject: Reply with quote

Code:

[I] x11-drivers/ati-drivers
     Available versions: 
     (1)    [M]12.4 12.6_beta_pre897^d (~)12.8^d 12.11_beta11^d (~)13.1^d
     (legacy) 12.6_beta_pre897-r1^d[1] (~)13.1-r100^td[1]
     (nonlegacy) (~)12.10^d[1] (~)12.11_beta11^d[1] (~)13.1-r200^td[1] (~)13.2_beta3-r200^td[1]
       {debug disable-watermark +modules multilib pax_kernel qt4 static-libs KERNEL="linux"}
     Installed versions:  13.2_beta3-r200(nonlegacy)^td[1](05:25:54 PM 02/04/2013)(disable-watermark modules multilib qt4 -debug -static-libs KERNEL="linux")
     Homepage:            http://www.amd.com
     Description:         Ati precompiled drivers for radeon r600 (HD Series) and newer chipsets

[1] "x11" /var/lib/layman/x11


x11-overlay


I really dont think that this is the problem. It should be a local one. As you see in this thread earlier, that I hat this problem for weeks/months, until something magical solved it.... until the latest update :(
The only thing I can imagine is that my xorg.conf is a symlink. But this really shouldnt matter...
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Feb 05, 2013 6:53 pm    Post subject: Reply with quote

You were and are running beta driver versions from amd, packed into beta X.org packages, repacked in beta gentoo ebuilds. You are a beta tester :) . You and I are using the oldest hardware the beta version is expected to drive. Amd is hell bent on solving problems with this driver and their latest hardware, the 7000 series. In this scenario, it is very possible that fixing a 7000 series problem could break the 5000 series driver portion and the beta be issued untested for regression on the 5000 series.

As you said, an update broke your system. Not likely a local problem. Is your xorg-server a beta version also?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Tue Feb 05, 2013 7:41 pm    Post subject: Reply with quote

Well, my opinion is, that every fglrx user is a beta tester...

So, I found out some more details about this problem. Using the drivers from x11 overlay results in "unsupported hardware". Using the portage-tree ones aticonfig is working as expected.
Well, the only thing I need aticonfig for is reading the temerature, which is not so important.

Maybe I should look little deeper to investigate what is the difference between the gentoo and the x11 ebuilds.


Thanks for helping so far.

Btw:
Code:

le@le1558 /lu $ eix xorg-server
[I] x11-base/xorg-server
     Available versions:  1.9.5-r1 1.10.6-r1 1.11.4-r1 1.12.4 1.13.1 (~)1.13.2(0/1.13.2) [M](~)1.13.99.901 [M](~)9999(0/9999)[1] {dmx doc ipv6 kdrive minimal nptl selinux static-libs +suid tslib +udev xnest xorg xvfb}
     Installed versions:  1.13.2(11:18:57 AM 01/30/2013)(ipv6 nptl suid udev xorg -dmx -doc -kdrive -minimal -selinux -static-libs -tslib -xnest -xvfb)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers

[1] "x11" /var/lib/layman/x11
Back to top
View user's profile Send private message
Cassey_Jean_Claude
n00b
n00b


Joined: 10 Feb 2014
Posts: 2

PostPosted: Mon Feb 10, 2014 4:14 am    Post subject: Reply with quote

Any progress on this. I came home from a weekend away to find one of my GPU mining machines not registering work. When I rebooted it, aticonfig stopped seeing the adapters.

Both show up at boot time:

miner1 linux # lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn

but

miner1 ~ # aticonfig --list-adapters
aticonfig: No supported adapters detected

Of course, the mining software can't see them either.

Potentially other useful info:

miner1 linux # lsmod
Module Size Used by
fglrx 6740929 0

miner1 linux # emerge -s ati-drivers
Searching...
[ Results for search key : ati-drivers ]
[ Applications found : 1 ]

* x11-drivers/ati-drivers
Latest version available: 13.9
Latest version installed: 13.9
Size of files: 118,229 kB
Homepage: http://www.amd.com
Description: Ati precompiled drivers for Radeon Evergreen (HD5000 Series) and newer chipsets
License: AMD GPL-2 QPL-1.0

OK, I punted and used ACCEPT_KEYWORDS to emerge the 13.12 drivers and aticonfig is back and working? Weird, since I'm running the 13.9 drivers on my other miners. Also no clue why they stopped working...
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 70

PostPosted: Mon Feb 10, 2014 8:41 am    Post subject: Reply with quote

my solution for this was buying a new laptop, without an ati card... so i wont be able to help here anymore.

cheers
Back to top
View user's profile Send private message
MarcoMarin
Apprentice
Apprentice


Joined: 12 Mar 2014
Posts: 151

PostPosted: Mon Mar 31, 2014 12:04 pm    Post subject: Reply with quote

I have the exact same problem as Cassey_Jean_Claude and in the exact same setup as the OP, ccube. That is, both drivers are there, lspci -nnk lists them both under "kernel modules", but only "radeon" under "drivers in use". Unlike the OP however, I don't know how to use a script to change them. Aticonfig can't detect the device.

I tried removing everything "radeon" from the kernel and unmerging linux-firmware, after the latter the screen didn't work anymore, so I got it back there. How can I use fglrx instead?

I followed all these guides:

[1] https://wiki.gentoo.org/wiki/Xorg/Hardware_3D_acceleration_guide
[2] https://wiki.gentoo.org/wiki/Fglrx
[3] https://wiki.gentoo.org/wiki/Radeon

There seems to be a somewhat contradictory instruction on kernel config between [2] and [1]+[3], but I assume it's because DRM works for the general case while the FGLRX requires special care.. (maybe for ati using closed source drivers?)

Following guide [1], I've tried adding:
Code:
etc/X11/xorg.conf.d/10-dri.conf
for both "radeon" and "fglrx", but either way it complains about line 3 (EndSection) saying the Device section requires an identifier.. the file is identical to that listing, does it expects a TAB instead of 2 spaces? :o X fails to start with this conf.
(edit: tried changing the xorg.conf directly from radeon to fglrx, the identifier should be card0 it seems (maybe change the guide?), the result is the system crashed! it certainly requires the fglrx driver to be in use)

Finally, I think I can explain the automagic fix the OP reported.. I tried eselecting back the xorg-x11 interface, then glxinfo and glxgears works, after which I "eselect opengl set" the ati option, and it's fooled into working as well! 8O as if it couldn't start the device normally but running the programs open it for further commands? the frame rate even multiplies by 10x! Which gives hope, but is still crappy <40fps, attesting the wrongness of this approach I believe :)

Aticonfig still doesn't detect the device though... :(
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Mar 31, 2014 2:23 pm    Post subject: Reply with quote

@ MarcoMarin
Code:
lspci | wgetpaste
post the url returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MarcoMarin
Apprentice
Apprentice


Joined: 12 Mar 2014
Posts: 151

PostPosted: Mon Mar 31, 2014 9:15 pm    Post subject: Reply with quote

Hi DONAHUE,

here it is:
http://bpaste.net/show/196077/

same chipset as Cassey's...
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Mar 31, 2014 11:36 pm    Post subject: Reply with quote

Don't have a pitcairn. either side though, 5000 and 8000
Code:
wgetpaste /usr/src/linux/.config
ls -l /lib/firmware/radeon | grep -i pitcairn | wgetpaste

are you wishing to use radeon or fglrx as driver?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
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