You are not logged in.

#1 2016-12-19 22:36:43

moewb
Member
Registered: 2013-05-24
Posts: 26

Chromium/Chromecast: can't find device

Hi there!

It seems that Chromium decided to include a native feature for casting to a Chromecast in the version 52. There is a bug reported there where that native feature and the historical extension for that purpose are conflicting. Disabling the native feature apparently solved the problem for most of the impacted users, but it doesn't work for me sad
With the native feature on, neither the native feature nor the extension find any device. With the native feature disabled, the extension finds my device, but when I try to cast content, I get a message on the TV where my Chromecast is plugged in telling me that the connection with the casting machine has stopped hmm

Does anyone has experienced a similar issue or/and have an idea where the problem could come from?

Last edited by moewb (2017-03-03 23:14:31)

Offline

#2 2016-12-20 06:28:25

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: Chromium/Chromecast: can't find device

I had a similar issue a little over a month ago, and just switched to google-chrome instead which worked fine. There is a bug report here relating to the issue. It has apparently been fixed upstream, but this may not have filtered down into the stable version yet. Have you tried the chromium-dev or snapshot version in the AUR? They're one major version ahead of the chromium in extra and might have the fix merged in.

Last edited by woodape (2016-12-20 06:28:51)

Offline

#3 2016-12-20 07:45:17

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 675

Re: Chromium/Chromecast: can't find device

moewb wrote:

Does anyone has experienced a similar issue or/and have an idea where the problem could come from?

Yep, I suddenly started to see this same problem and like you I went looking some time ago and found the issue and supposed solution. However, also like you I found that disabling the media-router flag enabled me to see the device but it then always fails when I try to cast (from either my Arch PC or my laptop)

I've just been waiting for a fix to roll in to stock chromium but it has been a long time. It's really annoying to lose casting ability.

Offline

#4 2016-12-20 14:43:29

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

woodape, bulletmark, thanks for your answer! smile

Have you tried the chromium-dev or snapshot version in the AUR?

Nop, I haven't tried. I try to stick to stable versions as much as possible.
There are many issues being referenced in the link you pasted in your message woodape. I hope the issue I'm referring to is one of them. I guess we'll know with v56? smile

@bulletmark
Let's be patient until the next release smile

I'll keep an eye on it and update this thread when a new version gets released.


Version currently tested: 55.0.2883.87 (64 bits)

Last edited by moewb (2016-12-20 14:47:21)

Offline

#5 2017-02-02 04:34:49

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 675

Re: Chromium/Chromecast: can't find device

@moweb, we've recently seen another major version update of chromium to 56 but this bug shows no signs of being fixed. I've reluctantly moved to google-chrome package where casting works fine.

Offline

#6 2017-02-02 14:40:00

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

@bulletmark

Thanks a lot for the heads-up. I just installed the update and same result for me: nothing has changed sad I wonder what's going on with Chromium... The other day, I tried to log in SoundCloud using my Google account, and that Google login thing never showed up whereas it does on Firefox or even Epiphany. I don't know what's going on... =/
I'll keep digging and report here if I ever find something.

Offline

#7 2017-02-09 02:24:02

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

The issue has also been reported in the Ubuntu community
https://bugs.launchpad.net/ubuntu/+sour … ug/1621753

Offline

#8 2017-02-09 02:27:57

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

Offline

#9 2017-02-09 02:37:45

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

There is an issue registered in the Chromium project bug tracker:
https://bugs.chromium.org/p/chromium/is … ?id=655838
I hope they'll fix it soon...

Offline

#10 2017-02-25 16:35:42

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Chromium/Chromecast: can't find device

Actually, Ubuntu somehow has a fix for this since two days ago..

They just didn't share what was the issue, I tried to look at patches submitted recently to chromium but didn't see anything there either. I asked if they're willing to share how it was fixed and what the issue was so other distros can fix it as well.
But Chris mentioned it was a code issue...


Ability is nothing without opportunity.

Offline

#11 2017-02-26 01:28:21

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

@STiAT

Oh, great news, thanks a lot for sharing that smile
The version of Chromium currently deployed in the Ubuntu repos is 37.0.2062.120. The one in Archlinux repos is still 56.0.2924.87-1, so I guess we just have to wait for a new version to be deployed...
Thanks for letting us know and sharing what you know! smile

