[-] Max_P@lemmy.max-p.me 11 points 19 hours ago

Time to... reads notes start cracking free apps.

[-] Max_P@lemmy.max-p.me 36 points 2 days ago

And all that forever too. The developers don't pay a dime after Steam's cut to keep the game alive and downloadable and playable. Even Steam keys, you can sell as many as you want outside of Steam, for free.

The devs can just raise the price by 30% if they feel they really need the money. I'll pay the extra to have it on Steam and just work out of the box in Proton. Unlike Apple, it's not a monopoly, nothing stopping anyone from just distributing on their own.

[-] Max_P@lemmy.max-p.me 225 points 2 days ago

Epic is anti-consumer and also anti-Linux, they don't make any effort to support other platforms, the app is shit.

Meanwhile, Steam is

  • Actively working with the FOSS community to help preserve old games
    • Kernel improvements for better graphics performance
    • Lots of VR and HDR work
    • Many contributions to the open-source AMD drivers
  • Has been supporting Linux gaming for a decade with no signs of backing down
  • They have a portable Linux gaming console experience, and it's intentionally left wide open for users to mess with
    • They've taken several community features and built them into the OS
  • Their DRM is weak and unintrusive
  • Their anticheat is ununtrusive
  • The sales are pretty good
  • They have tons of features for users:
    • Family sharing
    • Remote Play Together
    • Remote Play
    • Streaming
    • Community forums for every game
    • Mod workshop
    • Matchmaking
    • Steam Chat / Voice Chat / Streaming

The only appealing thing for EGS is, EGS takes a lower cut from the developers who just pockets it and doesn't even result in lower prices for users. As a Linux user, praise our Lord GabeN for all the good Valve has done for gamers. Even for the developers, most are quite happy with the services they get back from that 30% cut.

I'd say the dislike is mainly that for the users, EGS doesn't bring in anything new or interesting or useful that Steam didn't already do well, and goes directly against a lot of the good Steam has been doing. It's just a store that makes big developers slightly more happy.

[-] Max_P@lemmy.max-p.me 1 points 2 days ago

There's also Cockpit if you just want a basic UI

[-] Max_P@lemmy.max-p.me 16 points 2 days ago

And the instance's sidebar:

A lemmy server for, but not limited to, leftists in the Midwest USA

[-] Max_P@lemmy.max-p.me 168 points 2 days ago

Less and less about OpenAI is actually... open at all.

[-] Max_P@lemmy.max-p.me 10 points 3 days ago* (last edited 3 days ago)

You can also nest rootful Xwayland in there too!

From the user's shell,

WAYLAND_DISPLAY=/run/user/1000/wayland-0 Xwayland :1 &
export DISPLAY=:1 WAYLAND_DISPLAY=
i3 &
xterm &
konsole &

Of course you that means you can also run Plasma X11 that way for example:

[-] Max_P@lemmy.max-p.me 17 points 3 days ago* (last edited 3 days ago)

Make sure to use machinectl and not sudo or anything else. That's about the symptoms I'd expect from an incomplete session setup. The use of machinectl there was very deliberate, as it goes through all the PAM, logind, systemd and D-Bus stuff as any normal login. It gets you a clean and properly registered session, and also gets rid of anything tied to your regular user:

max-p@desktop ~> loginctl list-sessions
SESSION  UID USER  SEAT  LEADER CLASS   TTY   IDLE SINCE
      2 1000 max-p seat0 3088   user    tty2  no   -    
      3 1000 max-p -     3112   manager -     no   -    
      8 1001 tv    -     589069 user    pts/4 no   -    
      9 1001 tv    -     589073 manager -     no   -    

It basically gets you to a state of having properly logged into the system, as if you logged in from SDDM or in a virtual console. From there, if you actually had just logged in a tty as that user, you could run startplasma-wayland and end up in just as if you had logged in with SDDM, that's what SDDM eventually launches after logging you in, as per the session file:

max-p@desktop ~> cat /usr/share/wayland-sessions/plasma.desktop 
[Desktop Entry]
Exec=/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland
TryExec=/usr/bin/startplasma-wayland
DesktopNames=KDE
Name=Plasma (Wayland)
# ... and translations in every languages

From there we need one last trick, it's to get KWin to start nested. That's what the additional WAYLAND_DISPLAY=/run/user/1000/wayland-0 before is supposed to do. Make sure that this one is ran within the machinectl shell, as that shell and only that shell is the session leader.

The possible gotcha I see with this, is if startplasma-wayland doesn't replace that WAYLAND_DISPLAY environment variable with KWin's, so all the applications from that session ends up using the main user. You can confirm this particular edge case by logging in with the secondary user on a tty, and running the same command including the WAYLAND_DISPLAY part of it. If it starts and all the windows pop up on your primary user's session, that's the problem. If it doesn't, then you have incorrect session setup and stuff from your primary user bled in.

Like, that part is really important, by using machinectl the process tree for the secondary user starts from PID 1:

