Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Radeon HD 6970
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Psi15
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 84
Location: Vienna

PostPosted: Sun Sep 04, 2011 9:29 am    Post subject: Radeon HD 6970 Reply with quote

Hi!

With The X Server Configuration HOWTO I got my graphics card working very well, though I'm using the folling configuration at Device Drivers -> Generic Driver Options:

Code:

radeon/CAYMAN_pfp.bin radeon/CAYMAN_mc.bin radeon/CAYMAN_me.bin radeon/CAYMAN_rlc.bin


The only problem I've left is how to configure the sound over HDMI?

lspci -vvv says the following about the sound card:
Code:

01:00.1 Audio device: ATI Technologies Inc Device aa80
        Subsystem: PC Partner Limited Device aa80
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at fe640000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel


unfortunately my alsamixer looks very poor:
Code:

+---------------------------- AlsaMixer v1.0.24.2 -----------------------------+
| Card: HD-Audio Generic                               F1:  Help               |
| Chip: ATI R6xx HDMI                                  F2:  System information |
| View: F3:[Playback] F4: Capture  F5: All             F6:  Select sound card  |
| Item: S/PDIF                                         Esc: Exit               |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                     +--+                                     |
|                                     |OO|                                     |
|                                     +--+                                     |
|                                  < S/PDIF >                                  |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
+------------------------------------------------------------------------------+


any ideas? Are there any options I have to pass to the kernel module?

thx

Philipp
Back to top
View user's profile Send private message
Neithan
n00b
n00b


Joined: 15 Jan 2008
Posts: 14

PostPosted: Sun Sep 04, 2011 9:47 am    Post subject: Reply with quote

I am not ATI user anymore but if I was I would need to see your lsmod output. Generally when alsamixer is not picking up your device correctly it means that either you need to compile built in support for some additional driver in your kernel or if you compile/compiled it as a module you need to make sure its loaded.
_________________
Computer without windows is like a fish without a bicycle.
Back to top
View user's profile Send private message
Neithan
n00b
n00b


Joined: 15 Jan 2008
Posts: 14

PostPosted: Sun Sep 04, 2011 10:08 am    Post subject: Reply with quote

This is my "Device Drivers ---> Sound card support ---> <M> Advanced Linux Sound Architecture ---> PCI sound devices ---> Intel HD Audio" configuration, perhaps you only need to replace nvidia with ati (but again if you are building it as module make sure its loaded)
Code:
--- Intel HD Audio
   -*-   Build hwdep interface for HD-audio driver
   -*-     Allow dynamic codec reconfiguration (EXPERIMENTAL)
   [ ]   Support digital beep via input layer
   [*]   Support jack plugging notification via input layer
   [*]   Support initialization patch loading for HD-audio
   [*]   Build Realtek HD-audio codec support
   [*]   Build Analog Device HD-audio codec support
   [ ]   Build IDT/Sigmatel HD-audio codec support
   [ ]   Build VIA HD-audio codec support
   [ ]   Build ATI HDMI HD-audio codec support
   [*]   Build NVIDIA HDMI HD-audio codec support
   [ ]   Build INTEL HDMI HD-audio codec support
   [ ]   Build Cirrus Logic codec support
   [ ]   Build Conexant HD-audio codec support
   [ ]   Build Creative CA0110-IBG codec support
   [ ]   Build C-Media HD-audio codec support
   [ ]   Build Silicon Labs 3054 HD-modem codec support
   [*]   Enable generic HD-audio codec parser
   [ ]   Aggressive power-saving on HD-audio


Keep in mind that all this depends on if you have Intel motherboard and if you use alsa.
_________________
Computer without windows is like a fish without a bicycle.
Back to top
View user's profile Send private message
GES
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2005
Posts: 107
Location: Budapest, Hungary

PostPosted: Sun Sep 04, 2011 3:32 pm    Post subject: Re: Radeon HD 6970 Reply with quote

Psi15 wrote:

lspci -vvv says the following about the sound card:
Code:

01:00.1 Audio device: ATI Technologies Inc Device aa80
        Subsystem: PC Partner Limited Device aa80


?
Code:

# update-pciids
# lspci -vvv
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1641

PostPosted: Sun Sep 04, 2011 3:55 pm    Post subject: Reply with quote

I had a similar problem. See if this helps: http://forums.gentoo.org/viewtopic-p-6780264.html#6780264

