Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chrome Cast Stuttering on Wayland
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
InvisibleRasta
Apprentice
Apprentice


Joined: 30 Mar 2011
Posts: 188

PostPosted: Thu Mar 28, 2024 3:08 pm    Post subject: Chrome Cast Stuttering on Wayland Reply with quote

I am sometimes forced to use chrome to cast to my chromecast device as there is no other browser that I was able to get the Cast feature to work. I am tho experiencing alot of stuttering when casting on wayland if the chrome window is on a different workspace then the one I am at.
I did find a workaround to get it fully working by running chrome with the following command:
Code:
google-chrome-unstable --use-cmd-decoder=validating --use-gl=desktop

I am now here to ask if i can make this permanent with a config file or such.
The chromium wiki says something about the chromium-flags.conf configuration file but it seems it is only for the chromium browser. Is there an equivalent config file for chrome?
Thank you
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1441
Location: Earth

PostPosted: Thu Mar 28, 2024 3:28 pm    Post subject: Reply with quote

here's a list of almost all chromium flags https://peter.sh/experiments/chromium-command-line-switches/#enable-features

unstable version - is full of additional debug code, IIRC.

are there any kind of output while starting from console?

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
InvisibleRasta
Apprentice
Apprentice


Joined: 30 Mar 2011
Posts: 188

PostPosted: Thu Mar 28, 2024 3:30 pm    Post subject: Reply with quote

As I said previously, the flags that I need to get Chrome to work are these:
Code:
google-chrome-unstable --use-cmd-decoder=validating --use-gl=desktop

What is unclear to me is how to set them permanently for google-chrome-unstable.
Where is its configuration file and what is the name of it?
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1441
Location: Earth

PostPosted: Thu Mar 28, 2024 3:40 pm    Post subject: Reply with quote

Quote:
As I said previously, the flags that I need to get Chrome to work are these:

my bad, misread again 8O

Code:
/etc/chromium/default

this is the file for chromium.

sorry, never used chrome.

which desktop are you using?

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "


Last edited by CooSee on Thu Mar 28, 2024 3:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
InvisibleRasta
Apprentice
Apprentice


Joined: 30 Mar 2011
Posts: 188

PostPosted: Thu Mar 28, 2024 3:43 pm    Post subject: Reply with quote

I am using gnome on ~amd64 with wayland. Sadly the file that you told me does not exist on my system. The chromium wiki talks about ~/.config/chromium-flags.conf what I am asking is if there is a similar file for google-chrome-* package.
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1441
Location: Earth

PostPosted: Thu Mar 28, 2024 3:49 pm    Post subject: Reply with quote

InvisibleRasta wrote:
I am using gnome on ~amd64 with wayland. Sadly the file that you told me does not exist on my system. The chromium wiki talks about ~/.config/chromium-flags.conf what I am asking is if there is a similar file for google-chrome-* package.

https://wiki.archlinux.org/title/chromium#Making_flags_persistent

Quote:
Google Chrome, use chrome-flags.conf (or chrome-channel-flags.conf for the Dev and Beta channels) instead.


8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
InvisibleRasta
Apprentice
Apprentice


Joined: 30 Mar 2011
Posts: 188

PostPosted: Thu Mar 28, 2024 3:51 pm    Post subject: Reply with quote

Thank you very much. It seems that is exactly what I was looking for.
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1441
Location: Earth

PostPosted: Thu Mar 28, 2024 3:58 pm    Post subject: Reply with quote

you're Welcome :D
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum