No sound on Raspberry Pi using DVI
Pages: 1 2
Tim B (1998) 14 posts |
Hello. I’m just getting into RISC OS again and have realised I’m not getting sound T. |
Chris Hall (132) 3554 posts |
I think you need hdmi_drive=1 to force sound onto the jack but you need hdmi_drive=2 to force video over the HDMI (rather than composite video) if the GPU cannot detect an HDMI monitor – say for example you are using a HDMI to VGA adaptor. You can’t have both. |
Tim B (1998) 14 posts |
I connected the Pi to my HDMI input TV and sound was fine with no hdmi_drive setting or hdmi_drive=2 Debian does give sound on the stereo 3.5mm socket when set appropriately so I know that is not the problem. Am I missing something obvious? |
Chris Hall (132) 3554 posts |
You should get sound over the audio jack with hdmi_drive=1 but you will need amplified speakers (I think). |
Tim B (1998) 14 posts |
That is what I thought! |
Chris Hall (132) 3554 posts |
but CTRL G does give a beep. That is correct behaviour. |
Tim B (1998) 14 posts |
Sorry I made a typo, it should have said: “but CTRL G doesn’t give a beep.” Still soundless… |
Chris Hall (132) 3554 posts |
What version of RISCOS 5.19 do you have? I have RISC OS 5.19 (19-Mar-2013) [i.e. RC8] with powered speakers connected to the audio jack and the following ‘SDFS::0.$.!Boot.Loader.CONFIG.TXT’ file and I get sound with no difficulty:
|
Steve Drain (222) 1620 posts |
That doesn’t work for me, as well. A long while back I thought I read in the Pi forum that once you had used hdmi_drive a flag was set permanently for the Pi that would not allow you to send audio to the socket. I cannot find it now. Can I ask whether you have ever used hdmi_drive with your Pi? |
Chris 'xc8' (1531) 41 posts |
Steve, there is no such permenent flag on hdmi. You may confuse this with |
Chris Hall (132) 3554 posts |
Can I ask whether you have ever used hdmi_drive with your Pi? Don’t think so (but I think this is a red herring). I have tried the same SD card with a model A, a model B (256M) and a model B (512M) and sound works on all of them. |
Mitch (549) 4 posts |
Nothing seems to work here. I’m using a Pi-View from element14 ( HDMI to VGA adaptor)which works very well but without sound. I think I’ve tried all the hdmi_ combinations without any sucess. |
Chris Hall (132) 3554 posts |
I am sure that there should be a way to force HDMI (rather than composite video) and to specify a screen mode (as the GPU can’t ‘see’ the monitor over HDMI with a VGA adaptor) and still to have sound at the audio jack. But there may not be. Element 14 should know as they are an Acorn-friendly dealer (the rump of Acorn ended up as element 14). |
Sprow (202) 1158 posts |
[panto] Oh no they didn’t [/panto] Element 14 Limited was indeed the company formed from what was left of Acorn, which subsequently did a management buy out and eventually got snapped up by Broadcom. Element 14 the brand name of the hobby section of Premiere Farnell, one of the distributors of the Pi, have nothing to do with Acorn and aren’t an Acorn dealer in that sense. |
Frederick Bambrough (1372) 837 posts |
They’re selling seeds or dodgy PCs under the counter? |
John Sandgrounder (1650) 574 posts |
Jumping back to the original point of No Sound on a Pi. I have been trying, with no luck, to get sound out of the Pi audio jack, whilst using an HDMI-2-VGA convertor bought at the Wakefield Show. The picture is perfect, but no sound anywhere. Any further ideas, or do I have to buy another convertor with an audio jack built in? If so, where do I get one? |
Rick Murray (539) 13840 posts |
There is an option hdmi_force_hotplug=1 that is supposed to force HDMI if your display isn’t detected. That and the HDMI drive option to switch to DVI mode (and sound on the headphone jack) should logically work (though you might need the hdmi_mode and hdmi_group options to force a suitable display mode?). Anyway, hdmi_force_hotplug, have you tried that? |
John Sandgrounder (1650) 574 posts |
My problem is getting the sound, no the video. Even so, I have tried hdmi_force_hotplug. No difference. But I hope I have now solved the problem by ordering an HDMI-2-VGA converter with audio. |
Tim B (1998) 14 posts |
Well my problem became moot when the monitor started fizzing. |
Rick Murray (539) 13840 posts |
Yeah, I know that. But the type of video you have apparently determines the audio output:
I kind of wish the GPU firmware could be poked to ALWAYS do audio on the headphone jack. I wonder if the HDMI audio nonsense is a hangover from DRM or something? So, you would want the hdmi_force_hotplug to tell the Pi that something HD is connected, then whatever hdmi_drive option selects DVI style. That ought to end you with HD output and headphone jack audio. But this is from reading the docs, not real life as I am still stuck on composite video, have not yet got around to sorting out (or, cough, affording) a HDMI→VGA adaptor. |
John Sandgrounder (1650) 574 posts |
The HDMI-2-VGA adaptor, with audio, is on order. and, if they are as quick with this as everything else, it should be here tomorrow. |
Mitch (549) 4 posts |
@John I Ordered one off Ebay & got NO Sound OR Video. Picture & Image now works great. |
John Sandgrounder (1650) 574 posts |
Yes, mine works great with those two config.txt statements. |
Nick Brown (1717) 13 posts |
I had the same problem last year and the only way to fix it was, as you have done, by ordering a HDMI → VGA adaptor with sound and it has worked perfectly since. It seems odd to me that they don’t dump out audio to the jack regardless as this seems quite a common issue for people. |
Edward Kearney (2033) 13 posts |
I did a bit of testing with Linux on this issue, as I want to be able to use headphones with my lapdock, and found the following to be true: running the command: if hdmi_drive=2 hdmi_drive=1 hdmi_drive=2 allows digital and analogue – digital is selected by default Changing hdmi_drive only turns hdmi audio on and off, it doesn’t effect the analogue audio out. Setting hdmi_ignore_hotplug=1 enables the analogue audio (tested in RISC OS) but disables the hdmi video (and audio). What do you think? |
Pages: 1 2