Public bug reported:

I have speakers built into my monitor and if I am using 'alsa_output
.pci-0000_02_00.1.hdmi-stereo-extra1' as my default sink, audio plays
correctly.

I have set up a .desktop file to launch a game in a new xsession using the 
following:
  /usr/bin/xinit /usr/bin/wine /mnt/1tb/WoW/WoW.exe -- :3 vt8

If I run this script, pulseaudio changes the sink to 'alsa_output.pci-
0000_00_1b.0.iec958-stereo' automatically, so I get no audio from my
application via my monitor.  If I hook a device to the s/pdif port I do
get the audio.  I am a member of the 'audio' group and this worked
properly in 17.04 but has broken after a clean install of 17.10.

$ pacmd list-sinks | grep name:
        name: <alsa_output.pci-0000_02_00.1.hdmi-stereo-extra1> <-----what I 
want to stay as default
        name: <alsa_output.pci-0000_00_1b.0.iec958-stereo> <-----what the sink 
switches to when starting a second X session.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  sbarcomb   1993 F.... pulseaudio
 /dev/snd/controlC0:  sbarcomb   1993 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 23 18:48:48 2017
InstallationDate: Installed on 2017-10-19 (4 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: GP104 High Definition Audio Controller - HDA NVidia
Symptom_Jack: Digital Out, HDMI
Symptom_Type: Sound works for a while, then breaks
Title: [hostname-R4, Nvidia GPU 83 HDMI/DP, Digital Out, HDMI] fails after a 
while
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/26/2013
dmi.bios.vendor: Alienware
dmi.bios.version: A11
dmi.board.name: 07JNH0
dmi.board.vendor: Alienware
dmi.board.version: A02
dmi.chassis.type: 3
dmi.chassis.vendor: Alienware
dmi.chassis.version: 00
dmi.modalias: 
dmi:bvnAlienware:bvrA11:bd11/26/2013:svnAlienware:pnAurora-R4:pvr00:rvnAlienware:rn07JNH0:rvrA02:cvnAlienware:ct3:cvr00:
dmi.product.family: 0
dmi.product.name: Aurora-R4
dmi.product.version: 00
dmi.sys.vendor: Alienware

** Affects: alsa-driver (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1726627

Title:
  Pulse audio sink changes from HDMI when starting new Xsession for game

Status in alsa-driver package in Ubuntu:
  New

Bug description:
  I have speakers built into my monitor and if I am using 'alsa_output
  .pci-0000_02_00.1.hdmi-stereo-extra1' as my default sink, audio plays
  correctly.

  I have set up a .desktop file to launch a game in a new xsession using the 
following:
    /usr/bin/xinit /usr/bin/wine /mnt/1tb/WoW/WoW.exe -- :3 vt8

  If I run this script, pulseaudio changes the sink to 'alsa_output.pci-
  0000_00_1b.0.iec958-stereo' automatically, so I get no audio from my
  application via my monitor.  If I hook a device to the s/pdif port I
  do get the audio.  I am a member of the 'audio' group and this worked
  properly in 17.04 but has broken after a clean install of 17.10.

  $ pacmd list-sinks | grep name:
        name: <alsa_output.pci-0000_02_00.1.hdmi-stereo-extra1> <-----what I 
want to stay as default
        name: <alsa_output.pci-0000_00_1b.0.iec958-stereo> <-----what the sink 
switches to when starting a second X session.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: alsa-base 1.0.25+dfsg-0ubuntu5
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  sbarcomb   1993 F.... pulseaudio
   /dev/snd/controlC0:  sbarcomb   1993 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 23 18:48:48 2017
  InstallationDate: Installed on 2017-10-19 (4 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_Card: GP104 High Definition Audio Controller - HDA NVidia
  Symptom_Jack: Digital Out, HDMI
  Symptom_Type: Sound works for a while, then breaks
  Title: [hostname-R4, Nvidia GPU 83 HDMI/DP, Digital Out, HDMI] fails after a 
while
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/26/2013
  dmi.bios.vendor: Alienware
  dmi.bios.version: A11
  dmi.board.name: 07JNH0
  dmi.board.vendor: Alienware
  dmi.board.version: A02
  dmi.chassis.type: 3
  dmi.chassis.vendor: Alienware
  dmi.chassis.version: 00
  dmi.modalias: 
dmi:bvnAlienware:bvrA11:bd11/26/2013:svnAlienware:pnAurora-R4:pvr00:rvnAlienware:rn07JNH0:rvrA02:cvnAlienware:ct3:cvr00:
  dmi.product.family: 0
  dmi.product.name: Aurora-R4
  dmi.product.version: 00
  dmi.sys.vendor: Alienware

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1726627/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to