But both Firefox based browsers and Chrome itself will cause a GPU reset. I disabled hardware decoding in both now, forgot to after installing Chrome, and now I need to remove Chrome, as it looks like I don’t need it, cause Chrome Capture for Channels doesn’t really work in Podman. Can’t type anything in to login to DirecTV.
Got to build it on my desktop, laptop may or may not be stable enough to run it. Hmm, guess I need Chrome on my desktop, or Chrome based. Might still have the Chrome based one that starts with a V. Just need to delete my profile data, so it’ll open, since it corrupted itself apparently.
Is hardware decoding disabled in LibreWolf on my desktop? I should check, cause it doesn’t crash. The laptop’s eGPU is a AMD 6xxx and so is the desktop, the one is desktop is supposed to be better.
Now if it has hardware decoding enabled, and doesn’t crash, perhaps I need a rolling release distro on my laptop. Armbian might have a rolling release version, and maybe an amd64 version. Is that based on Debian or Ubuntu as well? Depends what version the kernel is though, if that would be even worth doing. Otherwise use Arch or openSUSE. But I like Debian.
Wouldn’t be surprised if I disabled hardware decoding. Must be a new fancy bug.
Hmm, will that Chrome for Channels thing work on ARM if I compile it? No idea how well Chrome works on ARM Linux, that isn’t using Android crap.
Well, the desktop isn’t doing much, might as well put it on there.
All I need is bun to compile this Chrome thing? I already have git, probably on almost if not all my Linux stuff. No idea what bun is, don’t even know if I can easily install it in openSUSE.
npm install -g bun
It’s some JavaScript bundler crap.
Or use their script.
I guess while that’s slowly installing, I can check hardware encoding in LibreWolf. And see if the Chrome based crap browser is still on there.
Not disabled, testing DirecTV, in LibreWolf, you have to change the user agent. Might be fine on desktop, so something in openSUSE doesn’t have the issue that laptop has with Debian.
My desktop running openSUSE is using Kernel 6.17.7-1-default and laptop is 6.12.57+deb13-amd64. The KDE is probably newer on desktop too.
Too bad NoMachine didn’t work as a server in openSUSE last I tried. Should try again.
failed to start browser page: Error: Command failed: which chromium which: no chromium in
Now to make a script called that, so it can open the other Chrome based browser crap that might be installed. Or better, use ln -s.
failed to start browser page: TargetCloseError: Protocol error (Target.setDiscoverTargets): Target closed
Guess I need Chromium, too lazy to mess with Vivaldi. Thought it was based on Chromium though.
Oh I think it has to be open already. Probably didn’t need to install Chromium.
Nope, probably need to run main.js on it not from SSH.
Just crashes, when trying to open a stream by URL.
No way to make NoMachine work in openSUSE? Get a connection reset by peer error.
Got to love search engines, some of the links get a warning page in my browser.
x2go might still be installed on desktop, I’ll just use that, instead of fucking with broken shit, like search engines that don’t work anymore.
Oh yeah, x2go doesn’t support wayland, just use krdc.
Nice, get to debug some puppeteer crap.
I got farther, might need xvfb-run.
Hmm don’t run npm install -g, you need sudo. Maybe fine for bun itself, but not everything else.
If using Chromium, you might need the widevine package, but it says cdm, not drm, so I removed Chromium, and modified main.js to look for vivaldi-stable.
Unhandled rejection: TargetCloseError: Protocol error (Extensions.loadUnpacked): Target closed
Trying debug instead of stream now.
Still broken. Guess I should reinstall Chromium and that Widevine crap.
Or stop trying to use headless.
Oh wait, think I have to use Chrome or based on it, on laptop for debug to work.
And get non headless to work first, or good luck. You probably need chromium-ffmpeg-extra too.
And it might be slow as fuck. Is the GPU disabled or something?
And might have crashed my desktop, by using –enable-gpu. Looks like that AMDGPU bug is everywhere.
Also krdc sucks compared to NoMachine.
Hmm, looks like ethernet crapped out, nice.
Trying Ungoogled Chromium from Flatpak on laptop now.
Is krfb better? Nope, use some other VNC server, that thing sucks.
One of those network keyboard mouse switcher apps would probably work the best with Wayland. I bought one long ago, forgot what it’s called though.
There’s Rustdesk, but be careful, if you maximize the screen, your AMD GPU might crap out for a second in Debian, same GPU reset that browsers trigger.
It’s faster but buggy.
Maybe the non Flatpak is better.
Why do you need the server? The direct connection works fine apparently. And I’m only allowing the direct server to connect to local IPs. And the damn thing keeps changing the config file, so it’s not using the custom server I guess, it’s using the default one.
Well, I guess that Chrome thing doesn’t work anymore.
I got TV Everywhere working again earlier anyways, apparently it broke somehow, had to update to a pre release.
Wanted to record Comedy Central, so I don’t need to use their app to watch anything. Oh well. I’m too lazy to fix, or anything. And I don’t like Chrome anyways, so not worth my time.
There’s some Windows junk, but it’s for using a USB encoder. I have one, but I’d rather use the GPU. Or no GPU, I don’t give a damn.
There’s something for ESPN crap, that might work on other OSes besides Windows. Don’t care about ESPN.
$HOME/.cache/puppeteer
That folder doesn’t exist.
Hmm the thing I have could work with Chrome, instead of Chromium. Too many Chrome versions.
Not recommended, uses the wrong Chrome data. I should rm -fr my chrome data folder too.
Easiest way to run actual Chrome, is by uninstalling Vivaldi, well uninstalled google-chrome-stable too, then reinstalled it.
CHROME_BIN=/usr/bin/google-chrome-stable DOCKER=true LIBGL_ALWAYS_INDIRECT=1 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true bun main.js doesn’t seem to work either.
Hmm they say how to run xvfb, here.
Should have kept Remmina installed on laptop, no need to use Rustdesk, it makes a VNC for the Chrome. I will eventually put it in it’s own user or something. Just testing, then going to bed.
Maybe it doesn’t work with DirecTV.
Maybe just open a new tab and go to the DirecTV site yourself, and login.
Now how the fuck do I automate that?
You could put it in Distrobox as well. Instead of LXC.
Either it’s broken with newest Chrome, or I’m missing something in openSUSE.
And yes hardware encoding might work, but I’m not using a container. Isn’t that nice?
npx @puppeteer/browsers install chrome@stable
Might fix it.
Wait, it works in Podman somehow? Hmm. Then I don’t need to mess with this Node BS as much. Now how do I mess with Portainer? I need one for Podman, maybe Podman Desktop. Maybe I’ll stay up till 5 AM.
Portainer may work with Podman, but possibly not with openSUSE. And I’ll just do it manually, using Cockpit maybe.
Almost bed time, apparently for a new user, if using Cockpit, you have to run in a terminal as user podman pull.
And if that doesn’t work, you may need to run “usermod –add-subuids 100000-165535 –add-subgids 100000-165535“.
Nope, I can’t remember how I setup Podman.
Almost was working, till my outgoing firewall blocked it. Finally loaded after allowing it.
It would work, if I could get the URL to the channel.
Nice old version of Chrome, so insecure.
cat .config/containers/systemd/cc4c.container
[Unit]
Description=cc4c
[Container]
Image=docker.io/bnhf/cc4c
ContainerName=cc4c
ShmSize=1g
Network=host
Timezone=America/Los_Angeles
Environment=HOST_PORT=5589
Environment=CC4C_PORT=5589
Environment=HOST_VNC_PORT=5900
Environment=VIDEO_BITRATE=9500000
Environment=AUDIO_BITRATE=256000
Environment=FRAMERATE=60
Environment=VIDEO_WIDTH=1920
Environment=VIDEO_HEIGHT=1080
Environment=VIDEO_CODEC=hevc_vaapi
Environment=AUDIO_CODEC=aac
Environment=TZ=US/Mountain
Environment=HOST_VOLUME=cc4c_chromedata
Environment=DEVICES=true
Volume=/dev/dri:/dev/dri
Volume=/home/cc4c/cc4c_chromedata/cookies:/home/chrome/chromedata/Default/Cookies
Volume=/home/cc4c/cc4c_chromedata/logins:/home/chrome/chromedata/Default/Login Data
Volume=/home/cc4c/cc4c_chromedata/localstorage:/home/chrome/chromedata/Default/Local Storage
Volume=/home/cc4c/cc4c_chromedata/prefs:/home/chrome/chromedata/Default/Preferences
Volume=/home/cc4c/cc4c_chromedata/secure:/home/chrome/chromedata/Default/Secure Preferences
[Service]
# Restart service when sleep finishes
Restart=always
[Install]
WantedBy=multi-user.target
That’s how I’m running it, those container files are nice and easy.