INTERACT FORUM

Please login or register.

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

Author Topic: Wayland and Theater View  (Read 5744 times)

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2643
Wayland and Theater View
« on: July 31, 2015, 11:14:26 am »

What are the implications of Wayland on Theater View? Should the new display server make it easier (more feasible) to implement?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7755
  • Autumn shade...
Re: Wayland and Theater View
« Reply #1 on: July 31, 2015, 11:26:40 am »

I'm not sure if MC even supports Wayland yet, probably just X at the moment. Getting it working through XWayland should be possible, no?
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 | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2643
Re: Wayland and Theater View
« Reply #2 on: July 31, 2015, 11:29:09 am »

I'm not sure if MC even supports Wayland yet, probably just X at the moment. Getting it working through XWayland should be possible, no?

Oh I'm sure it doesn't support Wayland. I was just wondering if the Theater View development time would be better spent working in Wayland instead of X. Standard view works great in X but I know that since Theater View is DirectX-based there will be substantial issues porting it to X. I wonder if just doing it in Wayland would be considerably easier.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5233
  • "Linux Merit Badge" Recipient
Re: Wayland and Theater View
« Reply #3 on: July 31, 2015, 11:40:21 am »

MC does not work on wayland yet (or didn't as of a few weeks ago), and neither does most nvidia hardware with the proprietary drivers.  Regardless of what the Freedesktop.org/Gnome crowd may think Wayland will not be ready for prime-time in the near term.  Maybe in time for the next Debian Stable.  Maybe.

Don't mistake me, I'm a huge fan of Gnome, but you only have to boot into a Gnome Wayland session on the latest Gnome (3.16) and see how wonky everything is at the moment (especially with non-gnome software).  Unless you have NVidia hardware with the proprietary driver, of course, in which case it doesn't work at all (white screen of death, etc.).  Since 3.16, they've been piloting running GDM with wayland by default, and it generated a huge amount of issues/friction just for the login screen which they have complete control over.

In my view, wayland is somewhere between alpha and beta right now, and it will be years (my guess is more than one less than three) before it becomes a useful replacement for X11.  And most linux desktops don't support wayland robustly ATM, so targeting wayland for development right now would effectively be saying "use gnome or else, and here's hoping you don't want to use a newer nvidia graphics that nouveau doesn't really support yet."

Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2643
Re: Wayland and Theater View
« Reply #4 on: July 31, 2015, 11:56:15 am »

MC does not work on wayland yet (or didn't as of a few weeks ago), and neither does most nvidia hardware with the proprietary drivers.  Regardless of what the Freedesktop.org/Gnome crowd may think Wayland will not be ready for prime-time in the near term.  Maybe in time for the next Debian Stable.  Maybe.

Don't mistake me, I'm a huge fan of Gnome, but you only have to boot into a Gnome Wayland session on the latest Gnome (3.16) and see how wonky everything is at the moment (especially with non-gnome software).  Unless you have NVidia hardware with the proprietary driver, of course, in which case it doesn't work at all (white screen of death, etc.).  Since 3.16, they've been piloting running GDM with wayland by default, and it generated a huge amount of issues/friction just for the login screen which they have complete control over.

In my view, wayland is somewhere between alpha and beta right now, and it will be years (my guess is more than one less than three) before it becomes a useful replacement for X11.  And most linux desktops don't support wayland robustly ATM, so targeting wayland for development right now would effectively be saying "use gnome or else, and here's hoping you don't want to use a newer nvidia graphics that nouveau doesn't really support yet."



I likely do not understand its limitations completely, but would it not be possible to use Wayland only when theater view is in 'exclusive/full-screen' mode, sort of how GDM is using Wayland now but the rest of the DE is still on X? In other words can theater view use Wayland while standard view, etc uses X? I imagine this has to be possible since the display manager is always running alongside the X server in gnome/GDM.

And I have used Wayland/Westin before...it was probably three years ago and I managed to get it running after a few hours of work just for the hell of it. Then I realized I couldn't actually use any programs outside of a Win 3.1-esque file manager and went back to X.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7755
  • Autumn shade...
Re: Wayland and Theater View
« Reply #5 on: July 31, 2015, 11:57:09 am »

Then there's Canonical and the push for Mir to replace X in Ubuntu. I haven't attempted to see if MC works with XMir, hopefully I can soon.
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 | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5233
  • "Linux Merit Badge" Recipient
Re: Wayland and Theater View
« Reply #6 on: July 31, 2015, 12:09:56 pm »

I likely do not understand its limitations completely, but would it not be possible to use Wayland only when theater view is in 'exclusive/full-screen' mode, sort of how GDM is using Wayland now but the rest of the DE is still on X? In other words can theater view use Wayland while standard view, etc uses X? I imagine this has to be possible since the display manager is always running alongside the X server in gnome/GDM.

This is onyl sort of true.  Prior to 3.16, GDM went away after login; now GDM hangs around after logging in, but it does that by hogging two different login sessions (basically tty1 and tty2 are both occupied when you login to Gnome from GDM).  This has a lot of problems in terms of performance and memory, as well as having some downstream consequences like breaking bluetooth pairing (which pair to the GDM instance and not the actual gnome shell instance), and hardware acceleration in Virtualbox (I think, I'm still trying to figure it out, but GDM 3.16 definitely broke accel). 

So for MC to do something similar would require logging in as another user; you need a whole new session to take advantage of wayland.  There could be an "MC" user, but it starts to sound like a lot of overhead.

And I have used Wayland/Westin before...it was probably three years ago and I managed to get it running after a few hours of work just for the hell of it. Then I realized I couldn't actually use any programs outside of a Win 3.1-esque file manager and went back to X.

It's better than that, but not that much better  ;)
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2643
Re: Wayland and Theater View
« Reply #7 on: July 31, 2015, 12:14:02 pm »

hogging two different login sessions (basically tty1 and tty2 are both occupied when you login to Gnome from GDM)

I did not realize this. I usually switch to LightDM and had assumed GDM operated in a similar manner. That's a bummer.
Logged
Pages: [1]   Go Up