MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
and so upon researching it i found two revelant web pages
https://wiki.archlinux.org/title/intel_graphics#Enable_performance_support
https://www.reddit.com/r/Fedora/comments/v315xn/why_do_i_see_mesaintel_warning_performance/
i'm using mate with dinit and of course there is no such file as /etc/sysctl.conf. i couldn't find a sysctl.conf anywhere on my system
how might i employ the above solution from the two web pages to my init system?
can i merely create the /etc/sysctl.conf file? OR do i create it in the /etc/sysctl.d directory?
Is
dev.i915.perf_stream_paranoid=0
the only thing i need in sysctl.conf file?
after creating /etc/sysctl.d/sysctl.conf file do i just reboot?
and after doing all that the error persists
but running
sudo sysctl dev.i915.perf_stream_paranoid=0
[sudo] password for catherdersoflinux:
dev.i915.perf_stream_paranoid = 0
before running steam seems to correct the problem. how to run that at boot with sudo seems like a possible solution...
I had the same problem on Arch.
I specifically tried setting it through sysctl.conf, didn't work, had to manually use sysctl command.
I think you can fix the issue by telling your init to run a script containing the sysctl command late in boot.
something like this?
Create a file: /etc/rc.local
File contents:
#!/bin/sh -e
sysctl dev.i915.perf_stream_paranoid=0
exit 0
Save the file and make it executable with this command:
sudo chmod +x /etc/rc.local
The commands in the file before exit 0 will be run as root at startup.
from this web page found on search
https://askubuntu.com/questions/956237/run-terminal-sudo-command-at-startup
/etc/rc.local existsin my system. edited it, added the 2 lines, and rebooted. voila! problem solved