(slight epilepsy warning) Revisiting Roblox Studio on Wayland

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 6

  • @legosamcat
    @legosamcat День тому

    Great video! This made my day!

  • @Military_Boi
    @Military_Boi 3 дні тому +1

    Hey! Thank you for the video, I was really lucky to get this recommended to me lol
    I'm in the process of transitioning from Windows to Arch (also with hyprland) and naturally I still have to get the hang of things but using umu for studio was something I did not know yet.
    I noticed that whenever you unfocus/refocus the window (especially if follow mouse is set to 1 in your hyprland configs) and when you, for example, change from the move tool to the resize tool or hover your mouse over the other UIs the screen will flicker, essentially anything that triggers a redraw if I'm not mistaken.
    It really is a shame that we can't drag the window UIs around, I honestly don't think anyone likes the default layout but am willing to be proven wrong, lol. Will have to adapt my workflow and just deal with it and wait until something changes.
    Once again thank you, even if this was not intended to be a tutorial!!
    Btw, if you don't mind sharing, how can I make my windows blurry like yours? I'm using hyprchroma right now to make my backgrounds transparent but I don't know how to set the blur. If it's a terminal only thing do let me know as well please! Using kitty right now, would be using fish but it doesn't want to open whenever I try to do so. It opens fine in VSC and when I type fish in the terminal but I don't know if that's intended 🙃

    • @deadfry42
      @deadfry42  3 дні тому

      Thanks for the reply!
      (sorry for the MASSIVE wall of text, I kinda ranted a little)
      But first: if you are honestly going to switch from Windows to Arch, i highly recommend keeping windows around, if you haven't deleted it yet, atleast until you can guarantee 100% that you don't need to go back. Remember, things like Sober are unofficial and may not stay around forever, but I hope Roblox comes out natively for Linux by the time that happens. I made the mistake of removing my windows partition, and then when I had to use some windows software or play games only supported on windows because of anti-cheat, my only option was to buy a new drive and install windows on there, which was just a massive hassle. How's the transition going, btw? I switched to linux like 18 months ago and for me it's been pretty smooth sailing apart from nvidia drivers (which have gotten a LOT better especially in the past few months), multiplayer games, and pkhex lol
      I can't say i noticed the fact that studio flickers when i unfocus, because I usually have roblox studio on it's own workspace without any other windows, but that's a weird quirk I only just noticed. Probably some side effect of using a qt application in wine. I really hope they manage to fix the windows not being able to move, the problem is that the windows only snap when the top bar is held, but in hyprland you can only move by using the mouse and a modifier, or through keyboard shortcuts. I'm pretty sure on a floating window manager like kwin it works fine, with a few quirks obviously because it's running in wine. Haven't tested it though, I don't have kde plasma installed. Using studio on floating window managers in general just works a lot better, especially when in X11, because of XWayland sometimes not working perfectly with wine.
      About the window blurring: I just changed the alacritty config and then made windows blur in hyprland.
      Just want to quickly say that the glasslike vscode extension doesn't work for me, so i literally changed the opacity of vscode with windowrules in hyprland to get a similar effect, and it works fine.
      You can do the same in kitty by changing the kitty.conf file in ~/.config/kitty/ with the following (which works for me):
      transparency = yes
      background_opacity 0.25
      dynamic_background_opacity = yes
      and then changing the hyprland config to include something like this, which i'm sure you already have but just putting this here in case you don't:
      decoration {
      blur {
      enabled = true
      size = 5
      passes = 3
      }
      }
      people have asked for a tutorial on how to set this up, on the last video, but i'm not sure if I want to because i'm not really good at making tutorials, and there are thousands of other resources online elsewhere, like on the vinegarhq discord server, hyprland discord server etc. and just googling and praying your answers in the search results.
      Quick tip, however, is that you can join discord servers and sometimes just search for your issue and most of the time if you're in the right server there might be an answer.

    • @Military_Boi
      @Military_Boi 3 дні тому

      @@deadfry42
      Thanks for the reply and don't worry about ranting, it was pretty straight forward lol. And I'm probably ranting as well lmao.
      I still have my windows installation around however it became quirky (invis text, can't open nvidia control panel or any apps that use the dGPU), don't know if it's because I changed the partition using a live boot of gparted and resized it more than it wanted me to (made a roughly 350GB partition for arch and the remaining 150GB is still allocated for windows. Windows would've only let me resize around 150GB with its disk manager iirc) or if it's a driver issue of some sort.
      I think that as long as vinegarhq is willing to maintain sober they will, vinegar/grapejuice weren't official but they *were* maintained when they still worked. Sober honestly mostly works in comparison to windows, however I tried to play blackhawk rescue mission 5 today and the performance was not great compared to windows, even when sober is "native" (which is just a hot patched android apk with settings changed so we can play games that are device locked to the desktop platform. I do love that they called it sober though lol)
      The transition is going well thanks for asking! Had to resize my root partition today while messing with vinegar actually, many libs and stuff take a lot of disk space and my installation isn't what I'd call minimal atm. I've only recently transitioned (Around a week at most I think) and I was literally thinking earlier that I am actually going through with this lol, but in the end I think it will be a lot better since I have stuff I want to host and the windows hosting experience is dogcrap. For instance if my laptop decided to just randomly turn on (SOMEHOW IT DID ON MULTIPLE OCCASIONS) and it went back into suspension all my hosted services would stop (or maybe wifi was being disconnected on suspension now that I think back at it) *OR* windows would BSOD (something related to watchdog, I read somewhere it happens when windows boots and tries to work stuff out but then it goes back into suspension too quickly, happened to me like 3 times or so and they were SUPER frustrating since I host adguard and tailscale as an exit node and I use it especially when I'm away from home). Aside from some other quirks which can be overlooked, it's not too bad. I *do* have an OLED panel though so naturally you can probably assume what I searched before transitioning, especially because of pixel shift and all that. Atm I'm running a makeshift screensaver using hypridle which starts a fullscreen video using mpv until I can figure out something more permanent LMAO.
      Floating WMs make total sense for studio given the way UIs are handled there lmao. Roblox even revamped UI docking semi-recently iirc. Scripting should be fine as I almost always run Rojo in VSC.
      Thank you!! Will try when I finish writing!!
      Atm I'm just running hyprchroma (which has zero documentation I have no idea what hyprchromakey does in the hyprconfig file but maybe I'm just stupid) and the developer's modified darkreader extension which allows firefox to go a bit transparent using the chromakey and lets me look at my wallpaper.
      In my VSC the top bar is just like a normal window top bar (without the VSC terminal thingie in the middle) and it's in light theme. ...Same with most apps like hyprwall and p wvucontrol... Which is off putting but I don't know how to do that right now and I have higher priorities like finishing the setup rather than ricing at the moment since I'm still in the process of transitioning and there's still a lot of stuff for me to figure out so yeah you know how it goes.
      Though the freedom I get with linux is insane compared to windows and the thought of me being able to connect all systems I install together and fully customizing everything makes me extremely happy compared to windows where just changing the time it takes for the screen to turn off makes the OS scream at me that I'm not contributing to lowering the planet's CO2 levels even though it makes my GPU generate 100x more heat and make my fans sound like an airplane is passing by :)
      Imo if you want to do the tutorial go for it, even if you think there's already resources out there. There's a lot of people who would prefer a step-by-step on youtube.
      I myself did follow a youtube tutorial on how to install Arch since I like having it at least a little straight forward, as an added bonus of that I installed Arch with lvm + encryption, which sounded good for me (considering I have a laptop and have to go places) when I could've just followed the Arch wiki or used archinstall (I tested archinstall with a vm and it didn't wanna work with disk encryption so I decided to just go manual to work my case. Which I don't regret. Was fun, even if time consuming). All in all it's your choice but if you think you can do the tutorial in a way that can get people their desired result I'd say go for it.
      Forums exist and comments on youtube are a sort of forum for that specific video/topic imo. At any rate you can also link resources in the description which helps extremely if you get info from obscure sites or dug up forum articles.
      You're right about that but I don't know any Discord servers, I've just been guiding off github, archwiki and the hyprland documentation (and whatever else shows up in my searches). I'll try some of the ones you mentioned.
      Once again thank you for replying and sorry for "out wall-of-text'ing" you LMAO, sometimes some stuff can only be explained in really big yaps and making comments on youtube feels a whole lot like emailing someone, get all the info out and wait (or get ghosted LOL). Ranting feels good but I'm probably just a big yappinator :)
      Ps: If you wanna see the flickering up close in studio (or just cause seizures to the epileptic) just spam 1,2,3,4 alternatively in studio (the move, resize etc pickers) really fast and it should constantly flicker for as long as you keep spamming the keys, that's one way of doing it on purpose which makes me think the UIs are just being rendered weird. Studio also has a setting for which renderer you want to use and so does vinegar in the settings I think but I haven't seen any major performance differences as far as I have tested (which was not intensively or in any adequate manner).

    • @deadfry42
      @deadfry42  3 дні тому

      @@Military_Boi
      Thanks for the reply!
      I just want to quickly ask why you jumped from windows straight to arch, and with hyprland? Hyprland is intended for long-time linux users, not really for beginners. That's a massive jump and needs a lot of getting used to. I started with Ubuntu, which admittedly isn't the best but it got me into Linux, and i only swapped to arch until about 6-7 months ago! Also, about the 'minimal installation', don't worry, my first arch installation got so bloated it bricked itself, so you're not alone. That had ~4k packages, whereas my current setup has about 1.5k. As you learn more about Linux, you'll probably start to understand a bit more about what you're actually installing, and what you do and don't need. Still, what you're doing is impressive and if you don't like the experience or you find it too hard, just remember that you're not alone, and there's always an alternative. As of now, all I have is a custom setup for aylurs-gtk-shell (now simply ags + astal), with some other software coming from vaxry himself, things like hyprpaper, hyprlock, hypridle, hyprcursor etc.
      I think the reason the transition for me was so easy was because I don't really use unsupported hardware. My monitor is a pretty generic 1080p lcd 144hz panel, which works perfectly with no issues. I'm using a desktop pc, with no special features like a fingerprint scanner or something like that, mostly generic run of the mill hardware. Expect from the rgb, which is easily handled with openrgb. thankfully. Laptops on the other hand are pretty difficult to get to work under linux, due to mostly proprietary implementations of rgb, keyboard backlights, finger prints etc., and/or the community haven't properly tested/tuned the hardware yet. This will get better as more and more people use Linux.
      That's great to hear that you like Linux for the customisability! Me too, Windows for me is FARR too clunky and compared to my workspace-based tiling workflow I just can't use on Windows. It's also good to get away from all of that bullshit copilot that microsoft is pushing, and microsoft in general.
      My windows installation is also a bit weird, probably just windows being windows. I don't know either but for everything i need to do it works fine, even after moving my installation from an intel system to an amd system. which usually messes everything up. I can't say i've had any invisible text or any weird rendering bugs however, might just be some driver issue on your end.
      VinegarHQ still maintains vinegar, it's just their priority is on Sober as vinegar is mainly just for studio atm, and there's not much more that the team can do to fix the remaining issues, and sadly most people don't really care for studio. Sober for me is as advertised, 2x performance compared to windows, which i'm not sure why is the case. I do have a pretty overkill rig especially for Roblox, so that's probably as expected. Still, i find it's amazing that people can just repackage android apks and run them natively. Sober is 100% not guaranteed to work for ever, Roblox can block it whenever they please, like they did with wine.
      I've heard of Rojo before, but I've literally only ever used Roblox Studio. Interesting how they have a native linux build available for download. I'm not really interested in using roblox studio atm, due to the weird quirks of using it on Linux and being productive on windows just isn't for me. If i ever do get back into it, I might try rojo.
      I have a severe case of the yapping too, especially in places like here on youtube because the majority of my friends don't care that I use Linux, and I don't want to rub it in their face and force them to listen to me yapping about something that they don't care about (mostly) :). It's also why I have a windows partition, for multiplayer games that don't work under Linux or just to make sure something works without having to tinker while on call with them.
      The only flickering I see on windows is when you start the game, and the ui morphs together for some reason, but here with vinegar, I see things like the collaborate button flickering, the ui being flaky at best etc. as you can see in the video. I assume there's some weird incompatibilities between windows and wine where the rendering is slightly different, or just XWayland being XWayland. All of the renderers are practically the exact same for me, except for OpenGL for some reason.
      Probably won't do a tutorial, I would love to, but I have no real motivation to do so, and I'm already very busy as it is at the moment, I've got a lot of stuff to maintain and deal with, and I just don't really have the time for something like that right now. About the discord servers, you don't really have to engage in the server, I have a backlog of discord servers i've literally never talked in but I refer to for updates and searching for answers.
      Anyway, I've yapped enough for today and I'm going to go to sleep, so if you reply within the next few hours i'm not going to see it. Thank you and I wish you luck with your transition!

    • @Military_Boi
      @Military_Boi 3 дні тому

      @@deadfry42
      Thanks once again! Hope you had a good rest once you end up reading this and happy Saturday!
      I have used Ubuntu like once or twice (the most recent I had an incident where I formatted my whole disk LMAO), it's not my first time but it's been a bit. And use as in like didn't daily drive just experimented with it while dual booting windows.
      The TLDR for it is never show a dude who loves tech, daily drives windows and is frustrated with his system, a better system if you put a decent bit of effort into it.
      The long answer is, I can adapt at a decent pace, I'm basically already used to using the SUPER key for every hyprland action. I don't know it inside-out yet but after enough time things work themselves out. It's like when you're given a problem and asked how it works or how you think it works, you can be wrong but you're starting from the top then going down. Easiest (but technically hardest) way to learn is to tackle the complex areas first so you can better understand how the simpler areas work, linux is its case as different things work in different ways (most of the time). I digress though, at any rate I also appreciate the ability to customize stuff as we want it from scratch. I only have 8gb of ram and Windows has traumatized me with memory usage. Being able to minimize what I need and what I do not in a linux installation (even when using a WM) memory-wise is honestly something that allures me, as well as the infinite customization, I mean like come on, the system even lets you remove the french language pack! (sudo rm -fr ./* LMAO). I don't find it particularly hard but it's not an easy task either, takes a bit of tweaking, experimenting, etc, but it's a good effort in the end to get some linux experience and just how operating systems work in general. I think people make Linux seem like the final boss but our thoughts are what makes us inside and out, installing Linux is relatively straight forward with or without an installer if you know how things work or if you know the procedures by heart, the former being the advisable way but the former also helps if you decide to get more in-depth on why and how it works. Realistically I could've grabbed some dot files but I wanted to try going from top to bottom.
      No real issues with me and my laptop, it's just the generic mobile-adapted hardware but compatibility does tend to suck since different draw wattage so different performance from what may be advertised and it could potentially trick people if they see x GPU but they get a y GPU configuration since it's a laptop. (Like how the gtx 1650 is actually the gtx 1650 max-q design for laptops and how usually the iGPU handles the monitor output)
      I swore to myself the moment I saw microsoft recall on my desktop I would instantly switch LMAO. Didn't happen though, I just decided to opt for a better NON-ABUSIVE environment early (after clearing out some disk space in windows).
      Since sober runs natively that's why it's advertised to be faster, since, first and obviously, it runs natively and secondly because you're (most likely) using a not bloated system you have setup to your needs and respects you. And well I guess just because gnu/linux in general but I have no fundament for that part, it just works LOL. Maybe my worse performance was due to misconfiguration or something since I have no MUX switch or anything maybe roblox decided to run off my iGPU, no idea.
      Rojo is honestly a really good way to script since you're not bound by the constraints of roblox studio scripting, plus it can be a guilty pleasure if you hate roblox studio and if you like the customizability of vsc lmao. You *do* need to install a LSP extension and whatnot. You will find yourself consulting the engine API quite often as intellisense does not have all the methods/functions but once you type them once VSC just registers the keywords and you can go from there. All in all I do enjoy using rojo a lot and with source control it's even cooler. If setup properly you can make it so building from rojo requires no tweaking if you add remote event instances to it (through name.model.json, you should check rojo docs for it whenever you're interested).
      Roblox-TS is also really cool afaik but haven't used it yet. It compiles from typescript to roblox luau so you can get all the ts benefits when coding.
      I feel you completely! Sometimes I just feel like ranting but nobody really cares or I have nobody to talk to about it because they're just not that into it. "I use arch btw" is just an infamous flex from arch users that I think nobody should use unless you wanna weird people out 'cause of stereotypes LMAO. Showing people off your system without flexing is just how I like (or would like) to do things as it doesn't weird people out and they might actually find it cool if you have anyone remotely interested. Imagine a windows user asking how you made your windows installation like that 😭
      Haven't noticed any of that, or maybe not yet, just an empty top UI rendering half size of my viewport then fixing itself like a frame after.
      That's completely fine! Saying and actually doing are two completely separate things and they should be addressed accordingly.
      I've only really kept my windows installation around so I could keep hosting my stuff "reliably" since I have very little time to continue changing the configs on my linux installation because I have a god awful school schedule (all days except wednesday I only dip at 6:30 PM/18:30 and I come home extremely tired).
      I'm usually a lurker as well, social awkwardness spreads online as well and the fact I'm yapping is a miracle but man it feels good to have people who you can relate to on some level 🥲
      Thank you for typing these walls of text and for reading mine!