You are not logged in.

#1 2016-04-27 13:19:42

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

[Solved]Youtube video not working in chromium and google-chrome-stable

I updated/upgraded my os 2 days ago and the videos in youtube show up as a black screen. However the video audio in youtube work. I removed and reinstalled google-chrome-stable by editing the PKGBUILD file and explicitly setting the previous version I had (49 build). I noticed when i do "yaourt -Q | grep google-chrome" it shows a 49 build version, but when I open google-chrome-stable, it shows a 50 build version.

The video and audio works on youtube in firefox, which leads me to believe it is something related to chromium/google-chrome-stable (perhaps pepper flash?). If someone can point me in the right direction it will be greatly appreciated.

Last edited by jesc516 (2016-04-30 16:58:25)

Offline

#2 2016-04-27 13:39:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

So ... have you installed and enabled chromium-pepper-flash?  Is it up to date?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2016-04-27 13:39:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

Terminal output would help, pepper flash shouldn't matter as youtube uses HTML5 mostly these days. Any particular reason you must use the binary google chrome package which might or might not be compatible with the libraries we have instead of chromium? If it's just for pepper flash theres a package to just use pepper flash but keep chromium for all intents and purposes, which would mean only one component that's linked against potentially outdated libs.

Offline

#4 2016-04-27 14:18:16

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

Trilby-

I did not install chromium-pepper-flash. Chromium has never given me problems up until I did the upgrade 2 days ago.


V1del-

I only installed google-chrome-stable because I am doing online courses which require flash (I did not want to install chromium-pepper-flash to leave chromium alone). The online training explicitly states that chromium may not be compatible but google-chrome is (and it is/was, up until the update/upgrade).

What terminal output can I provide V1del?

Offline

#5 2016-04-27 14:29:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

I don't know if the flash is relevant or not - but you thought this might be a flash issue, so whether or not you have pepper-flash installed is relevant.  If you do not and have not had pepper-flash installed, then you have not been using flash at all and flash is irrelevant.

Note your attempted downgrade didn't do anything except change what pacman calls the package:

jesc516 wrote:

I noticed when i do "yaourt -Q | grep google-chrome" it shows a 49 build version, but when I open google-chrome-stable, it shows a 50 build version.

Look at the source line of the PKGBUILD, it downloads the current build regardless of what you put in the pkgver field.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2016-04-27 14:30:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

Of google-chrome while trying to play a video, you might also want to check your graphics card (was there an update to one of the relevant components, mesa, xf68?) and/or graphic acceleration options that might've been enabled in newer versions of chrome (in chrome://gpu )

@Trilby if he is using the official google-chrome package as opposed to chromium flash should be bundled, but youtube usually doesn't use flash these days so I share the sentiment that it should be irrelevant (sanity check for jesc516: the right click menu on the video usually contains an about flash entry if it is flash)

Last edited by V1del (2016-04-27 14:35:01)

Offline

#7 2016-04-28 01:05:36

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

Ok, so i decided up update/upgrade my laptop which is also running arch and chromium and google-chrome can display youtube video as well as audio and the online courses work as well, which means it is probably a video driver issue on my desktop?

01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
	Subsystem: eVga.com. Corp. Device 3967
	Kernel driver in use: nouveau
	Kernel modules: nouveau

output of package history with respect to "video"

cat /var/log/pacman.log  | grep video
[2016-03-31 20:28] [ALPM] upgraded videoproto (2.3.2-1 -> 2.3.3-1)
[2016-03-31 20:28] [ALPM] upgraded xf86-video-intel (1:2.99.917+560+gd167280-1 -> 1:2.99.917+587+gc186d4d-1)
[2016-04-23 19:00] [ALPM] upgraded xf86-video-ati (1:7.6.1-1 -> 1:7.7.0-1)
[2016-04-23 19:00] [ALPM] upgraded xf86-video-intel (1:2.99.917+587+gc186d4d-1 -> 1:2.99.917+636+g562ae1f-1)
[2016-04-23 19:00] [ALPM] upgraded xf86-video-openchrome (0.3.3-6 -> 0.4.0-1)
[2016-04-26 22:57] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xf86-video-intel-1:2.99.917+587+gc186d4d-1-x86_64.pkg.tar.xz'
[2016-04-26 22:58] [ALPM] downgraded xf86-video-intel (1:2.99.917+636+g562ae1f-1 -> 1:2.99.917+587+gc186d4d-1)
[2016-04-26 23:01] [PACMAN] Running 'pacman -R xf86-video-intel'
[2016-04-26 23:01] [ALPM] removed xf86-video-intel (1:2.99.917+587+gc186d4d-1)

I removed the "xf86-video-intel" and "xf86-video-ati" package as I am using the nvidia card. Motherboard graphics is set to use pci-e. That leaves me with 3 possible packages that can be the problem?


