INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: Coming changes for Linux MC34  (Read 1933 times)

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Coming changes for Linux MC34
« on: April 07, 2025, 09:13:22 am »

We are strongly considering the following changes for linux MC34

1) Building on Debian Bookworm so MC will no longer work on older versions of Debian or the derivatives like older versions of Ubuntu that don't have new enough libc, etc. as well as older (community supported) versions of other linux OS's.

2) Eliminating the i386 port. Probably keeping the armhf 32 bit port for now.

Feedback on these changes would be appreciated.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #1 on: April 07, 2025, 09:17:42 am »

1) If you're going this route, you might specifically mention the minimum version of Ubuntu that it'll run on (maybe Linux Mint too since that seems to be popular).

2) This would be fine with me. armhf is only needed for Raspberry Pis, at least until they start fully pushing the 64-bit version of Raspberry Pi OS (which anyone with a Pi 4 or Pi 5 should be using anyways). Eliminating armhf for MC35 would likely be the goal then?
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 73125
  • Where did I put my teeth?
Re: Coming changes for Linux MC34
« Reply #2 on: April 07, 2025, 09:25:17 am »

I had to look this up.  i386 port is equivalent to 32-bit.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #3 on: April 07, 2025, 09:26:11 am »

1) If you're going this route, you might specifically mention the minimum version of Ubuntu that it'll run on (maybe Linux Mint too since that seems to be popular).

Yes, I was planning on doing that. We'd need to know that at any rate for the Chromium plugin.
Quote
2) This would be fine with me. armhf is only needed for Raspberry Pis, at least until they start fully pushing the 64-bit version of Raspberry Pi OS (which anyone with a Pi 4 or Pi 5 should be using anyways). Eliminating armhf for MC35 would likely be the goal then?

The easiest way to figure out this one is when the Chromium plugin is no longer available for armhf like it's no longer available for i386.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #4 on: April 07, 2025, 09:36:01 am »

Yes, I was planning on doing that. We'd need to know that at any rate for the Chromium plugin.

My guess would be Ubuntu 24.04 LTS could be the minimum, as Bookworm was released a year after 22.04 LTS was (and nobody should be using Ubuntu 23.10 at this point, IMO).

