mob-i-l
Posts: 266
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

YouTube Videos in Chromium not Working on Raspberry Pi 4 B 4GB

Sat Aug 17, 2019 1:40 pm

Many videos in Chromium are not working. The entire browsing window becomes black when you play a video, but you can hear the sound. I have the most updated Raspbian Buster upgraded with dist-upgrade, and have rebooted. I use two monitors with Raspberry Pi 4 Model B 4GB RAM, and GL (Fake KMS) desktop driver. The videos in Chromium used to work with earlier versions of Buster except that they didn't always work on Twitter. Now the videos doesn't work in e.g. YouTube and IMDB.

Here is an example of a video that does work: https://www.youtube.com/watch?v=gDeAB31eNdk

Here is an example of a video that doesn't work (browser window becomes black): https://www.youtube.com/watch?v=2Wl0cCVSpyQ

Sometimes the video shows, but is one color and striped (and perhaps magnified).

I have tried with h264ify both enabled and disabled, but no difference.

On Raspberry Pi 4, do you need h264ify? or does it not improve anything on Pi 4?

Could someone please confirm if you also have this problem, or does this work for you?
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5879
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: YouTube Videos in Chromium not Working on Raspberry Pi 4 B 4GB

Mon Aug 19, 2019 9:45 am

How much GPU RAM do you have enabled? Both videos work fine here.

mob-i-l
Posts: 266
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: YouTube Videos in Chromium not Working on Raspberry Pi 4 B 4GB

Mon Aug 19, 2019 2:10 pm

I have 64 MB GPU RAM. Should I increase?

Edit: I increased to 128 MB GPU RAM and now both videos work here too.

I still wonder if h264ify is an advantage on Pi 4, or not.
Last edited by mob-i-l on Mon Aug 19, 2019 2:49 pm, edited 1 time in total.
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5879
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: YouTube Videos in Chromium not Working on Raspberry Pi 4 B 4GB

Mon Aug 19, 2019 2:13 pm

128 should be enough, although I'd try 256 just to be on the safe side.

Return to “Troubleshooting”