You are not logged in.

#1 2012-01-22 06:43:48

thehodapp
Member
Registered: 2010-11-08
Posts: 30

How to send HDMI video/audio to external screen

I simply want to send audio and video to an external source through HDMI (like a TV), but I can't find anything in the wiki for setting this up. Is there some simple solution? I ask  because it's very simple to set up in Windows 7 and Ubuntu.

Offline

#2 2012-01-22 07:09:28

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: How to send HDMI video/audio to external screen

thehodapp wrote:

I simply want to send audio and video to an external source through HDMI (like a TV), but I can't find anything in the wiki for setting this up. Is there some simple solution? I ask  because it's very simple to set up in Windows 7 and Ubuntu.

Have you tried it?

Offline

#3 2012-01-22 08:50:05

thehodapp
Member
Registered: 2010-11-08
Posts: 30

Re: How to send HDMI video/audio to external screen

yes, it doesn't work as far as I can figure out.

Offline

#4 2012-01-22 09:23:37

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: How to send HDMI video/audio to external screen

thehodapp wrote:

yes, it doesn't work as far as I can figure out.

Okay, your opening post didn't make that clear.

Another thing to consider is that you should do your own research before posting to the forums. You haven't said anything about googling for ways to get your HDMI device working in Linux. Are there no other threads in the forums that look even remotely similar? (Hint: there are.)

Now, if you want help, you will need to provide some information about your system. Please provide outputs from the following commands:

lspci -nnmvk | grep -i -B1 -A8 "vga\|audio"
lsmod
aplay -l
xrandr

Also, run the following command and then plug and unplug the HDMI cable and report the results:

udevadm monitor

Offline

#5 2012-01-22 11:01:56

gerald82
Member
From: The known universe
Registered: 2011-03-25
Posts: 83

Re: How to send HDMI video/audio to external screen

Is a multi-headed desktop what you want?
If you are using nvidia graphics then TwinView might be what you are looking for. That is in the wiki, though...

Offline

#6 2012-01-22 22:25:27

thehodapp
Member
Registered: 2010-11-08
Posts: 30

Re: How to send HDMI video/audio to external screen

Sorry, I wasn't very clear. I had searched around for HDMI resources, but most of the ones I found were a bit involved to set up, or required a certain graphics card. I was thinking of starting an Arch Wiki topic if I can figure out enough because there seems to be a lack of information regarding its installation.

From lspci -nnmvk | grep -i -B1 -A8 "vga\|audio"

Device:	00:02.0
Class:	VGA compatible controller [0300]
Vendor:	Intel Corporation [8086]
Device:	Core Processor Integrated Graphics Controller [0046]
SVendor:	Dell [1028]
SDevice:	Device [0434]
Rev:	12
Driver:	i915
Module:	i915

--
Device:	00:1b.0
Class:	Audio device [0403]
Vendor:	Intel Corporation [8086]
Device:	5 Series/3400 Series Chipset High Definition Audio [3b56]
SVendor:	Dell [1028]
SDevice:	Device [0434]
Rev:	06
Driver:	snd_hda_intel
Module:	snd-hda-intel

Device:	00:1c.0
Class:	PCI bridge [0604]

lsmod:

Module                  Size  Used by
michael_mic             2074  8 
arc4                    1410  4 
ecb                     2073  4 
ipv6                  288511  32 
fuse                   66922  2 
snd_hda_codec_hdmi     24121  1 
snd_hda_codec_realtek   194997  1 
uas                     8120  0 
uvcvideo               64311  0 
snd_hda_intel          23311  0 
snd_hda_codec          89032  3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
videodev               82069  1 uvcvideo
snd_hwdep               6389  1 snd_hda_codec
snd_pcm                74780  3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_timer              19544  1 snd_pcm
snd                    59214  7 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
ums_realtek             7544  0 
usb_storage            44519  1 ums_realtek
media                  10597  2 videodev,uvcvideo
v4l2_compat_ioctl32     8316  1 videodev
soundcore               6210  1 snd
joydev                  9895  0 
snd_page_alloc          7153  2 snd_pcm,snd_hda_intel
i915                  418631  8 
drm_kms_helper         26137  1 i915
drm                   188362  4 drm_kms_helper,i915
r8169                  49040  0 
dell_wmi                1517  0 
iTCO_wdt               11885  0 
sparse_keymap           3120  1 dell_wmi
intel_agp              10904  1 i915
mei                    32414  0 
i2c_i801                8187  0 
i2c_algo_bit            5263  1 i915
iTCO_vendor_support     1961  1 iTCO_wdt
mii                     4059  1 r8169
serio_raw               4429  0 
wmi                     8475  1 dell_wmi
psmouse                61311  0 
pcspkr                  1819  0 
evdev                   9530  16 
intel_ips              11213  0 
i2c_core               20492  6 i2c_algo_bit,i2c_i801,drm,drm_kms_helper,i915,videodev
intel_gtt              14519  3 intel_agp,i915
battery                 6453  0 
video                  11164  1 i915
thermal                 7799  0 
fan                     2426  0 
ac                      2344  0 
button                  4470  1 i915
lib80211_crypt_tkip     8314  0 
wl                   2557323  0 
cfg80211              172260  1 wl
rfkill                 15498  1 cfg80211
lib80211                3981  2 wl,lib80211_crypt_tkip
cpufreq_powersave        990  0 
cpufreq_ondemand        6164  4 
acpi_cpufreq            5877  1 
freq_table              2515  2 acpi_cpufreq,cpufreq_ondemand
processor              25582  1 acpi_cpufreq
mperf                   1275  1 acpi_cpufreq
ext4                  417052  1 
mbcache                 5881  1 ext4
jbd2                   71243  1 ext4
crc16                   1359  1 ext4
sr_mod                 14951  0 
cdrom                  36649  1 sr_mod
sd_mod                 28307  4 
ahci                   20037  3 
libahci                19559  1 ahci
libata                166654  2 libahci,ahci
ehci_hcd               40698  0 
usbcore               146241  6 ehci_hcd,uas,usb_storage,ums_realtek,uvcvideo
scsi_mod              133443  5 libata,sd_mod,sr_mod,uas,usb_storage
usb_common               954  1 usbcore

aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

xrandr:

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1366x768       59.6*+
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

xrandr with HDMI in:

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1366x768       59.6*+
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected (normal left inverted right x axis y axis)
   1920x1080      60.0 +
   1680x1050      60.0  
   1440x900       59.9  
   1360x768       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        60.0  
   720x400        70.1  
DP1 disconnected (normal left inverted right x axis y axis)

udevadm monitor:

monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[2680.816666] change   /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
UDEV  [2680.836552] change   /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
KERNEL[2688.139931] change   /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
UDEV  [2688.165800] change   /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)

thanks for your help. It definitely looks like it recognizes the HDMI event.

Offline

#7 2012-01-22 22:45:10

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: How to send HDMI video/audio to external screen

Your set up looks fairly similar to mine. I got it working by dealing with the video and audio separately. First focus on video. I'm not at home, so can't remember what command I used at the second. I think it was something to do with xrandr, permitting you to turn on the HDMI connection as a secondary video output. (Notice how one of the modes on your LVDS1 screen has an asterisk, whereas none of the modes for HDMI1 do?) If you do a bit of stfw and rtfm, you should be able to get it working fairly quickly ;-)

After that, there were two or three forum threads recently that dealt with how to make the audio part work under pulseaudio and/or alsa. I've added the relevant information to the Pulseaudio and Alsa sections of the wiki.

Offline

Board footer

Powered by FluxBB