[Gazelle Professional, Intel Haswell HDMI, Digital Out, HDMI] Playback problem, built in speakers work but no audio over HDMI

Bug #1256655 reported by remcomeeder
82
This bug affects 16 people
Affects Status Importance Assigned to Milestone
System76
Fix Released
High
Jason Gerard DeRose
alsa-driver (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The laptop came with Ubuntu 13.04 installed and when I installed the Intel drivers from 01.org there was audio over the HDMI port.
With Ubuntu 13.10 it has since been impossible to get the sound over the HDMI port. When I downgrade to 13.04 with the 01.org drivers it works again.
In windows 7 the audio over HDMI works perfectly as well.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Uname: Linux 3.11.0-13-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: remco 1361 F.... pulseaudio
 /dev/snd/controlC1: remco 1361 F.... pulseaudio
Date: Sun Dec 1 16:58:25 2013
InstallationDate: Installed on 2013-12-01 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:MID failed
Symptom_Card: Built-in Audio - HDA Intel MID
Symptom_Jack: Digital Out, HDMI
Symptom_Type: Only some of outputs are working
Title: [Gazelle Professional, Intel Haswell HDMI, Digital Out, HDMI] Playback problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/13/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.5
dmi.board.asset.tag: Tag 12345
dmi.board.name: Gazelle Professional
dmi.board.vendor: System76, Inc.
dmi.board.version: gazp9
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: System76, Inc.
dmi.chassis.version: gazp9
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd06/13/2013:svnSystem76,Inc.:pnGazelleProfessional:pvrgazp9:rvnSystem76,Inc.:rnGazelleProfessional:rvrgazp9:cvnSystem76,Inc.:ct9:cvrgazp9:
dmi.product.name: Gazelle Professional
dmi.product.version: gazp9
dmi.sys.vendor: System76, Inc.

Revision history for this message
remcomeeder (r-meeder) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

ports:
  hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
   properties:
    device.icon_name = "video-display"
  hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
   properties:
    device.icon_name = "video-display"
  hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
   properties:
    device.icon_name = "video-display"

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/log/?qt=grep&q=haswell

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Thanks for reporting this! I believe this was a regression between the 3.11.0-12 and 3.11.0-13 kernels (and is also present in 3.11.0-14).

System76 is aware of this and we'll do our best to make sure a fix is in the next stable kernel update.

Thanks again!

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Changed in system76:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Jason Gerard DeRose (jderose)
Revision history for this message
trendzetter (trendzetter) wrote :

I have a similar laptop from BTO laptops. I noticed that a workaround exists for me. I start with closing the laptop with the cable connected until it is in hibernation and then opening it again. Selecting the hdmi using pavucontrol I can get the HDMI audio to work.

See my bugreport here: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1264665

Revision history for this message
brandon martn (mbrandonweb) wrote :

trendzetter's fix does work but for me it did two things that I thought were very interesting. It made HDMI crackle more than Rice Krispies and it made the audio source go up a note and play faster, which made for some very interesting Youtube play backs.

This fix technically works if you absolutely need it, but it does have its own issues.

Revision history for this message
Jon Schewe (jpschewe) wrote :

Brandon, so you're able to get HDMI audio working if you boot the system with the HDMI cable plugged in? I ask because I have the same laptop and can't get HDMI audio, although I can't get it even if I have the HDMI cable plugged in at boot.

Revision history for this message
brandon martn (mbrandonweb) wrote :

Jon, yes I am It is crackly and pretty awful but it is audio.

The important part to use pavucontrol.

sudo apt-get install pavucontrol

and to run via terminal...

pavucontrol

Revision history for this message
Raymond (superquad-vortex2) wrote :

[ 90.713306] hda_codec: invalid CONNECT_LIST verb 5[1]:0
[ 90.713516] hda_codec: invalid CONNECT_LIST verb 6[1]:0
[ 90.713721] hda_codec: invalid CONNECT_LIST verb 7[1]:0
[ 146.145024] hda_codec: invalid CONNECT_LIST verb 5[1]:0
[ 146.145227] hda_codec: invalid CONNECT_LIST verb 6[1]:0
[ 146.145436] hda_codec: invalid CONNECT_LIST verb 7[1]:0

Revision history for this message
Jon Schewe (jpschewe) wrote :

Brandon, what do you do in pavucontrol to get audio? I've installed the app and started it up, but besides the checkboxes for different types of audio (PCM, DTS, AC3, MPEG, EAC3) I don't see anything different from the regular sound settings. I don't get anymore output devices listed as options even when I'm showing all output devices.

Revision history for this message
iv (sushi80) wrote :

Same problem on Clevo w650sz Intel Haswell HDMI running ubuntu 14.04 Kernel 3.13.0-15-generic. I installed pavucontrol to get the sound from HDMI but the result is crackle soud and audio up a note and play faster!

Revision history for this message
Raymond (superquad-vortex2) wrote :

you have to post output of

xrandr --verbose

and

alsa-info.sh

Revision history for this message
iv (sushi80) wrote :
Download full text (5.3 KiB)

Hi Raymond

here the details:

xrandr --verbose
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (0x48) normal (normal left inverted right x axis y axis) 345mm x 194mm
 Identifier: 0x43
 Timestamp: 23518
 Subpixel: unknown
 Gamma: 1.0:1.0:1.0
 Brightness: 1.0
 Clones:
 CRTC: 0
 CRTCs: 0 1 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
 EDID:
  00ffffffffffff0030e4230300000000
  00160104952313780a25b5a159599d27
  1c505400000001010101010101010101
  010101010101e83580a8703816402024
  550059c2100000180000000000000000
  00000000000000000000000000fe004c
  4720446973706c61790a2020000000fe
  004c503135365746342d535042310069
 BACKLIGHT: 16
  range: (0, 100)
 Backlight: 16
  range: (0, 100)
 scaling mode: Full aspect
  supported: None, Full, Center, Full aspect
 Broadcast RGB: Automatic
  supported: Automatic, Full, Limited 16:235
 audio: auto
  supported: force-dvi, off, auto, on
  1920x1080 (0x48) 138.0MHz -HSync -VSync *current +preferred
        h: width 1920 start 1952 end 1988 total 2088 skew 0 clock 66.1KHz
        v: height 1080 start 1085 end 1090 total 1102 clock 60.0Hz
  1920x1080 (0xab) 138.5MHz +HSync -VSync
        h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 66.6KHz
        v: height 1080 start 1083 end 1088 total 1111 clock 59.9Hz
  1680x1050 (0xac) 146.2MHz -HSync +VSync
        h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.3KHz
        v: height 1050 start 1053 end 1059 total 1089 clock 60.0Hz
  1680x1050 (0xad) 119.0MHz +HSync -VSync
        h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.7KHz
        v: height 1050 start 1053 end 1059 total 1080 clock 59.9Hz
  1600x1024 (0xae) 103.1MHz +HSync +VSync
        h: width 1600 start 1600 end 1656 total 1664 skew 0 clock 62.0KHz
        v: height 1024 start 1024 end 1029 total 1030 clock 60.2Hz
  1400x1050 (0xaf) 122.0MHz +HSync +VSync
        h: width 1400 start 1488 end 1640 total 1880 skew 0 clock 64.9KHz
        v: height 1050 start 1052 end 1064 total 1082 clock 60.0Hz
  1280x1024 (0xb0) 108.0MHz +HSync +VSync
        h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz
        v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz
  1440x900 (0xb1) 106.5MHz -HSync +VSync
        h: width 1440 start 1520 end 1672 total 1904 skew 0 clock 55.9KHz
        v: height 900 start 903 end 909 total 934 clock 59.9Hz
  1280x960 (0xb2) 108.0MHz +HSync +VSync
        h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.0KHz
        v: height 960 start 961 end 964 total 1000 clock 60.0Hz
  1360x768 (0xb3) 84.8MHz -HSync +VSync
        h: width 1360 start 1432 end 1568 total 1776 skew 0 clock 47.7KHz
        v: height 768 start 771 end 781 total 798 clock 59.8Hz
  1360x768 (0xb4) 72.0MHz +HSync -VSync
        h: width 1360 start 1408 end 1440 total 152...

Read more...

Revision history for this message
Raymond (superquad-vortex2) wrote :

one of the Jack detection controls should return true when eDP1 is connected

and the graphic driver need to extract info from EDID and pass ELD to audio driver

state.HDMI {
 control.1 {
  iface CARD
  name 'HDMI/DP,pcm=3 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

 control.6 {
  iface PCM
  device 3
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.7 {
  iface CARD
  name 'HDMI/DP,pcm=7 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

 control.12 {
  iface PCM
  device 7
  name ELD
  value ''
  comment {
   access 'read volatile'
   type BYTES
   count 0
  }
 }
 control.13 {
  iface CARD
  name 'HDMI/DP,pcm=8 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

Revision history for this message
iv (sushi80) wrote :
Download full text (11.3 KiB)

Hi Raymond

Here an update with hdmi cable connected:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (0x48) normal (normal left inverted right x axis y axis) 345mm x 194mm
 Identifier: 0x43
 Timestamp: 212170
 Subpixel: unknown
 Gamma: 1.0:1.0:1.0
 Brightness: 1.0
 Clones:
 CRTC: 0
 CRTCs: 0 1 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
 EDID:
  00ffffffffffff0030e4230300000000
  00160104952313780a25b5a159599d27
  1c505400000001010101010101010101
  010101010101e83580a8703816402024
  550059c2100000180000000000000000
  00000000000000000000000000fe004c
  4720446973706c61790a2020000000fe
  004c503135365746342d535042310069
 BACKLIGHT: 100
  range: (0, 100)
 Backlight: 100
  range: (0, 100)
 scaling mode: Full aspect
  supported: None, Full, Center, Full aspect
 Broadcast RGB: Automatic
  supported: Automatic, Full, Limited 16:235
 audio: auto
  supported: force-dvi, off, auto, on
  1920x1080 (0x48) 138.0MHz -HSync -VSync *current +preferred
        h: width 1920 start 1952 end 1988 total 2088 skew 0 clock 66.1KHz
        v: height 1080 start 1085 end 1090 total 1102 clock 60.0Hz
  1920x1080 (0xab) 138.5MHz +HSync -VSync
        h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 66.6KHz
        v: height 1080 start 1083 end 1088 total 1111 clock 59.9Hz
  1680x1050 (0xac) 146.2MHz -HSync +VSync
        h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.3KHz
        v: height 1050 start 1053 end 1059 total 1089 clock 60.0Hz
  1680x1050 (0xad) 119.0MHz +HSync -VSync
        h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.7KHz
        v: height 1050 start 1053 end 1059 total 1080 clock 59.9Hz
  1600x1024 (0xae) 103.1MHz +HSync +VSync
        h: width 1600 start 1600 end 1656 total 1664 skew 0 clock 62.0KHz
        v: height 1024 start 1024 end 1029 total 1030 clock 60.2Hz
  1400x1050 (0xaf) 122.0MHz +HSync +VSync
        h: width 1400 start 1488 end 1640 total 1880 skew 0 clock 64.9KHz
        v: height 1050 start 1052 end 1064 total 1082 clock 60.0Hz
  1280x1024 (0xb0) 108.0MHz +HSync +VSync
        h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz
        v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz
  1440x900 (0xb1) 106.5MHz -HSync +VSync
        h: width 1440 start 1520 end 1672 total 1904 skew 0 clock 55.9KHz
        v: height 900 start 903 end 909 total 934 clock 59.9Hz
  1280x960 (0xb2) 108.0MHz +HSync +VSync
        h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.0KHz
        v: height 960 start 961 end 964 total 1000 clock 60.0Hz
  1360x768 (0xb3) 84.8MHz -HSync +VSync
        h: width 1360 start 1432 end 1568 total 1776 skew 0 clock 47.7KHz
        v: height 768 start 771 end 781 total 798 clock 59.8Hz
  1360x768 (0xb4) 72.0MHz +HSync -VSync
        h: width 1360 start 1408 end 1440...

Revision history for this message
Raymond (superquad-vortex2) wrote :

are there any error message in system log about the graphic complain EDID

http://cgit.freedesktop.org/xorg/app/edid-decode/tree/edid-decode.c

Manufacturer: LGD Model 323 Serial Number 0
Made week 0 of 2012
EDID version: 1.4
Digital display
6 bits per primary color channel
DisplayPort interface
Maximum image size: 35 cm x 19 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 138.000 MHz, 345 mm x 194 mm
               1920 1952 1988 2088 hborder 0
               1080 1085 1090 1102 vborder 0
               -hsync -vsync
Manufacturer-specified data, tag 0
ASCII string: LG
ASCII string: LP156WF4
Checksum: 0x69 (valid)
EDID block does NOT conform to EDID 1.3!

Revision history for this message
Raymond (superquad-vortex2) wrote :

 audio: auto
  supported: force-dvi, off, auto, on

can you try turn audio on instead of auto ?

Revision history for this message
iv (sushi80) wrote :

Hi Raymond

In the logs i see this message

 [ 1889.257286] HDMI: Unknown ELD version 1

How/where should i change the audio setting from "auto" to "on" ??

Revision history for this message
iv (sushi80) wrote :

Hi Raymond

just an update....i installed ubuntu 13.04 and HDMI works like a charm out of the box!

Is there any command i can run to compere with 14.04??

Revision history for this message
iv (sushi80) wrote :
Download full text (10.3 KiB)

here the info from 13.04

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

xrandr --verbose
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (0x47) normal (normal left inverted right x axis y axis) 345mm x 194mm
 Identifier: 0x42
 Timestamp: 3262720
 Subpixel: unknown
 Gamma: 1.0:1.0:1.0
 Brightness: 1.0
 Clones:
 CRTC: 0
 CRTCs: 0 1 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
 EDID:
  00ffffffffffff0030e4230300000000
  00160104952313780a25b5a159599d27
  1c505400000001010101010101010101
  010101010101e83580a8703816402024
  550059c2100000180000000000000000
  00000000000000000000000000fe004c
  4720446973706c61790a2020000000fe
  004c503135365746342d535042310069
 BACKLIGHT: 40 (0x00000028) range: (0,100)
 Backlight: 40 (0x00000028) range: (0,100)
 scaling mode: Full aspect
  supported: None Full Center Full aspect
 Broadcast RGB: Full
  supported: Full Limited 16:2
 audio: auto
  supported: force-dvi off auto on
  1920x1080 (0x47) 138.0MHz -HSync -VSync *current +preferred
        h: width 1920 start 1952 end 1988 total 2088 skew 0 clock 66.1KHz
        v: height 1080 start 1085 end 1090 total 1102 clock 60.0Hz
  1920x1080 (0x48) 138.5MHz +HSync -VSync
        h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 66.6KHz
        v: height 1080 start 1083 end 1088 total 1111 clock 59.9Hz
  1680x1050 (0x49) 146.2MHz -HSync +VSync
        h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.3KHz
        v: height 1050 start 1053 end 1059 total 1089 clock 60.0Hz
  1680x1050 (0x4a) 119.0MHz +HSync -VSync
        h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.7KHz
        v: height 1050 start 1053 end 1059 total 1080 clock 59.9Hz
  1600x1024 (0x4b) 103.1MHz +HSync +VSync
        h: width 1600 start 1600 end 1656 total 1664 skew 0 clock 62.0KHz
        v: height 1024 start 1024 end 1029 total 1030 clock 60.2Hz
  1400x1050 (0x4c) 122.0MHz +HSync +VSync
        h: width 1400 start 1488 end 1640 total 1880 skew 0 clock 64.9KHz
        v: height 1050 start 1052 end 1064 total 1082 clock 60.0Hz
  1280x1024 (0x4d) 108.0MHz +HSync +VSync
        h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz
        v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz
  1440x900 (0x4e) 106.5MHz -HSync +VSync
        h: width 1440 start 1520 end 1672 total 1904 skew 0 clock 55.9KHz
        v: height 900 start 903 end 909 total 934 clock 59.9Hz
  1280x960 (0x4f) 108.0MHz +HSync +VSync
        h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.0KHz
        v: height 960 start 961 end 964 total 1000 clock 60.0Hz
  1360x768 (0x50) 84.8MHz -HSync +VSync
        h: width 1360 start 1432 end 1568 total 1776 skew 0 clock 47.7KHz
        v: height 768 start 771 end 781 total 798 ...

Revision history for this message
Peter Curtis (pdcurtis) wrote :

The kernel problem has been identified at https://bugzilla.kernel.org/show_bug.cgi?id=74861 by kernel commit bisection and the simple fix works for me on a Chillblast Defiant mini laptop which has Haswell/Optimus Architecture, Core i7 Processor and nVidia GTX 765M graphics running Mint 17 (equivalent to 14.04).

The quick fix is to pass i915.disable_power_well=0 on the kernel command line which works around the problem, letting audio play at the correct speed again. After confirmation one can modify /etc/default/grub. The commit needs reversing.

Revision history for this message
mika (mic-schaller) wrote :

Intel® Core™ i7-4712MQ CPU @ 2.30GHz × 8 & GeForce GTX 860M/PCIe/SSE2

fix worked for me

Revision history for this message
mika (mic-schaller) wrote :

nb : for other noob like me, that'll save you the "how to" search :

    sudo gedit /etc/default/grub

replace

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

with

    GRUB_CMDLINE_LINUX_DEFAULT="i915.disable_power_well=0 quiet splash"

Revision history for this message
mika (mic-schaller) wrote :

after saving,

     sudo update-grub

Changed in system76:
status: In Progress → Fix Released
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Marked as fixed release for System76 as the 14.04.5 release of the system76-driver includes a grub line fix for this:

http://bazaar.launchpad.net/~system76-dev/system76-driver/trunk/view/head:/debian/changelog

Revision history for this message
Peter Curtis (pdcurtis) wrote :

A kernel problem has been identified at https://bugzilla.kernel.org/show_bug.cgi?id=74861 by kernel commit bisection and the simple fix works for me on a Chillblast Defiant mini laptop which has Haswell/Optimus Architecture, Core i7 Processor and nVidia GTX 765M graphics running Mint 17 (equivalent to 14.04).

The quick fix is to pass i915.disable_power_well=0 on the kernel command line which works around the problem, letting audio play at the correct speed again. After confirmation one can modify /etc/default/grub.

Revision history for this message
trendzetter (trendzetter) wrote :

see duplicate

Changed in alsa-driver (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.