ACMILabs / media-player

A playlist media player prototype.
Mozilla Public License 2.0
12 stars 3 forks source link

Headphones not being selected on Dell Optiplexes #166

Closed sighmon closed 3 years ago

sighmon commented 3 years ago

We may need to match ALC3234 Analog... but check on a real device.

I suspect that the Dell devices have a Digital to Analog converter which relies on system Master audio not being muted.

Details

No headphones audio is coming from: MA-04-AV01-PC01

Error:

02.02.21 16:52:49 (+1100)  mediaplayer  mkdir: created directory '/root/.cache/xdgr'
02.02.21 16:52:49 (+1100)  mediaplayer  Starting X
02.02.21 16:52:49 (+1100)  mediaplayer  
02.02.21 16:52:49 (+1100)  mediaplayer  
02.02.21 16:52:49 (+1100)  mediaplayer  X.Org X Server 1.19.6
02.02.21 16:52:49 (+1100)  mediaplayer  Release Date: 2017-12-20
02.02.21 16:52:49 (+1100)  mediaplayer  X Protocol Version 11, Revision 0
02.02.21 16:52:49 (+1100)  mediaplayer  Build Operating System: Linux 4.15.0-124-generic x86_64 Ubuntu
02.02.21 16:52:49 (+1100)  mediaplayer  Current Operating System: Linux 3769001bcbc8 5.2.10-yocto-standard #1 SMP PREEMPT Fri May 22 09:06:49 UTC 2020 x86_64
02.02.21 16:52:49 (+1100)  mediaplayer  Kernel command line: BOOT_IMAGE=/boot/bzImage root=UUID=ba1eadef-c94f-4405-bb5f-a74fb7807744 rootwait quiet loglevel=0 splash udev.log-priority=3 vt.global_cursor_default=0 intel_idle.max_cstate=1
02.02.21 16:52:49 (+1100)  mediaplayer  Build Date: 30 November 2020  08:01:56PM
02.02.21 16:52:49 (+1100)  mediaplayer  xorg-server 2:1.19.6-1ubuntu4.8 (For technical support please see http://www.ubuntu.com/support) 
02.02.21 16:52:49 (+1100)  mediaplayer  Current version of pixman: 0.34.0
02.02.21 16:52:49 (+1100)  mediaplayer          Before reporting problems, check http://wiki.x.org
02.02.21 16:52:49 (+1100)  mediaplayer          to make sure that you have the latest version.
02.02.21 16:52:49 (+1100)  mediaplayer  Markers: (--) probed, (**) from config file, (==) default setting,
02.02.21 16:52:49 (+1100)  mediaplayer          (++) from command line, (!!) notice, (II) informational,
02.02.21 16:52:49 (+1100)  mediaplayer          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
02.02.21 16:52:49 (+1100)  mediaplayer  (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb  2 05:52:49 2021
02.02.21 16:52:49 (+1100)  mediaplayer  (==) Using system config directory "/usr/share/X11/xorg.conf.d"
02.02.21 16:52:54 (+1100)  mediaplayer  Displays in use after starting X
02.02.21 16:52:54 (+1100)  mediaplayer  DISPLAY=:0 DISPLAY=:0.0
02.02.21 16:52:54 (+1100)  mediaplayer  Display includes 0.0 so let's launch...
02.02.21 16:52:54 (+1100)  mediaplayer  Setting screen to: 1920x1080 @50
02.02.21 16:52:54 (+1100)  mediaplayer  Scanning audio devices for match to headphones
02.02.21 16:52:54 (+1100)  mediaplayer  card 0: PCH [HDA Intel PCH], device 0: ALC3234 Analog [ALC3234 Analog] ... n
02.02.21 16:52:54 (+1100)  mediaplayer  card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] ... n
02.02.21 16:52:54 (+1100)  mediaplayer  card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] ... n
02.02.21 16:52:54 (+1100)  mediaplayer  card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] ... n
02.02.21 16:52:54 (+1100)  mediaplayer  card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3] ... n
02.02.21 16:52:54 (+1100)  mediaplayer  card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4] ... n
02.02.21 16:52:54 (+1100)  mediaplayer  AUDIO_DEVICE_REGEX headphones did not match any audio devices. Using default audio settings instead.
02.02.21 16:52:54 (+1100)  mediaplayer  Attempting to set media player screen resolution to: 1920x1080
02.02.21 16:52:55 (+1100)  mediaplayer  libva info: VA-API version 1.1.0
02.02.21 16:52:55 (+1100)  mediaplayer  libva info: va_getDriverName() returns 0
02.02.21 16:52:55 (+1100)  mediaplayer  libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
02.02.21 16:52:55 (+1100)  mediaplayer  libva info: Found init function __vaDriverInit_1_1
02.02.21 16:52:55 (+1100)  mediaplayer  libva info: va_openDriver() returns 0
02.02.21 16:53:00 (+1100)  mediaplayer  Playing video 0: /data/resources/a_MA-04-AV01_ACDC-Its-A-Long-Way-To-The-Top_1080_25_20201218.mp4
02.02.21 16:58:10 (+1100)  mediaplayer  Playing video 1: /data/resources/a_MA-04-AV01_Archie-Roach-Song-To-Sing_1080_25_20201218.mp4
02.02.21 17:04:11 (+1100)  mediaplayer  Playing video 2: /data/resources/a_MA-04-AV01_Architecture-In-Helsinki-Dream-A-Little-Crazy_1080_25_20201218.mp4
02.02.21 17:07:21 (+1100)  mediaplayer  Playing video 3: /data/resources/a_MA-04-AV01_Avalanches-Since-I-Left-You_1080_25_20201218_1.mp4
02.02.21 17:12:33 (+1100)  mediaplayer  Playing video 4: /data/resources/a_MA-04-AV01_BR-Wild-Stallion-Mountain_1080_25_20201218.mp4