Repository navigation
x11, cpak fixes and perf improvements
x11, cpak fixes, performance improvements, and much more...
Stud runs on X11 again, Studio gets its own FastFlags and presence, web pages draw inside Roblox, and a long list of input, audio and window fixes.
SUMMARY:
- Fixed: Stud didn't start at all on X11 (#36)
- Fixed: a Roblox window behind other windows took over the cursor, and the home screen reacted, just from the mouse passing over it
- Fixed: closing Roblox from the Linux title bar froze it and skipped Roblox's own leave screen
- Fixed: a PlayStation controller pressed every button twice
- Fixed: Roblox could freeze when leaving a game
- New: Roblox's sign-in and Studio's web panels now open inside the Roblox window
- New: a Studio tab in Settings, with Studio's own FastFlags and buttons for its Plugins and Documents folders
- New: Discord Rich Presence for Studio
- New: a Presentation setting with VSync, Adaptive VSync, No VSync without tearing, and No VSync
- New: Ctrl works as Command in Studio, like Studio on Windows
- Faster: Roblox's main thread gets a higher priority, and its memory uses huge pages
- Faster: on AMD X3D CPUs, Roblox runs on the cores with the large cache
Full changelog
X11:
- Stud started on X11 and then hung before Roblox showed a window. It now runs on X11 sessions again, without needing a nested Wayland compositor (#36)
- The cursor is the same size on X11 as on Wayland, following your desktop's scale
- Camera movement is as sensitive on a scaled X11 desktop as on Wayland. It was slower by the scale factor
- When X11 runs inside a Wayland session (XWayland), the cursor no longer twitches in first person or while dragging the camera: the pointer is held stilll and Stud draws Roblox's cursor in place
Mouse and focus:
- A Roblox window that isn't focused no longer reacts to the mouse passing over it: it doesn't take the cursor, move the camera, scroll, or highlight anything on the home screen. The desktop's own cursor stays while you hover, as on Stud v1.0
- Clicking Roblox while another window is on top now brings Roblox to the front first, then lets the game take the cursor, in one click, without the camera jumping
- Entering first person no longer flings the camera on the first mouse movement
Closing:
- Closing Roblox from the Linux title bar now does what the macOS title bar does: Roblox shows its leave screen and then quits. Before, it froze for a while and Roblox was ended mid-close
Controllers:
- A DualSense or DualShock controller no longer registers every press twice, which could make menus close as soon as they opened. Xbox and Switch controllers now identify themselves the way a Mac reports them too
Stability:
- Roblox could freeze when leaving a game and then be closed by its hang detector. The audio code no longer deadlocks when sound stops
- A memory leak on Roblox's web-request thread is gone: every request used to leave its cookies and addresses behind
Graphics:
- A game's clouds could fail to draw because one of their shaders didn't load. All of Roblox's shaders now load
- Textures sampled at their edges or without mipmaps now read as on a Mac, and Rosemary asks the graphics driver which texture formats it supports instead of assuming
- The VSync checkbox is now a Presentation setting with four choices:
- VSync: every frame waits for the display's refresh
- Adaptive VSync: waits, unless a frame is already late; then it tears instead of halving the frame rate
- No VSync, no tearing: uncapped, and the newest frame is shown at each refresh (the same as No VSync on OpenGL)
- No VSync: uncapped, frames shown at once, the lowest latency
- Your old VSync choice carries over
Web pages inside Roblox:
- Roblox's sign-in pages and Studio's web pages are now drawn inside the Roblox window
Studio:
- A new Studio tab in Settings:
- Studio FastFlags: a FastFlags editor of its own, separate from the Player's. Studio takes flags the Player's allowlist would ignore
- Open the Plugins folder and Open Documents: Studio's folders inside the environment Roblox runs in
- Discord Rich Presence for Studio: "Developing" with the place's name, "Editing a script" while a script is open, and "Idling" on the start page.
- Ctrl now acts as Command in every Studio shortcut, as on Windows: Ctrl+S saves, Ctrl+1 to 4 pick tools, and Ctrl-click adds to a selection. Super takes Control's place
- Opening a
.rbxlor.rbxlxfile now starts a single Studio instance instead of two. - The "Save changes?" window when closing Studio could open with no height and only fixed itself when resized. It now opens at its full size
Performance:
- Roblox's main thread gets a higher priority through RealtimeKit, so the rest of the system gets in its way less
- Roblox's memory is moved onto huge pages in the background, which cuts the time the CPU spends looking up memory
- On AMD CPUs with 3D V-Cache (X3D), Roblox runs on the cores with the large cache, which games run faster on even at their lower clock
- GameMode is now required by every package, and the Flatpak reaches it through the desktop portal
Settings and tray:
- The macOS title bar without the menu bar is now the default title bar
- Launch options and environment variables moved to General
- Create shortcut now works in the Flatpak, through the desktop portal
- The tray menu's entries have icons
Launching:
- If your system has no graphics card Roblox can use, Stud now says so before launching
- If your account isn't allowed to open the graphics card, as on some Chromebooks, Stud names the group to join (usually
render) and the command that adds you to it - On Chromebooks and virtual machines using virtio-gpu (Venus), Roblox could crash on launch when the GPU refused a large block of memory. It now falls back to smaller blocks
Discord Rich Presence:
- Leaving a game is caught again, so the status goes back to the app as soon as you leave
Smaller fixes:
- Shortcuts to Stud work when it lives in a folder whose name has spaces or quotes, such as on an external drive
- Settings opened from the welcome page no longer closes along with it
- Exported logs keep files with long names instead of dropping them
- A failed or stalled update download no longer leaves a broken AppImage behind
- Stud honours
XDG_CONFIG_HOMEand the other XDG folders as the spec defines them - The GPU list in Settings and the one Roblox is started with are now the same list
Packages:
- Fixed: the cpak package could be built from the wrong launcher and fail to start (#34)
- Building Stud now needs OpenSSL's development files (
openssl-devel/libssl-dev)
Known bugs:
- Stud 2.0 is new from the ground up: expect things that 1.x did that 2.0 doesn't yet, and the other way round
- Upscaling is Vulkan only, for now.
Warning
Stud is still a work in progress: it boots, logs in, renders the real app and joins real games, and it also breaks in ways nobody has measured yet. A log from a machine that isn't ours is the most useful thing you can send (Settings > Debug > Export logs puts everything in one file)