Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] HDMI Audio switch from PC to TV?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Thu Oct 14, 2010 9:34 pm    Post subject: [Solved] HDMI Audio switch from PC to TV? Reply with quote

Hello ALL@

I just bought an Sapphire HD 5770 and use KMS with the new gallium driver.
From time to time I’ll use a DVD or BluRay and the Video otput on the plasma TV is fine, but
i have no sound. The sound from PC is OK but the sound should switch from PC to TV.
Is there a way to get the HDMI-Audio output running on the TV?


tux ~ # glxinfo | grep OpenGL wrote:

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on JUNIPER
OpenGL version string: 2.1 Mesa 7.10-devel
OpenGL shading language version string: 1.20
OpenGL extensions:



tux ~ # eselect mesa list wrote:

i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
gallium *
r600 (Radeon R600-R700)
classic
gallium *
sw (Software renderer)
classic
gallium *


tux ~ # xrandr | awk '/connected/ {print($1)}' wrote:

DisplayPort-0
HDMI-0
DVI-0
DVI-1


tux ~ # xrandr wrote:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 698mm x 392mm
1280x720 50.0 + 60.0
1920x1080 50.0*
720x576 50.0
720x480 59.9
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.0*+
1280x1024 60.0
1440x900 59.9
1280x800 59.8
1152x864 75.0
1024x768 70.1 60.0
800x600 60.3 56.2
640x480 66.7 60.0
720x400 70.1
DVI-1 disconnected (normal left inverted right x axis y axis)



tux ~ # cat /etc/X11/xorg.conf | egrep -v "(^#.*|^$) wrote:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
Option "AIGLX" "true"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "DPMS" "true"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/dejavu"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/default/ghostscript"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/freefonts"
FontPath "/usr/share/fonts/freefont-ttf"
FontPath "/usr/share/fonts/artwiz-aleczapka-en"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
EndSection

Section "Module"
Load "evdev"
Load "dri2"
Load "glx"
Load "extmod"
Load "dri"
Load "record"
Load "dbe"
Load "freetype"
Load "type1"
Load "speedo"
EndSection

Section "Extensions"
# compiz
Option "Composite" "Enable"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "Device" "/dev/input/event0"
Option "XkbModel" "pc104"
Option "XkbLayout" "de"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "PKB"
ModelName "Packard Bell"
HorizSync 15.0 - 68.0
VertRefresh 23.0 - 61.0
EndSection

Section "Device"
Identifier "Card0"
Driver "radeon"
BusID "PCI:1:0:0"
Option "EnablePageFlip" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection



tux ~ # lspci -v wrote:

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
Subsystem: ASUSTeK Computer Inc. Device 8410
Flags: bus master, slow devsel, latency 64, IRQ 16
Memory at fe4f8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel



tux / # cat /proc/asound/cards wrote:

0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe4f8000 irq 16
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfe5bc000 irq 47



tux / # cat /proc/asound/oss/sndstat wrote:

Sound Driver:3.8.1a-980706 (ALSA v1.0.23 emulation code)
Kernel: Linux tux 2.6.35-gentoo-r9 #9 SMP Mon Oct 11 19:59:11 CEST 2010 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA ATI SB at 0xfe4f8000 irq 16
HD-Audio Generic at 0xfe5bc000 irq 47

Audio devices:
0: ALC892 Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Realtek ALC892
1: ATI R6xx HDMI



tux ~ # lsmod wrote:

Module Size Used by
cpufreq_ondemand 7470 6
fuse 52005 3
snd_pcm_oss 31459 0
snd_mixer_oss 12614 1 snd_pcm_oss
snd_seq_oss 23731 0
snd_seq_midi_event 4476 1 snd_seq_oss
snd_seq 41741 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 4597 2 snd_seq_oss,snd_seq
powernow_k8 11469 1
freq_table 2019 2 cpufreq_ondemand,powernow_k8
mperf 1051 1 powernow_k8
snd_hda_codec_atihdmi 2179 1
snd_hda_codec_realtek 251812 1
snd_hda_intel 19516 3
snd_hda_codec 64450 3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5324 1 snd_hda_codec
snd_pcm 59543 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 15351 2 snd_seq,snd_pcm
firewire_ohci 20107 0
snd 45775 17 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
firewire_core 36613 1 firewire_ohci
thermal 12050 0
soundcore 4463 1 snd
snd_page_alloc 5857 2 snd_hda_intel,snd_pcm
processor 28318 7 powernow_k8
edac_core 42487 0
edac_mce_amd 6273 0
ohci1394 23859 0
ieee1394 59774 1 ohci1394
wmi 6214 0
usblp 9323 0
thermal_sys 11942 2 thermal,processor
asus_atk0110 11798 0
k10temp 2691 0
rtc_cmos 7934 0
i2c_piix4 9696 0
button 4610 0



The cable from the PC to the TV is a 1.3c and the sound works well with WinXP and Catalyst.

Many thanks in advance for any hints!
Ma

OS: Gentoo Base System release 2.0.1, Kernel: 2.6.35-gentoo-r9 (x86_64), Desktop: GNOME 2.30.2, Display Server: X.Org Server 1.9.0.901 (1.9.1 RC 1), Display Driver: radeon 6.13.99, OpenGL: 2.1 Mesa 7.10-devel, Compiler: llvm version 2.9svn, File-System: ext4, Screen Resolution: 1920x1080
_________________
------------------------------------------------------------------
http://radio.garden/


Last edited by Marlo on Sun Jan 23, 2011 10:04 am; edited 1 time in total
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Fri Oct 15, 2010 4:55 am    Post subject: Reply with quote

set ati-hda in intel-hda to use your
hdmi to your tv via your radeon card.
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sun Jan 23, 2011 10:03 am    Post subject: Reply with quote

The solution is very simple in Gnome.

I installed PulsoAudio with this guide >> http://en.gentoo-wiki.com/wiki/PulseAudio
(without networking). The USE="pulseaudio" will install a Audio-Gui in Gnome. So I can
change between Analog-Stereo and Digital-Stereo(HDMI). One Klick and the TV sounds very good.

Ma
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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