GWE Fan Control and Overclock Settings Don't Respect Rootless Xorg
Bug report
Step 1: Are you in the right place?
-
I have verified there are no duplicate active or recent bugs, questions, or requests -
I have verified that I am using the latest version of GreenWithEnvy (GWE)
Step 2: Describe your environment
- GWE version:
0.15.3
- Installed from source/Flatpak/AUR/other (specify):
AUR
- Distribution name and version (e.g. Ubuntu 18.10):
Arch Linux
- Desktop Environment (e.g. Gnome 3.30):
KDE Plasma
- NVIDIA driver version:
465.27
- CoolBits value:
31
- GPU (e.g. Asus Strix OC 1080 Ti):
EVGA RTX 2080 Ti Black Edition Gaming, 11G
Step 3: Describe the problem:
Steps to reproduce:
-
exec startx
when signed in as a non-root user via tty1; this requires that you configure/etc/X11/xinit/xinitrc
to run:
export DESKTOP_SESSION=plasma
exec startplasma-x11
and comment out the default statements after all of the "if" statements at the bottom of the file.
- enter the desktop environment
- Open GWE
- See that applying
anythingmost important settings doesn't work; it will also claim that applyingpower limits andfan profiles works but it doesn't actually do that despite telling the user these things, except for applying overclocks, which it will claim an error for.
Observed Results:
- GWE doesn't apply any user settings in a rootless Xorg environment
Expected Results:
- GWE should respect user configurations regardless of the type of Xorg environment used (Root Xorg and rootless Xorg); as Root Xorg is considered a security risk and has known exploits.
Console logs:
INFO: Exit code: 0. Power limit for GPU 00000000:2D:00.0 was set to 280.00 W from 280.00 W.
Warning: persistence mode is disabled on device 00000000:2D:00.0. See the Known Issues section of the nvidia-smi(1) man page for more information. Run with [--help | -h] switch to get more information on how to enable persistence mode.
All done.
Power limit for GPU 00000000:2D:00.0 was set to 280.00 W from 280.00 W.
Warning: persistence mode is disabled on device 00000000:2D:00.0. See the Known Issues section of the nvidia-smi(1) man page for more information. Run with [--help | -h] switch to get more information on how to enable persistence mode.
All done.
Screenshot of the issue
(Had to compress the video because the file size was too large) gwe-clip.tar.gz