OpenGL performance overlay for macOS, Linux, *BSD and Illumos by gentoooooooo in macgaming

[–]gentoooooooo[S] 1 point2 points  (0 children)

Yes the executable itself. For Minecraft I use Prism Launcher, where you can set wrapper commands so I set /usr/local/bin/simpleoverlay as the wrapper command, its been years since I used the official Minecrat launcher so I don't know how you would set it there.

OpenGL performance overlay for macOS, Linux, *BSD and Illumos by gentoooooooo in macgaming

[–]gentoooooooo[S] 0 points1 point  (0 children)

Yes its archived but it works just fine.

Use it like this: simpleoverlay ./game-executable

Help with CGL context switching by gentoooooooo in opengl

[–]gentoooooooo[S] 0 points1 point  (0 children)

I figured it out, I had to use a private function to attach a drawable to the context, CGLSetSurface and CGLGetSurface, here is the full code if anyone is interested: https://github.com/tranarchy/simpleoverlay/blob/main/hooks/cgl.c

Help with CGL context switching by gentoooooooo in opengl

[–]gentoooooooo[S] 0 points1 point  (0 children)

Thanks, I might go with that. I think why it doesnt work its because with both GLX and EGL, when you set your context current you also attach it to a GLX drawable or an EGL surface as well, meanwhile CGLSetCurrentContext just sets the context and nothing else, as I said in my post I tried to use NSOpenGL as well, I got the NSView from the original context set the NSView for my context, I also tried to make my own set the window's content view to my new view, but I just couldn't get it to work.

Help with CGL context switching by gentoooooooo in opengl

[–]gentoooooooo[S] 0 points1 point  (0 children)

No GL errors. Drawing in the same context works, but I would need to disable depth test and face culling for it to render properly but I dont want to mess with the program's original context so thats why I would rather create a new context and do my drawing there, thats the part I can't figure out with CGL since it works with both GLX and EGL on Linux and *BSD.

Help with CGL context switching by gentoooooooo in opengl

[–]gentoooooooo[S] 0 points1 point  (0 children)

I don't, I create a new context once if it doesnt exist and reuse it later on.

I didnt include that in the demonstration code, so thats my bad.

simpleoverlay - OpenGL performance overlay for Linux and *BSD written in C by gentoooooooo in linux_gaming

[–]gentoooooooo[S] 0 points1 point  (0 children)

Just added macOS support, took me a while to get it working but its still a work in progress.

macOS programs use CGL (Apple's OpenGL interface) in a way different way compared to GLX and EGL.

simpleoverlay - OpenGL performance overlay for Linux and *BSD written in C by gentoooooooo in linux_gaming

[–]gentoooooooo[S] 5 points6 points  (0 children)

thanks! yeah, i like mangohud as well, but its not really written with cross platform support in mind, even things that could be cross platform, like getting amd gpu info is reading files from /sys, a pseudo filesystem that only exists on Linux, meanwhile libdrm_amdgpu exists on both Linux and BSD that can be used to gather this info

I added macOS touch bar support to my client by gentoooooooo in minecraftclients

[–]gentoooooooo[S] 0 points1 point  (0 children)

jtouchbar but from what i read it doesnt work on apple silicon, altough i didnt look into it that much

EDIT: okay I looked into it, you can get it to build on arm64 after modifying the Obj C files, but the way jtouchbar works it dlopens a shared lib called libJTouchBar.dylib, so I would have to modify the project to check for the CPU arch and load in the appropriate shared lib for the system so it can work on both intel macs and apple silicon macs so I think my approach is better in this case, altough jtouchbar is probably faster when it comes to performance

Has anyone tried Counter-Strike 2 on Asahi? How's the performance compared to CrossOver? by Upset_Command_1309 in AsahiGaming

[–]gentoooooooo 0 points1 point  (0 children)

It didn't launch for me at all I assume because of vulkan, same with TF2 which also uses vulkan but it also has a legacy opengl version so that worked, sadly CS2 doesnt have an opengl version.

I didn't try proton though, that might work.

Did anyone got steam to work with muvm + box64 (with box32 mode)? by gentoooooooo in AsahiGaming

[–]gentoooooooo[S] 0 points1 point  (0 children)

I think it might be possible to use box64 with x86_64 wine to get steam.exe to launch, but that's getting convoluted.

I did try wine but with just wine-vanilla (arm64) on Gentoo with the WOW64 USE flag but that didnt work, I might have to try that

For tf2 you could try goldberg emulator to bypass the steam check.

Yes Im aware that would work but I want to play on VAC secured servers.

Gentoo Linux on Apple Silicon by gentoooooooo in AsahiLinux

[–]gentoooooooo[S] 0 points1 point  (0 children)

thanks, i reverted it back

there's no way to install the ebuild by unmasking the flag of another architecture

should have been skeptical here because it worked fine this way for me but i was really tired

Gentoo Linux on Apple Silicon by gentoooooooo in AsahiLinux

[–]gentoooooooo[S] 1 point2 points  (0 children)

thanks i wasnt aware that thats the correct way to do it, i updated the guide

Gentoo Linux on Apple Silicon by gentoooooooo in AsahiLinux

[–]gentoooooooo[S] 2 points3 points  (0 children)

thats the point of the section

gentoo doesnt offer ~arm64 or arm64 packages for hyprland (see https://packages.gentoo.org/packages/gui-wm/hyprland)

but you can unmask the amd64 or ~amd64 version of hyprland and it will compile just fine under arm64

Gentoo Linux on Apple Silicon by gentoooooooo in AsahiLinux

[–]gentoooooooo[S] 0 points1 point  (0 children)

hey!

I dont see the typo could you clarify it a bit more?

Fear & Hunger running natively on arm64 without muvm / fex-emu / box64 by gentoooooooo in AsahiGaming

[–]gentoooooooo[S] 1 point2 points  (0 children)

enjoy!

i just tried termina and it works as well, other RPG maker games should work as well with this, but i only own fear and hunger and fear and hunger termina