Hi All,
I just updated the Plex Media Player on my Raspberry pi 2 and noticed that I dont have any audio anymore. I have my Rpi connected to a Onkyo receiver through hdmi. It is just not working anymore. I tried with several media files.
Is there a solution? I have already checked the settings.
Identical problem; first time bad experience with PlexMediaPlayer
could you please post a full pmp log, with a playack that doesn’t output any sound ?
Also out of curiosity, did you reflash the RPi or did you upgrade ?
I have the same problem. Where do I find the log? I tried both upgrading and reflashing.
/storage/.local/share/plexmediaplayer/log/plexmediaplayer.log
Is the log on the SD card? I’ve turned on show hidden files (on my mac) and can’t find any folder named .local (neither on my mac or SD card). I can only find Plex Media Server logs on my mac.
Edit: Forgot about SSH. Gonna find it now.
Edit 2: Sent you a PM.
@thomasaasen : thanks for the logs, currently trying to spot any interesting information.
I would have a few more questions for now :
1 - from what i can see in that log, it using transcoding for you video. could you confirm if this is happenning on every media you are playing (wether it’s transcoded or not). You can spot if pmp is using transcoding typing “i” during playback and look at the “File” url displayed on the top right. if it contains “transcode” then you are transcoding.
2 - Just to make sure, which PMS version are you running ?
3 - which audio configuration are you running ? (if you can take a picture of the audio config screen, that would help).
4 - Are you using an AVR ?
5 - Which PMP version are we talking about ? (i expect you are referring to the latest build - 1.2.0.579 right ? )
6 - Are you guys using a RPI2 or a RPI3 (as it is the same build for both).
I have tried that same build here, using various configurations with a denon AVR and I couldn’t find any case of Rpi not outputting audio. So we need to try to narrow this down and understand in what kind of situation this is happening
@Ruben @jtegiffel : feel free to provide me the answers to those questions as well so that we can compare.
Thanks,
-
It happens on both MKV and MP4 files. When playing MKV files, it doesn’t transcode. When playing MP4 files, it transcodes. So it happens either way.
-
1.2.7.2987
-
I’ve tried several different combinations here, but nothing helps.
-
No, just HDMI cable from RPi to tv.
-
Yes, I’m on 1.2.0.579
-
RPI2
Thanks for all your help!
I am experiencing the same issue. I just upgraded plex media player to 1.2.0.579 on my RPI3 and i dont have any audio. I attempted to tweak the same settings as @thomasaasen with no luck.
I just upgraded my plex media server to v1.2.7.2987 and still no luck. Ive included the plexmediaplayer.log and pmphelper.log.
Looking through the plexmediaplayer.log i see this:
2016-12-06 21:13:03 [ ERROR ] PlayerComponent.cpp @ 506 - ao/oss: Can’t open audio device /dev/dsp: No such file or directory
It seems suspect.
@thomasaasen : thanks for the input, it’s appreciated.
You logfile was halpful, because it indeed shows that it cannot open any of the alsa audio devices and therefore ends up using the null device, which explains why there is no sound.
We are going to investigate why this is happenning, i haven’t been able to reproduce that myslef locally on my Rpi 3 with the same build, so i need to figure out what could happen.
Anything you would see specific in your setup that could help ?
One more thing that could help, could you ssh in to the Rpi and from commandline type both :
“aplay -l” and “aplay -L” and paste the output here ?
@thomasaasen : just in case it can be a hint, int seems by ticking AC3 in audio setings that you’re enabling passthru. you also mention that the rpi is directly connected to the TV. I dunno if the TV supports AC3 passthru, but could you uncheck the AC3 passthru option and give it another try ?
@LongChair I tried unchecked AC3 and still no sound.
This is what those commands came back with:
PlexMediaPlayer:~ # aplay -I
aplay: playbackv:3217: You need to specify 1 files
PlexMediaPlayer:~ # aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
sysdefault:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
iec958:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 IEC958/HDMI
IEC958 (S/PDIF) Digital Audio Output
the first aplay command looks like you didn’t use the right letter … it’s a lower case L, i think you might have used an I 
You’re right. This comes out from aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
@thomasaasen : another question while i still try to investigate this. Do you have anything else connected to the TV, ie an AVR or something ?
also one thing you can try is edit the config.txt file located at the root of your sdcard and comment out the hdmid_drive=2 there, see if if changes any thing
@LongChair I have a TV decoder (not sure what the correct english word is) from my cable company plugged in the HDMI 1 port. No AVR. I’ve tried plugging the Rpi to HDMI 1, but no luck.
I’ll try that when I get home from work.
The idea is to make sure that the audio doesn’t get output to any other device by the TV.
On my TV if i wire the Rpi directly to TV with an AVR connected, i will get no sounds, TV forwards the signal somehow to AVR, but it doesn’t output anything.
Then you can try the config.txt
What’s puzzling me is that the same image flashed on a new sdcard on a Rpi3 works here, and i don’t understand how this can happen as image should guarantee we have the same files, and the RPI3 should be same hardware.
So any test that you could make maybe on another TV if you have another one could help.
Also you can try to comment that config.txt entry i mentionned as it’s related to HDMI audio, thoughi i’m not sure it will fix it.
I unplugged the TV decoder so that the Pi was the only thing connected and still no sound. Uncommenting hdmi_drive=2 didn’t work either. I also tried adding hdmi_group=1, but that didn’t work. I sadly do not have a different TV or monitor to test it on. I’ll try flashing the SD card with a Retro-Pie image I made a while ago (that had sound), to see if it works.
What I haven’t mentioned yet (and I don’t know if it matters), is that I haven’t tried using PMP on this TV before, so I don’t know if it’s 1.2.0’s fault or the TV (I just moved together with my girlfriend so its her TV).
Another solution is to pickup LibreElec 7.9-008 here and see if you get any sound.
PMP 1.2.0 runs behind same system & kernel as that LE evrsion, the only diff then would be PMP.
That could reveal if it’s a PMP issue or a more generic hardware trouble.