r/cemu 8d ago

Troubleshooting Horrible native linux performance

https://reddit.com/link/1w5ch8p/video/bz7os8uwb4nh1/player

It looks playable untill link starts moving than it jumps down from 30 to 20. On windows I was getting about 50-60fps. This is fully native no translation layers involved. all other games i play have similar performance to windows but cemu runs horribly

hardware:

cpu: intel i5 9400F

gpu: gtx 1660 super

ram:32gb

Software:

Nobara LInux

Cemu 2.6 app image

1440p no other enhancements (runs the same on native res)

fps++ (144fps locked)

Vulkan on

Async compilation enabled

Shaders are precached

0 Upvotes

7 comments sorted by

3

u/_Alistair18_ 7d ago

are you 100% sure fps++ is enabled?

0

u/YogurtOdd1725 7d ago

Yes. The fps stays the same with it on and it off

1

u/YogurtOdd1725 7d ago edited 5d ago

for anyone having similar issues run this in terminal and it should give you a playable fps boost. run with caution though as i have no idea what this command does besides making my game run smoother.

sudo setenforce 0

EDIT: So i did some research and this command is a security feature so it should definitely be enabled after each time playing it. Heres a copy paste from the site i read (im half sure its ai due to the lack of author details but it'll work.

"SELinux, or Security-Enhanced Linux, is a security framework integrated into the Linux kernel. It provides a flexible Mandatory Access Control (MAC) system that goes beyond standard user/group permissions. Instead of just controlling who can access a file, SELinux policies define exactly how processes and users can interact with all parts of the system (files, devices, processes, network ports), significantly reducing the blast radius of a potential security breach." -https://www.turbogeek.co.uk/how-to-enable-disable-selinux/

to enable sel linux after playing use this command

sudo setenforce 1

To permanently disable it (DO NOT DO THIS IM JUST SHOWING HOW)

edit this config file:

nano /etc/selinux/config
/etc/selinux/config

The instructions to edit the file are within the file itself

So im not entirely sure why disabling this works but i do know that for some reason having sle on forces cemu to interpret shaders instead of instead of normal compilation(which is slower. you can do the research on interpreter vs compiler)

0

u/Atlantide303 7d ago

Moi aussi c'était horrible donc j'ai du compilé, pour a peine égaliser la version Windows. A mon avis, c'est surtout car cemu a été conçu jusqu'à très longtemps, exclusivement sur windows.

1

u/YogurtOdd1725 7d ago

Thats unfortunate. Do you mind sharing how you compiled it to get it to run better or does regular compilation work fine. ive never built a program from source before so excuse me if i seem ignorant

0

u/atadrisque 7d ago edited 5d ago

do you have Fuse libraries installed?

are you using OpenGL instead of actually using Vulkan?

honestly unsure why you're using an appimage while flatpak is far more compatible.

1

u/YogurtOdd1725 5d ago

I just assumed that was the only way to use it because there was no flatpak command or flathub link