Skip to contentSkip to conversation

New: no sound via HDMI for Radeon 6850 mesa driver

Bug 65730 [email protected] 1 participant 15 messages Jun 13, 2013 – Jul 13, 2015

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=65730

Priority: medium
Bug ID: 65730
Assignee: [email protected]
Summary: no sound via HDMI for Radeon 6850 mesa driver
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: Drivers/DRI/R600
Product: Mesa

Greetings, this is my first bug report so I apologize if it is placed in the wrong section. I am unable to get sound via HDMI cable using the open source driver for my Radeon 6850. I have (X)ubuntu 13.04 32bit system, using mesa 9.2, as provided by the xorg-edgers ppa, using all appropriate updates as passed downstream by the ppa. Using the FGLRX driver does fix the sound issue along with providing a high level of hardware acceleration, but it does cripple me being able to play on some emulators due to the well-known buggy nature of the FGLRX driver. I already made a report on the askubuntu.com forums, but so far there has been no response. My motherboard's native sound card is broken, so currently I have my computer speakers plugged into the HD monitor, hence HDMI sound is my only choice at this time. Here is a link to my askubuntu question (so as to avoid duplication of effort with providing info).

http://askubuntu.com/questions/306196/no-sound-via-hdmi-using-xubuntu-13-04-32-bit-amd-mesa-9-2

Thanks in advance for any assistance.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #1 from Alex Deucher <[email protected]> ---
You need to boot with radeon.audio=1 on the kernel command line in grub to enable audio.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #2 from Jason <[email protected]> --- Indeed I had already tried that in my /etc/default/grub file. I edited both lines and rebooted...
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.audio=1" GRUB_CMDLINE_LINUX="radeon.audio=1"

Sound does not work.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #3 from Alex Deucher <[email protected]> --- Created attachment 80801
--> https://bugs.freedesktop.org/attachment.cgi?id=80801&action=edit
fix AVI infoframe

Does the attached kernel patch along with the radeon.audio=1 help?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #4 from Jason <[email protected]> --- Before I being, I must make a disclaimer that I am not a Linux genius by any means, but a moderate user, able and willing to find my way around things. I do occasionally assist one of the pcsx2 emulator devs with me applying and testing various patches for the code. Sometimes I need help, though, finding the correct file to patch, as I am not a coder. Anyways, back to the topic at hand.

I'm assuming the file in question should be r600_hdmi.c?

I have checked using catfish file searcher and also manually for this file. This includes the /lib/modules/3.8.0-23-generic/kernel/drivers/gpu/drm/radeon directory. All I have is radeon.ko in that directory. In other words, I don't see any trace of where r600_hdmi.c is or should be anywhere in my file system.

Again I apologize for the inconvenenience.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #5 from Andy Furniss <[email protected]> --- (In reply to comment #4)

Quoted 9 lines

Before I being, I must make a disclaimer that I am not a Linux genius by any means, but a moderate user, able and willing to find my way around things. I do occasionally assist one of the pcsx2 emulator devs with me applying and testing various patches for the code. Sometimes I need help, though, finding the correct file to patch, as I am not a coder. Anyways, back to the topic at hand.

I'm assuming the file in question should be r600_hdmi.c?

Quoted 7 lines

I have checked using catfish file searcher and also manually for this file. This includes the /lib/modules/3.8.0-23-generic/kernel/drivers/gpu/drm/radeon directory. All I have is radeon.ko in that directory. In other words, I don't see any trace of where r600_hdmi.c is or should be anywhere in my file system.

Again I apologize for the inconvenenience.

I am not a dev and don't know ubuntu or any distro really.

You would need to be building your own kernels and so have the kernel source tree to find hdmi.c.

One thing that puzzles me is the use of grub command line to pass module parameters - I thought that would be if radeon was built into kernel, but as you show you are using a module.

If you search for how to set module parameters in ubuntu you may have more luck
- it will involve putting

option radeon audio=1

somewhere and regenerating something ...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #6 from Andy Furniss <[email protected]> --- (In reply to comment #5)

Quoted 1 line

option radeon audio=1

Oops, should be

options radeon audio=1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #7 from Michel Dänzer <[email protected]> ---
The kernel command line works regardless of whether the driver was built into the kernel or as a module.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #8 from Andy Furniss <[email protected]> --- (In reply to comment #7)

Quoted 2 lines

The kernel command line works regardless of whether the driver was built into the kernel or as a module.

Oh OK, sorry for the noise.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #9 from Jason <[email protected]> --- Well, I downloaded the latest stable 3.9.6 kernel from www.kernel.org and applied the patch. Apparently my system didn't like the new kernel because it broke my X. I'm just not going to worry about this one for now. Thanks for the assistance.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #10 from Igor <[email protected]> ---
It looks like the proposed patch is included into the 3.10.4 kernel. I've tried installing it and still no luck. I'm using Archlinux.

My output from the lspci and aplay utils is pretty the same.

I will be happy to provide more info. Please let me know if you need it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850 mesa driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #11 from Igor <[email protected]> ---
Well, I'm able to hear sound in Chromium and Firefox in youtube. However, I cannot hear any sound when I'm issuing
aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
I cannot hear sound in KDE apps as well (kde sound test, vlc, mplayer).

I was able to hear "Center" when I tried switching to fglrx. Not sure if this is related to opensource driver or not.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|no sound via HDMI for       |no sound via HDMI for
                   |Radeon 6850 mesa driver     |Radeon 6850
            Product|Mesa                        |DRI
          Component|Drivers/DRI/R600            |DRM/Radeon
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

--- Comment #12 from Alex Deucher <[email protected]> --- Is this still an issue with a newer kernel?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw

[Bug 65730] no sound via HDMI for Radeon 6850

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65730

Rafał Miłecki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel