Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: After installing steam i ran it from a terminal and noticed this error (Read 679 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

After installing steam i ran it from a terminal and noticed this error

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
Code: [Select]
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?

Quote
i7-7700:[catherdersoflinux]:~/Desktop$ sudo sysctl -p /etc/sysctl.d/sysctl.conf
[sudo] password for catherdersoflinux:
dev.i915.perf_stream_paranoid = 0
i7-7700:[catherdersoflinux]:~/Desktop$

and after doing all that the error persists

but running
Code: [Select]
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...
Cat Herders of Linux

Re: After installing steam i ran it from a terminal and noticed this error

Reply #1
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.

Re: After installing steam i ran it from a terminal and noticed this error

Reply #2
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:
Code: [Select]
#!/bin/sh -e
sysctl dev.i915.perf_stream_paranoid=0
exit 0
Save the file and make it executable with this command:
Code: [Select]
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
Cat Herders of Linux

 

Re: After installing steam i ran it from a terminal and noticed this error

Reply #3
/etc/rc.local existsin my system.  edited it, added the 2 lines, and rebooted.  voila!  problem solved
Cat Herders of Linux