max-p@desktop ~> pstree
systemd─┬─auditd───{auditd}
        ├─bash─┬─(sd-pam)                 # <--- This is the process machinectl spawned
        │      └─fish───zsh───fish───zsh  # <-- Here I launched a bunch of shells to verify it's my machinectl shell
        ├─systemd─┬─(sd-pam) # <-- And that's my regular user
        │         ├─Discord─┬─Discord───Discord───46*[{Discord}]
        │         ├─DiscoverNotifie───9*[{DiscoverNotifie}]
        │         ├─cool-retro-term─┬─fish───btop───{btop}
        │         ├─dbus-broker-lau───dbus-broker
        │         ├─dconf-service───3*[{dconf-service}]
        │         ├─easyeffects───11*[{easyeffects}]
        │         ├─firefox─┬─3*[Isolated Web Co───30*[{Isolated Web Co}]]

Super weird stuff happens otherwise that I can't explain other than some systemd PAM voodoo happens. There's a lot of things that happens when you log in, for example giving your user access to keyboard, mouse and GPU, and the type of session depends on the point of entry. Obviously if you log in over SSH you don't get the keyboard assigned to you. When you switch TTY, systemd-logind also moves access to peripherals such that user A can't keylog user B while A's session is in the background. Make sure the machinectl session is also the only session opened for the secondary user, as it being assigned to a TTY session could also potentially interfere.

what distro/plasma version are you running? (here it's opensuse slowroll w/ plasma 6.1.4)

Arch, Plasma 6.1.5.

what happens if you just run startplasma-wayland from a terminal as your user? (I see the plasma splash screen and then I'm back to my old session)

You mean a tty or a terminal emulator like Konsole?

  • In a tty
    • if I'm already logged in it should switch to the current session as multi-instance is not supported
    • if it's my only graphical session, it should start Plasma normally with the only exception being KWallet not unlocking automatically.
  • In a terminal within my graphical session: nothing at all.
[-] Max_P@lemmy.max-p.me 7 points 3 days ago

It's a lot easier with Wayland and hardware acceleration works, see my solution. It does a proper login session and starts the whole DE exactly the same way as if you logged in from a tty too so everything just works as expected there. Wayland devs use that a lot for testing and development so it's quite well supported overall.

[-] Max_P@lemmy.max-p.me 92 points 3 days ago

Totally possible. It'll work best with Wayland thanks to nested compositor support, whereas on Xorg you'd need to use Xephyr which doesn't do hardware acceleration.

# Give the other user access to your Wayland socket
setfacl -m u:otheruser:rx $XDG_RUNTIME_DIR
setfacl -m u:otheruser:rwx $XDG_RUNTIME_DIR/wayland-0

# Open a session as the other user (note the trailing @, it's there to login in to the local machine)
sudo machinectl login otheruser@

# Start your DE!
WAYLAND_DISPLAY=/run/user/$(id -u yourmainuser)/wayland-0 startplasma-wayland

And tada! Nested Wayland session

[-] Max_P@lemmy.max-p.me 8 points 4 days ago

Does the morning coffee count? I'll skip it if I'm being late but I do like my morning coffee.

[-] Max_P@lemmy.max-p.me 50 points 4 days ago

The real victim here is the poor souls that have to use Oracle products

3
submitted 3 months ago by Max_P@lemmy.max-p.me to c/test@lemmy.ml

Testing, I broke the database so bad my posts were federating out but not saving on my local instance, fun stuff

8
submitted 3 months ago by Max_P@lemmy.max-p.me to c/test@lemmy.ml

I can't post at all now?

3
submitted 3 months ago by Max_P@lemmy.max-p.me to c/test@lemmy.ml

I can't post at all now?

1
submitted 3 months ago by Max_P@lemmy.max-p.me to c/test@lemmy.ml

Tried some database tweaks

3
submitted 3 months ago by Max_P@lemmy.max-p.me to c/test@lemmy.ml

Tried some database tweaks

174
submitted 3 months ago* (last edited 3 months ago) by Max_P@lemmy.max-p.me to c/linux@lemmy.ml

Neat little thing I just noticed, might be known but I never head of it before: apparently, a Wayland window can vsync to at least 3 monitors with different refresh rates at the same time.

I have 3 monitors, at 60 Hz, 144 Hz, and 60 Hz from left to right. I was using glxgears to test something, and noticed when I put the window between the monitors, it'll sync to a weird refresh rate of about 193 fps. I stretched it to span all 3 monitors, and it locked at about 243 fps. It seems to oscillate between 242.5 and 243.5 gradually back and forth. So apparently, it's mixing the vsync signals together and ensuring every monitor's got a fresh frame while sharing frames when the vsyncs line up.

I knew Wayland was big on "every frame is perfect", but I didn't expect that to work even across 3 monitors at once! We've come a long, long way in the graphics stack. I expected it to sync to the 144Hz monitor and just tear or hiccup on the other ones.

1

All the protections in software, what an amazing idea!

16

It only shows "view all comments", so you can't see the full context of the comment tree.

8
submitted 1 year ago* (last edited 1 year ago) by Max_P@lemmy.max-p.me to c/boostforlemmy@lemmy.world

The current behaviour is correct, as the remote instance is the canonical source, but being able to copy/share a link to your home instance would be nice as well.

Use case: maybe the comment is coming from an instance that is down, or one that you don't necessarily want to link to.

If the user has more than one account, being able to select which would be nice as well, so maybe a submenu or per account or a global setting.

view more: next ›

Max_P

joined 1 year ago