(But be sure to have the right HD-Audio modules, as Neithan showed. In Linux 3.0.4 it's called "Build HDMI/DisplayPort HD-audio codec support" / CONFIG_SND_HDA_CODEC_HDMI)
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
Psi15
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 84
Location: Vienna

PostPosted: Sun Sep 04, 2011 5:25 pm    Post subject: Reply with quote

@Etal:
The last one didn't help

Code:

# cat /sys/module/radeon/parameters/audio
1


@Neithan:

I think I'm using a more current kernel version (vanilla-sources-2.6.39.3). I've enabled the following kernel options:

Code:

--- Intel HD Audio
[ ]   Build hwdep interface for HD-audio driver
[ ]   Support digital beep via input layer
[ ]   Support jack plugging notification via input layer
[ ]   Support initialization patch loading for HD-audio
[*]   Build Realtek HD-audio codec support
[ ]   Build Analog Device HD-audio codec support
[ ]   Build IDT/Sigmatel HD-audio codec support
[ ]   Build VIA HD-audio codec support
[*]   Build HDMI/DisplayPort HD-audio codec support
[ ]   Build Cirrus Logic codec support
[ ]   Build Conexant HD-audio codec support
[ ]   Build Creative CA0110-IBG codec support
[ ]   Build C-Media HD-audio codec support
[ ]   Build Silicon Labs 3054 HD-modem codec support
[*]   Enable generic HD-audio codec parser
[ ]   Aggressive power-saving on HD-audio


Though the Realtek-driver is for the onboard soundcard. And I indeed to have an intel ich9 chipset as well as using alsa.

lsmod outputs the following:

Code:

# lsmod
Module                  Size  Used by
vboxnetadp              4870  0
vboxnetflt             13453  0
vboxdrv              1763843  2 vboxnetadp,vboxnetflt
snd_hda_codec_hdmi     21584  1
snd_hda_codec_realtek   286975  1
snd_hda_intel          19758  0
snd_hda_codec          54662  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_pcm                61352  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_page_alloc          6657  2 snd_hda_intel,snd_pcm


@GES:

Code:


# update-pciids
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  181k  100  181k    0     0   127k      0  0:00:01  0:00:01 --:--:--  140k
Done.

# lspci -vvv
01:00.1 Audio device: ATI Technologies Inc Device aa80
        Subsystem: PC Partner Limited Device aa80
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at fe640000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel


But thank you very much for your input so far. I'm simply afraid that the chip for some reason is too new and the kernel driver doesn't recognize it properly (especially the device id being aa80)

ciao

Philipp
Back to top
View user's profile Send private message
Neithan
n00b
n00b


Joined: 15 Jan 2008
Posts: 14

PostPosted: Sun Sep 04, 2011 6:44 pm    Post subject: Reply with quote

If you don't know what else to try, give "Build Analog Device HD-audio codec support" a go. But is your problem only that the sound doesn't work over HDMI or that your sound doesn't work at all?

This is my lsmod it's the minimum I needed.
Code:
Module                  Size  Used by
snd_hda_codec_nvhdmi    14179  1
nvidia              10083188  40
snd_hda_codec_realtek   269336  1
r8169                  35384  0
snd_hda_intel          20968  3
ath9k                  97117  0
ath9k_common            3584  1 ath9k
ath9k_hw              290322  2 ath9k,ath9k_common
snd_hda_codec          71844  3 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5972  1 snd_hda_codec
snd_pcm                70464  3 snd_hda_intel,snd_hda_codec
snd_timer              18248  1 snd_pcm
snd                    54863  11 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc          6921  2 snd_hda_intel,snd_pcm


Maybe you are right with realtek being for onboard cards but I definitely need it as without it my sound didn't work. Perhaps because I have an onboard sound card :) (Assus laptop).

EDIT:
Quote:
But thank you very much for your input so far. I'm simply afraid that the chip for some reason is too new and the kernel driver doesn't recognize it properly (especially the device id being aa80)

If that proves to be true try newer kernel.
_________________
Computer without windows is like a fish without a bicycle.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1674
Location: Berlin, Germany

PostPosted: Sun Sep 04, 2011 10:56 pm    Post subject: Reply with quote

The open source driver does not yet support HDMI Audio on Northern Islands/Radeon 6000 series:
http://wiki.x.org/wiki/RadeonFeature

There is code for that already but it is not yet public:
http://phoronix.com/forums/showthread.php?59680-So-what-about-Evergreen-HDMI-Audio
Back to top
View user's profile Send private message
Psi15
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 84
Location: Vienna

PostPosted: Mon Sep 05, 2011 1:56 pm    Post subject: Reply with quote

hmm...
that sounds reasonable. So I'm waiting :)

thx

Philipp



chithanh wrote:
The open source driver does not yet support HDMI Audio on Northern Islands/Radeon 6000 series:
http://wiki.x.org/wiki/RadeonFeature

There is code for that already but it is not yet public:
http://phoronix.com/forums/showthread.php?59680-So-what-about-Evergreen-HDMI-Audio
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Mon Sep 05, 2011 2:44 pm    Post subject: Reply with quote

Thanks, was wondering myself here about the alsamixer (though never used hdmi yet).
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
schwarzygesetzlos
n00b
n00b


Joined: 11 Dec 2004
Posts: 69
Location: Funeralopolis

PostPosted: Sat Sep 17, 2011 11:43 am    Post subject: Reply with quote

Thanks for pointing out chithanh! I was also wondering why it didn't work on my HD5770, whereas it works on my HD4290.

Out of curiosity I tried the closed-source x11-drivers/ati-drivers. Now audio via HDMI is working!
Back to top
View user's profile Send private message
Psi15
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 84
Location: Vienna

PostPosted: Sat Nov 19, 2011 1:34 pm    Post subject: Reply with quote

hmm... kernel 3.0.6 doesn't seem to help :( waiting for new ati-drivers...
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
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