videoproto
xf86-video-intel == removed
xf86-video-ati == removed
xf86-video-openchrome


*Edit*

I wanted to mention that I dont think it is the video card driver as there is not an update for it. Hasn't been an update since 12/12/15.

# cat /var/log/pacman.log | grep nouveau
# 
Age	Commit message (Expand)	Author	Lines
2015-12-12	upgpkg: xf86-video-nouveau 1.0.12-1

*Also*
Youtube is using html5 not flash, so that rules that out..

Last edited by jesc516 (2016-04-28 01:23:58)

Offline

#8 2016-04-28 01:25:32

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

xorg drivers

# cat /var/log/pacman.log | grep xorg
[2016-03-31 20:28] [ALPM] upgraded xorg-server-common (1.18.1-3 -> 1.18.2-4)
[2016-03-31 20:28] [ALPM] upgraded xorg-server (1.18.1-3 -> 1.18.2-4)
[2016-04-03 17:54] [ALPM] upgraded xorg-xinit (1.3.4-3 -> 1.3.4-4)
[2016-04-23 19:00] [ALPM] upgraded xorg-server-common (1.18.2-4 -> 1.18.3-1)
[2016-04-23 19:00] [ALPM] upgraded xorg-server (1.18.2-4 -> 1.18.3-1)

Offline

#9 2016-04-28 01:59:16

Malakin
Member
From: Chile
Registered: 2007-04-29
Posts: 36
Website

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

You can disable flash or check if you are running it by going to chrome://plugins/ with your address bar.

The only issue I remember having with youtube lately is that videos will not start playing if I have smplayer playing another video at the same time. They just get frozen. So it's not really what you are describing but maybe you might want to check if you have another program doing video stuff?

Offline

#10 2016-04-28 06:42:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

Open video drivers are in the kernel as well, so might have been a bump from that. That said I'm surprised that chipset seems to work at all with nouveau, that wasn't the case a few months ago. Mesa packages are also somewhat a probable culprit. As said can you post the terminal output of chrome, maybe it contains mention of what might be the case.

That said, unless you are in it for the ethics, switching to the propietary Nvidia driver will likely give you much better performance in general.

Last edited by V1del (2016-04-28 06:42:56)

Offline

#11 2016-04-28 10:53:43

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

google-chrome chrome://gpu/ output


http://i.imgur.com/EnfWq25.png

http://i.imgur.com/mI7mVno.png

-- mod edit: converted huge images to links.  Please see forum guidelines on image sizes.  Trilby --

Last edited by Trilby (2016-04-28 15:12:09)

Offline

#12 2016-04-28 13:30:13

originalsouth
Member
Registered: 2015-03-08
Posts: 1

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

For me switching from mesa-libgl to nvidia-libgl fixed the issue.

Offline

#13 2016-04-30 16:27:07

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

ok, solved.

removed mesa-libgl

pacman -Rdd mesa-libgl

installed nvidia nvidia-libgl

pacman -S nvidia nvidia-libgl

rebooted, problem still persisted

and finally this seemed to have done it (which i ran into when i saw a similar *recent* thread)

"HTML5 video suddenly stopped working; audio works fine"
https://bbs.archlinux.org/viewtopic.php?id=203506

pacman -Rdd gstreamer

Offline

#14 2016-05-01 00:03:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

Chromium doesn't use gstreamer and you will likely have broken a few other applications by uninstalling gstreamer lîke that. The thread you refer to was a broken thing in firefox which used gstreamer at that point in time. And as mentioned there only gstreamer-vaapi was broken at that time. There was a more recent thread, where thhe solution for chromium was removing the chromium files in the homedir, which is likely some broken caches that made this issue appear.

Offline

#15 2016-05-01 00:42:41

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

Hi V1del

Were there files to remove for google chrome as well? It was both chromium and google chrome that couldnt play video.

Removing gstreamer fixed the issue. Is there any way that the issues could be related? Ill check firefox when i get home.

Offline

#16 2016-05-01 02:59:15

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

V1del

VLC seems to be the application which is semi broken since I removed gstreamer. When I play a video on VLC the video and audio work but the video is all green lol


Youtube on fire fox works without issue.

Last edited by jesc516 (2016-05-01 02:59:37)

Offline

#17 2016-05-01 08:43:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [Solved]Youtube video not working in chromium and google-chrome-stable

Firefox doesn't use gstreamer anymore either, I don't know what exactly the problem with chrome/chromium was, uninstalling gstreamer will definitely not have been the resolving fix (FWIW I have it installed and I've never had this problem). I'd assume google-chrome has cache directories in $HOME as well.  I'd say the most likely culprits on chromium (they will likely exist with google-chrome as well) would've been: ~/.cache/chromium and ~/.config/chromium/GPUShaderCache

Offline

Board footer

Powered by FluxBB