Linux Mint becomes a bit... complicated. If Ubuntu 24.04 LTS is the minimum Ubuntu version, then Linux Mint 22 would be the minimum version of Mint (as it's based on 24.04).

The easiest way to figure out this one is when the Chromium plugin is no longer available for armhf like it's no longer available for i386.

Makes sense. Anyone either about to use a Raspberry Pi or doing a reinstall of their OS for the Raspberry Pi should be using the 64-bit version of Raspberry Pi OS to prepare for the inevitable future.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 11101
Re: Coming changes for Linux MC34
« Reply #5 on: April 07, 2025, 09:47:58 am »

My guess would be Ubuntu 24.04 LTS could be the minimum, as Bookworm was released a year after 22.04 LTS was (and nobody should be using Ubuntu 23.10 at this point, IMO).

Linux Mint becomes a bit... complicated. If Ubuntu 24.04 LTS is the minimum Ubuntu version, then Linux Mint 22 would be the minimum version of Mint (as it's based on 24.04).

As long as there is a newer release version available, I don't think we need to worry about supporting an older one - even more so if the newer one is LTS too.
Logged
~ nevcairiel
~ Author of LAV Filters

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #6 on: April 07, 2025, 11:52:19 am »

Playing with this a bit, here is a MC33 compiled on 22.04. It uses webkitgtk2-4.1-0. Can you all check this for compatibility on different operating systems?
It won't run on bullseye for sure.
https://files.jriver.com/mediacenter/test/MediaCenter-33.0.71-2-amd64.deb
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5301
  • "Linux Merit Badge" Recipient
Re: Coming changes for Linux MC34
« Reply #7 on: April 07, 2025, 12:12:22 pm »

Playing with this a bit, here is a MC33 compiled on 22.04. It uses webkitgtk2-4.1-0. Can you all check this for compatibility on different operating systems?
It won't run on bullseye for sure.
https://files.jriver.com/mediacenter/test/MediaCenter-33.0.71-2-amd64.deb

So it's mostly working on an up to date Arch Linux, but there are some problems with some streaming options. 

I tested audio and video playback as well as Spotlight and those all worked, and some options under the "Streaming" library root item work correctly, but, when I click on the "Streaming" library tree root itself, I briefly see the expected tiles but then see this error:

Code: [Select]
function requestMCWS(o,t){var e=window.location.hostname+":52199/MCWS/v1/"+o+encodeURIComponent(t),n=new XMLHttpRequest;n.open("GET",e),n.overrideMimeType("application/xml"),n.responseType="document",n.onload=function(){if(n.status<200||n.status>300)return void console.log({status:n.status})},n.onerror=function(){console.log({status:n.status})},n.send()
When I try to open youtube under streaming, I see "The web browser engine is not working properly"

That said, I don't use streaming much, so I just checked and I also see those or similar errors on the existing 33.0.71 build on Arch. 
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #8 on: April 07, 2025, 12:15:50 pm »

So it's mostly working on an up to date Arch Linux, but there are some problems with some streaming options. 

I tested audio and video playback as well as Spotlight and those all worked, but, when I click on the "Streaming" library tree root, I briefly see the expected tiles but then see this error:

Code: [Select]
function requestMCWS(o,t){var e=window.location.hostname+":52199/MCWS/v1/"+o+encodeURIComponent(t),n=new XMLHttpRequest;n.open("GET",e),n.overrideMimeType("application/xml"),n.responseType="document",n.onload=function(){if(n.status<200||n.status>300)return void console.log({status:n.status})},n.onerror=function(){console.log({status:n.status})},n.send()
When I try to open youtube under streaming, I see "The web browser engine is not working properly"

That said, I don't use streaming much, so I just checked and I also see those or similar errors on the existing 33.0.71 build on Arch.  So it's possible some of the streaming functions are just broken on Arch in general?
Possibly the ssl certificate?
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5301
  • "Linux Merit Badge" Recipient
Re: Coming changes for Linux MC34
« Reply #9 on: April 07, 2025, 12:18:03 pm »

Possibly the ssl certificate?

So I just tested the regular public build (33.0.71) on Debian Bookworm, which should have the correct ssl certs, and loading any item under the streaming root item just freezes the interface indefinitely and never loads.  Is it possible that some of the streaming functions are just broken on Linux in general right now?  The podcast functionality at least used to work, but I just see a freeze whenever I load it now.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #10 on: April 07, 2025, 12:20:38 pm »

So I just tested the regular public build (33.0.71) on Debian Bookworm, which should have the correct ssl certs, and loading any item under the streaming root item just freezes the interface indefinitely and never loads.  Is it possible that some of the streaming functions are just broken on Linux in general right now?  The podcast functionality at least used to work, but I just see a freeze whenever I load it now.
Not sure. I can run Radio Paradise from the streaming menu fine.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #11 on: April 07, 2025, 12:23:30 pm »

Not sure. I can run Radio Paradise from the streaming menu fine.
On my Mac though. On linux I get that same whacky javascript thing you do even with the current versions of MC.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #12 on: April 07, 2025, 12:24:37 pm »

Playing with this a bit, here is a MC33 compiled on 22.04. It uses webkitgtk2-4.1-0. Can you all check this for compatibility on different operating systems?
It won't run on bullseye for sure.
https://files.jriver.com/mediacenter/test/MediaCenter-33.0.71-2-amd64.deb

Works fine on Ubuntu 24.10.

I'll test my VMs here in a bit.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #13 on: April 07, 2025, 12:41:17 pm »

Works fine on Ubuntu 24.10.

I'll test my VMs here in a bit.
Streaming??
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #14 on: April 07, 2025, 12:52:03 pm »

Radio Paradise seems to be working fine in Ubuntu 24.10 too. I do see some stuff in the terminal it failing to decode fonts during playback, but it's playing back so it's probably not relevant.

Anything specific to test?
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5301
  • "Linux Merit Badge" Recipient
Re: Coming changes for Linux MC34
« Reply #15 on: April 07, 2025, 12:57:47 pm »

So the issue with the browser on my Debian server freezing probably isn't related to the items in this thread. My server instance is running in a VM on Debian Bookworm with a virtual video card that doesn't support hardware acceleration.  The web browser functions used to work perfectly (with the same VM configuration), but the chromium plugin must've changed in a way that no longer works with the virtual video card or requires hardware accel.  On the latest public builds whenever I try to navigate to any web page I get a freeze that requires manually terminating MC.  The Web logs show: 

Code: [Select]
0407/135045.231513:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[0407/135045.231542:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[0407/135045.246441:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.246460:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 1 time(s)
[0407/135045.269364:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.269387:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 2 time(s)
[0407/135045.272072:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.272091:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 3 time(s)
[0407/135045.273684:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.273703:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 4 time(s)
[0407/135045.274228:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.274244:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 5 time(s)
[0407/135045.275034:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.275048:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 6 time(s)
[0407/135045.275054:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

So that's pretty clearly a different issue than the webkit dependencies, so sorry for the static on that.  If I can't work that out, I'll open a separate thread for that later.

Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #16 on: April 07, 2025, 12:58:59 pm »

So the issue with the browser on my Debian server freezing probably isn't related to the items in this thread. My server instance is running in a VM on Debian Bookworm with a virtual video card, and the web browser functions used to work perfectly (with the same VM configuration), but the chromium plugin must've changed in a way that no longer works with the virtual video card.  On the latest public builds whenever I try to navigate to any web page I get a freeze that requires manually terminating MC.  The web logs show: 

Code: [Select]
0407/135045.231513:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[0407/135045.231542:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[0407/135045.246441:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.246460:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 1 time(s)
[0407/135045.269364:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.269387:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 2 time(s)
[0407/135045.272072:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.272091:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 3 time(s)
[0407/135045.273684:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.273703:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 4 time(s)
[0407/135045.274228:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.274244:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 5 time(s)
[0407/135045.275034:ERROR:gpu_process_host.cc(984)] GPU process launch failed: error_code=1002
[0407/135045.275048:WARNING:gpu_process_host.cc(1360)] The GPU process has crashed 6 time(s)
[0407/135045.275054:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

So that's pretty clearly a different issue than the webkit dependencies, so sorry for the static on that.  If I can't work that out, I'll open a separate thread for that later.

Since this one uses the newer webkit you could try that and see if it works. Set in options.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5301
  • "Linux Merit Badge" Recipient
Re: Coming changes for Linux MC34
« Reply #17 on: April 07, 2025, 01:02:49 pm »

Since this one uses the newer webkit you could try that and see if it works. Set in options.

Oh good catch, I forgot that to actually turn off chromium (d'oh)! Switching back to webkit on the Debian Bookworm server actually fixed all my issues with the current public builds (all the streaming functions work correctly).  Thanks for the reminder!
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #18 on: April 08, 2025, 07:38:24 am »

Oh good catch, I forgot that to actually turn off chromium (d'oh)! Switching back to webkit on the Debian Bookworm server actually fixed all my issues with the current public builds (all the streaming functions work correctly).  Thanks for the reminder!
I see an issue with the WRT a couple of the libs that 22.04 actually has newer than bookworm. I'm trying to find out if there are compatibility issues with them. Did you get install dependencies issues on bookworm?
Logged

atreides

  • Junior Woodchuck
  • **
  • Posts: 86
Re: Coming changes for Linux MC34
« Reply #19 on: April 08, 2025, 09:58:53 am »

MC 34 should be on Bookworm and not something older.  If someone wants to use older then keep using an old MC version.

+1 for this.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5301
  • "Linux Merit Badge" Recipient
Re: Coming changes for Linux MC34
« Reply #20 on: April 08, 2025, 02:47:24 pm »

I see an issue with the WRT a couple of the libs that 22.04 actually has newer than bookworm. I'm trying to find out if there are compatibility issues with them. Did you get install dependencies issues on bookworm?

I do see errors with the new test build on Bookworm: 

Code: [Select]
dpkg: dependency problems prevent configuration of mediacenter33:
 mediacenter33 depends on libxdmcp6 (>= 1:1.1.3); however:
  Version of libxdmcp6:amd64 on system is 1:1.1.2-3.
 mediacenter33 depends on libnss3 (>= 2:3.98); however:
  Version of libnss3:amd64 on system is 2:3.87.1-1+deb12u1.
 mediacenter33 depends on libgomp1 (>= 12.3.0); however:
  Version of libgomp1:amd64 on system is 12.2.0-14.
 mediacenter33 depends on libgbm1 (>= 23.2.1); however:
  Version of libgbm1:amd64 on system is 22.3.6-1+deb12u1.
 mediacenter33 depends on libwebkit2gtk-4.1-0; however:
  Package libwebkit2gtk-4.1-0 is not installed.


Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 11101
Re: Coming changes for Linux MC34
« Reply #21 on: April 08, 2025, 04:11:11 pm »

Sounds like bookworm is the better option then, if Ubuntu updated their libraries more aggressively afterall.
A bookworm version may as well still work on Ubuntu 22.04 then with any luck.
Logged
~ nevcairiel
~ Author of LAV Filters

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #22 on: April 08, 2025, 04:48:01 pm »

Sounds like bookworm is the better option then, if Ubuntu updated their libraries more aggressively afterall.
A bookworm version may as well still work on Ubuntu 22.04 then with any luck.
I'm testing that now with relaxed library specification and it seems to work.
Logged

newsposter

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 801
Re: Coming changes for Linux MC34
« Reply #23 on: April 09, 2025, 12:13:07 pm »

Is it worth considering Rocky Linux?  They seem to be edging forward as the distro of choice for creative work.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #24 on: April 09, 2025, 01:08:53 pm »

I've never even heard of it, looks like a RHEL spin? It's probably on the outer fringe versus more popular choices like Debian and Ubuntu.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5301
  • "Linux Merit Badge" Recipient
Re: Coming changes for Linux MC34
« Reply #25 on: April 09, 2025, 01:41:30 pm »

I've never even heard of it, looks like a RHEL spin? It's probably on the outer fringe versus more popular choices like Debian and Ubuntu.

Rocky Linux is sort of the spiritual successor to CentOS after Red Hat effectively killed off the old CentOS model and replaced it with "CentOS Stream"

I agree that it's probably not going to be as well supported as Debian or Ubuntu. 

FWIW, after years of running on both Debian and on Arch, I'm very rarely had any trouble on Arch that I didn't also have on Debian.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2707
Re: Coming changes for Linux MC34
« Reply #26 on: April 09, 2025, 01:49:21 pm »

I work in RHEL-land and come across way more AlmaLinux deployments than Rocky.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #27 on: April 10, 2025, 07:51:01 am »

Please try this one:
https://files.jriver.com/mediacenter/test/MediaCenter-33.0.71-3-amd64.deb
Compiled on bookworm with relaxed library requirements.
Runs as far back as ubuntu 22.04 for me.
Maybe someone else can try with other non-debian distros?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #28 on: April 10, 2025, 08:15:48 am »

WRT the issues with the chromium plugin, it seem they are related to gpu acceleration and compositing. Unfortunately it doesn't appear possible to disable it when chromium is loaded as a plugin. Tried several methods but none work.
It absolutely doesn't work on my Bookworm Radeon 580 system with KDE/Plasma/Wayland but it does with most other combinations.
The Webkit browser choice does work but the problem is getting to it since chromium is the default (and is better for most of the uses in MC) but crashes on start.
I'm thinking of adding a command line override to either use webkit and set it in the options or just to get it up on webkit so the options can be changed.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #29 on: April 10, 2025, 11:12:31 am »

WRT the issues with the chromium plugin, it seem they are related to gpu acceleration and compositing. Unfortunately it doesn't appear possible to disable it when chromium is loaded as a plugin. Tried several methods but none work.
It absolutely doesn't work on my Bookworm Radeon 580 system with KDE/Plasma/Wayland but it does with most other combinations.
The Webkit browser choice does work but the problem is getting to it since chromium is the default (and is better for most of the uses in MC) but crashes on start.
I'm thinking of adding a command line override to either use webkit and set it in the options or just to get it up on webkit so the options can be changed.
Try https://files.jriver.com/mediacenter/test/MediaCenter-33.0.72-amd64.deb
When starting MC this way:
mediacenter33 /BuiltInBrowser
MC will default to the webkit browser and set that in options. It still has to download chromium to satisfy JRWeb dependencies if it hasn't already but it will use the internal browser.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #30 on: April 10, 2025, 11:27:48 am »

Maybe someone else can try with other non-debian distros?

On it with my VMs. Specific things to test? I'll check Radio Paradise in all of them too.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #31 on: April 10, 2025, 11:48:48 am »

On it with my VMs. Specific things to test? I'll check Radio Paradise in all of them too.
I think any issues would be mostly related to the browser and internet access.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5301
  • "Linux Merit Badge" Recipient
Re: Coming changes for Linux MC34
« Reply #32 on: April 10, 2025, 12:04:08 pm »

I recommend testing a few different streaming nodes as some worked and some didn't with the previous build.  Also spotlight is probably worth testing.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #33 on: April 10, 2025, 12:10:52 pm »

Doesn't seem to work with Arch Linux, both /BuiltInBrowser and normally. /BuiltInBrowser results in nothing loading, and normal results in it saying Loading... Not sure if it's related to the cert thing or not (pretty sure I've done the command fix for it, can't recall) as nothing appears in the terminal while running it that way.

On to the next distro.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #34 on: April 10, 2025, 12:15:18 pm »

Doesn't seem to work with Arch Linux, both /BuiltInBrowser and normally. /BuiltInBrowser results in nothing loading, and normal results in it saying Loading... Not sure if it's related to the cert thing or not (pretty sure I've done the command fix for it, can't recall) as nothing appears in the terminal while running it that way.

On to the next distro.
It runs but no browser or it crashes??
The cert is in /usr/lib/jriver/Media Center 33/ca-certificates.crt it's a symlink to the /etc/ssl one if it exists. If it doesn't you can change the symlink to the local copy in that dir.
cd "/usr/lib/jriver/Media Center 33"
rm ca-certificates.crt
ln -s local-ca-certificates.crt ca-certificates.crt
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #35 on: April 10, 2025, 12:25:52 pm »

It runs but no browser, same happens in OpenSUSE too. Both with the GTK WebKit browser. I'll figure that part out later (if there's a missing dependency or something), but I'm pretty sure Chromium will work.

I'll do Debian, Ubuntu, Fedora and Linux Mint now.

EDIT: Chromium does indeed work for both Arch Linux and OpenSUSE, e.g. Radio Paradise page opens and plays fine. On to the others distros.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #36 on: April 10, 2025, 12:36:43 pm »

Is there a WebKit dependency or something needed? Because on Debian 12 after using mediacenter33 /BuiltInBrowser and go to a page on the Streaming section it just says Loading... and sticks there. If I switch to Chromium it loads fine.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #37 on: April 10, 2025, 12:36:51 pm »

It runs but no browser, same happens in OpenSUSE too. Both with the GTK WebKit browser. I'll figure that part out later (if there's a missing dependency or something), but I'm pretty sure Chromium will work.

I'll do Debian, Ubuntu, Fedora and Linux Mint now.

EDIT: Chromium does indeed work for both Arch Linux and OpenSUSE, e.g. Radio Paradise page opens and plays fine. On to the others distros.
Interesing. If libwebkit2gtk is at 4.1.x it should load. If not it should give a stream of complaints on the command line
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #38 on: April 10, 2025, 12:38:01 pm »

Is there a WebKit dependency or something needed? Because on Debian 12 after using mediacenter33 /BuiltInBrowser and go to a page on the Streaming section it just says Loading... and sticks there. If I switch to Chromium it loads fine.
That works fine for me debian 12 and the switch brings up webkit
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #39 on: April 10, 2025, 12:51:48 pm »

Tried on my main Ubuntu install (non-VM) and GTK WebKit doesn't work.

Code: [Select]
mediacenter33 /BuiltInBrowser
Gdk-Message: 12:48:03.686: Window 0x5ed124da7cd0 is a temporary window without parent, application will not be able to position it on screen.

(JRWeb:16060): Gdk-CRITICAL **: 12:48:03.692: gdk_x11_window_get_xid: assertion 'GDK_IS_X11_WINDOW (window)' failed
Killed
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #40 on: April 10, 2025, 12:52:45 pm »

Tried on my main Ubuntu install (non-VM) and it doesn't work.

Code: [Select]
mediacenter33 /BuiltInBrowser
Gdk-Message: 12:48:03.686: Window 0x5ed124da7cd0 is a temporary window without parent, application will not be able to position it on screen.

(JRWeb:16060): Gdk-CRITICAL **: 12:48:03.692: gdk_x11_window_get_xid: assertion 'GDK_IS_X11_WINDOW (window)' failed
Killed
Wayland?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #41 on: April 10, 2025, 12:56:35 pm »

Yep, Wayland on GNOME.

The GTK WebKit getting stuck on Loading... when opening a web page is in VMs (Arch Linux, Debian and OpenSUSE) using X11.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #42 on: April 10, 2025, 12:57:33 pm »

Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #43 on: April 10, 2025, 01:06:21 pm »

That's going to become a problem soon, distros are beginning to completely drop/remove Xorg and going Wayland only. Fedora 42 and the GNOME it ships (which should be out this month) will fully remove Xorg and the X11 session and it can't be reinstalled. Eventually I expect Ubuntu to follow suit, maybe 25.10 to test it out before 26.04 LTS next year. Of course, XWayland is a thing and that allows a lot of apps to function with Wayland, thankfully.

I personally have to use Wayland with GNOME because of the variable refresh rate support and the upcoming triple buffering in GNOME 48. The X11 session is okay, though it has issues with screen tearing and whatnot and it won't get the triple buffering support. The Chromium engine seems to be working fine thus far at least!
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Eisenhart

  • Member
  • *
  • Posts: 4
Re: Coming changes for Linux MC34
« Reply #44 on: April 10, 2025, 02:17:02 pm »

GNOME is the default environment for Debian, Ubuntu, and Fedora.  I understand you can choose another one for Debian, but Gnome is checked by default.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14161
Re: Coming changes for Linux MC34
« Reply #45 on: April 10, 2025, 02:32:18 pm »

That's going to become a problem soon, distros are beginning to completely drop/remove Xorg and going Wayland only. Fedora 42 and the GNOME it ships (which should be out this month) will fully remove Xorg and the X11 session and it can't be reinstalled. Eventually I expect Ubuntu to follow suit, maybe 25.10 to test it out before 26.04 LTS next year. Of course, XWayland is a thing and that allows a lot of apps to function with Wayland, thankfully.

I personally have to use Wayland with GNOME because of the variable refresh rate support and the upcoming triple buffering in GNOME 48. The X11 session is okay, though it has issues with screen tearing and whatnot and it won't get the triple buffering support. The Chromium engine seems to be working fine thus far at least!
The issue with Wayland and the GtkWebkit may be resolvable, just haven't had time to check into it yet.
The Chromium engine really should work on any properly working compositing system.
As far as Wayland goes for the rest, MC works mostly fine for me with XWayland, there are a couple of quirks that I hope they eventually figure out but he browser issue was the only crash I knew of.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #46 on: April 10, 2025, 02:42:19 pm »

GNOME is the default environment for Debian, Ubuntu, and Fedora.  I understand you can choose another one for Debian, but Gnome is checked by default.

Debian is probably years away from dropping Xorg support, so there is still time (and as I said XWayland is a thing which is why MC runs on Wayland at all) in that regard. It's just something to prepare for because popular distros like Ubuntu will start dropping Xorg as well like Fedora is about to. So there won't be a simple fallback to X11 session sort of deal in the future.

But, again, XWayland is thankfully a thing so it works, more-or-less. It might need to use Chromium on Wayland sessions... well, maybe not KDE Plasma? :P

The Chromium engine really should work on any properly working compositing system.

Chromium seems to work very well thus far in my testing on multiple distros (Arch Linux, Ubuntu, OpenSUSE, Debian, etc.). Though I don't have a KDE Plasma system running Wayland to test that one, oooooof. You might try Kubuntu 25.04 when it's out just in case it was a KDE issue they fixed. I do have a 580 too somewhere from my previous system, maybe I should rebuild it and use it as a test system for such things? Hmmm, maybe I should if I can find room for it. :)
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2074
Re: Coming changes for Linux MC34
« Reply #47 on: April 10, 2025, 04:37:23 pm »

Is HDR possible without proper Wayland support?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #48 on: April 10, 2025, 04:54:43 pm »

My guess it's not because both KDE Plasma 6 and GNOME 48 require Wayland for HDR. And I don't think any of them have any interest trying to backport it to Xorg Server.

Also considering Xorg development is basically dead (other than XWayland which is where the majority of work on Xorg is focused) it probably is going to require Wayland.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8256
  • The color of Spring!
Re: Coming changes for Linux MC34
« Reply #49 on: April 10, 2025, 05:05:03 pm »

Bob, is there a switch to switch to the Chromiun engine like the built-in? Because when testing on Ubuntu (Wayland) MC wouldn't start correctly for me to switch the browser engine back to Chromiun and I ended up having to restore User Settings.ini to fix it. Might be handy for those situations if one doesn't already exist.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones
Pages: [1] 2   Go Up