trouble with HDMI audio

Hi guys!

Please, let me know if i’m posting in the wrong forum.

Tumbleweed
Gnome
rx 470

http://www.alsa-project.org/db/?f=c428acef7233a5bfc76f8e3cea0088cd82d7929f

I’ve tried installing pulse and have been able to select HDMI as a device, but no joy.

Any suggestions or advice are greatly appreciated.

Hi
I see your system is not up to date(should be at 20161102), run a zypper dup and see how that goes, also what repos are you using?

thanks for the reply.

did the distribution upgrade

these are the repos:

user@nohostname:~> zypper lr
# | Alias                             | Name                        | Enabled | GPG Check | Refresh
--+-----------------------------------+-----------------------------+---------+-----------+--------
1 | http-ftp.uni-erlangen.de-142a7336 | Packman Repository          | Yes     | (r ) Yes  | Yes    
2 | http-opensuse-guide.org-68e70a37  | libdvdcss repository        | Yes     | (r ) Yes  | Yes    
3 | openSUSE-20161026-0               | openSUSE-20161026-0         | Yes     | (r ) Yes  | Yes    
4 | repo-debug                        | openSUSE-Tumbleweed-Debug   | No      | ----      | ----   
5 | repo-non-oss                      | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes    
6 | repo-source                       | openSUSE-Tumbleweed-Source  | No      | ----      | ----   
7 | repo-update                       | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes  

still getting the same behavior.

ran the script again:
http://www.alsa-project.org/db/?f=d862fecff99c35cacdb713c54f736d309a676a8f

again, thank you very much for your time and efforts.

Hi
So if you go into System Settings (the inverted triangle then the spanner/screwdriver) and select sound, you should be able to switch?

Here is my test to an external HDMI connection… all woking fine and am able to switch (using amdgpu driver);

http://thumbnails115.imagebam.com/51328/947b02513272139.jpg](http://www.imagebam.com/image/947b02513272139)

It’s using pulseaudio (default).

currently there is no hdmi/dp audio support for your device – it is supposed to be introduced with the AMD DAL driver … the DAL adds additional display features and runs atop the amdgpu kernel driver

Hi
Thanks for the info, I see a recent article here…

well it switches just nothing comes out.

thanks for the reply.

wht’re we talking here? like spring of 2017ish?

Thanks for the link.

i know there’s no timeline for mainlining yet, but when should 4.10 get here? like march?

Hi
At 4.9.0-rc3 in Kernel:HEAD which you could try… it should automatically switch you to amdgpu can check with;


/sbin/lspci -nnk | grep -A3 VGA

It should even be detected now, can you confirm with the above command.

user@nohostname:~> /sbin/lspci -nnk | grep -A3 VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] [1002:67df] (rev cf)
	Subsystem: Gigabyte Technology Co., Ltd Device [1458:22e1]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu



cool…

so how do i get the Hdmi audio working from here?

Hi
So you want to try the kernel from Kernel:HEAD?

In the mean time I see a amdgpu kernel option for audio


systool -vm amdgpu

I’m guessing it’s auto (-1)?

I see here: RadeonFeature that DAL is done for your card (Polaris 10 Volcanic Island).

Maybe try setting audio to enable as a test? If so add the boot option to the kernel command line options YaST → Bootloader


amdgpu.audio=1

I do wonder if it’s almost worth a bug report against the 4.8.4 kernel?

user@nohostname:~> systool -vm amdgpuModule = "amdgpu"


  Attributes:
    coresize            = "1511424"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "5"
    srcversion          = "623BC4DB3538BF7E5D668EA"
    taint               = ""
    uevent              = <store method only>


  Parameters:
    aspm                = "-1"
    audio               = "1"
    bapm                = "-1"
    benchmark           = "0"
    cg_mask             = "4294967295"
    deep_color          = "0"
    disable_cu          = "(null)"
    disp_priority       = "0"
    dpm                 = "-1"
    exp_hw_support      = "0"
    hw_i2c              = "0"
    ip_block_mask       = "4294967295"
    lockup_timeout      = "0"
    msi                 = "-1"
    pcie_gen2           = "-1"
    pcie_gen_cap        = "0"
    pcie_lane_cap       = "0"
    pg_mask             = "4294967295"
    powercontainment    = "1"
    powerplay           = "-1"
    runpm               = "-1"
    sched_hw_submission = "2"
    sched_jobs          = "32"
    smc_load_fw         = "1"
    test                = "0"
    vm_block_size       = "13"
    vm_debug            = "0"
    vm_fault_stop       = "0"
    vm_size             = "64"


  Sections:
    .altinstr_replacement= "0x0000000000000000"
    .altinstructions    = "0x0000000000000000"
    .bss                = "0x0000000000000000"
    .data.unlikely      = "0x0000000000000000"
    .data               = "0x0000000000000000"
    .eh_frame           = "0x0000000000000000"
    .exit.text          = "0x0000000000000000"
    .gnu.linkonce.this_module= "0x0000000000000000"
    .init.text          = "0x0000000000000000"
    .note.gnu.build-id  = "0x0000000000000000"
    .parainstructions   = "0x0000000000000000"
    .ref.data           = "0x0000000000000000"
    .rodata.str1.1      = "0x0000000000000000"
    .rodata.str1.8      = "0x0000000000000000"
    .rodata             = "0x0000000000000000"
    .smp_locks          = "0x0000000000000000"
    .strtab             = "0x0000000000000000"
    .symtab             = "0x0000000000000000"
    .text               = "0x0000000000000000"
    .text.unlikely      = "0x0000000000000000"
    __bug_table         = "0x0000000000000000"
    __jump_table        = "0x0000000000000000"
    __mcount_loc        = "0x0000000000000000"
    __param             = "0x0000000000000000"
    __tracepoints_ptrs  = "0x0000000000000000"
    __tracepoints       = "0x0000000000000000"
    __tracepoints_strings= "0x0000000000000000"
    __verbose           = "0x0000000000000000"
    _ftrace_events      = "0x0000000000000000"


user@nohostname:~> 




and then restarted the computer, still same behavior.

am i doing this right?

Looks ok to me. Did you reconfigure sound in Yast if you don’t get test sound there no point in going further.

On Sat 05 Nov 2016 02:16:01 PM CDT, gogalthorp wrote:

Looks ok to me. Did you reconfigure sound in Yast if you don’t get test
sound there no point in going further.

Hi
YaST isn’t used for sound, see in my screen shot, both are unconfigured
and have no sound issues…


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.34-33-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

On Sat 05 Nov 2016 12:16:01 PM CDT, newtosusethrow wrote:

Parameters:
aspm = “-1”
audio = “1”

Hi
So the systool output was before or after you added the boot option
(which was fine). If it was before adding that option, the it’s setting
it automatically and the option isn’t needed.

I’m wonder if it is only done for radeon driver…

Did you want to try kernel:HEAD then?


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.34-33-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

kernel:HEAD sounds like an interesting option.

how do i try that?

Hi
As root user;


zypper ar -f -g -n openSUSE-Kernel-HEAD http://download.opensuse.org/repositories/Kernel:/HEAD/standard/ repo-Kernel-HEAD
zypper ref
zypper dup --from repo-Kernel-HEAD

This should switch to the 4.9.rc3 version…