Offline

#12 2017-03-01 01:54:42

irkdub
Member
Registered: 2017-03-01
Posts: 1

Re: Chromium/Chromecast: can't find device

To resolve this issue you need to enable chrome://flags/#load-media-router-component-extension

Previously you needed to disable chrome://flags/#media-router but that is no longer the resolution to get chromecast functionality in the new build of chromium.

Offline

#13 2017-03-01 23:00:50

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 675

Re: Chromium/Chromecast: can't find device

irkdub wrote:

To resolve this issue you need to enable chrome://flags/#load-media-router-component-extension

Thanks, I gave up when on chromium at v55 but this new option in v56 from last week seems to work.

Offline

#14 2017-03-02 00:28:27

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

irkdub wrote:

To resolve this issue you need to enable chrome://flags/#load-media-router-component-extension

Previously you needed to disable chrome://flags/#media-router but that is no longer the resolution to get chromecast functionality in the new build of chromium.


It works for me too! Thanks a lot for the fix, I can finally use my Chromecast again with Chromium big_smile

Offline

#15 2017-03-03 14:17:05

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

Hmmm, so it solved the problem but it may also crash Chromium here. I can't be 100% sure about it being related to this but if I enable that flag, Chromium crashes after a few minutes. And when I try to launch it again, the UI shows up, freezes right away for a few second and crashes. I had to delete the ~/.config/chromium folder in order to be able to launch Chromium again without it crashing.
Has anyone encounter this issue as well?

Offline

#16 2017-03-03 21:27:46

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 675

Re: Chromium/Chromecast: can't find device

@moewb, yep, after posting the above I started to get constant crashes of chromium. Would start and only run for a couple of secs before crashing again. Cleared chromium from ~/.cache and ~/.config but still crashed. Disable all my extensions but no difference. Searched everywhere around the web and forums but found nobody else reporting the issue. Then moved back to google-chrome.

Last edited by bulletmark (2017-03-03 21:29:48)

Offline

#17 2017-03-03 23:17:49

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

@bulletmark
Oh? Wow, that sounds like a serious issue... The only thing I can unfortunately tell you is what I did, which is simply removing the whole ~/.config/chromium folder, relaunching Chromium and not setting that flag anymore... =/

I removed the "[Resolved]" part in the title of this thread.

Offline

#18 2017-03-05 15:04:51

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,084

Online

#19 2017-03-13 13:43:08

moewb
Member
Registered: 2013-05-24
Posts: 26

Re: Chromium/Chromecast: can't find device

I just updated to Chromium 57.0.2987.98 and it still doesn't work sad sad sad

Offline

#20 2017-04-02 21:21:42

sshow
Member
Registered: 2017-04-02
Posts: 2

Re: Chromium/Chromecast: can't find device

You can reset the flag by setting the load-media-router-component-extension flag to 0 again in ~/.config/chromium/Local\ State

$ sed -i -e 's/load-media-router-component-extension@1/load-media-router-component-extension@0/' ~/.config/chromium/Local\ State

Last edited by sshow (2017-04-02 21:22:06)

Offline

#21 2017-09-22 16:45:07

skein
Member
Registered: 2017-09-22
Posts: 2

Re: Chromium/Chromecast: can't find device

This issue is resolved, as mentioned above. The cast plugin is simply disabled by default. Find this setting by pasting chrome://flags/#load-media-router-component-extension into your address bar.

Offline

#22 2017-09-22 16:46:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,084

Re: Chromium/Chromecast: can't find device

Until it puts your browser into a crash loop

Online

#23 2017-09-22 16:56:52

skein
Member
Registered: 2017-09-22
Posts: 2

Re: Chromium/Chromecast: can't find device

I spoke too soon! Yep, my Chromium was totally hosed by enabling cast. I see why developers have disabled it. sad What's the latest workaround on this? Do we need to compile chromium from source?

Offline

#24 2017-10-02 05:13:20

gregfrankenstein
Member
Registered: 2015-09-12
Posts: 26

Re: Chromium/Chromecast: can't find device

Is this whole crash loop thing only a risk if you have your startup page set to "continue where you left off"?  Or would it still crash upon opening somehow if that wasn't set?

I mean I'd gladly leave it enabled if the worst that could happen is a one-time crash.

Offline

Board footer

Powered by FluxBB