NV-CONTROL X extension
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.4-1
- 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):
i3, awesome
- NVIDIA driver version (e.g. 415.27):
470.74-10
- CoolBits value (4, 8, 12, ..., don't know):
28
- GPU (e.g. Asus Strix OC 1080 Ti):
Gigabyte GTX 1650
Step 3: Describe the problem:
When I try to open GWE it says "NV-CONTROL extension not found"
Steps to reproduce:
- Install nvidia-beta and then remove it and reinstall nvidia again.
- Download gwe
- update drivers
- set coolbits to 28 via "nvidia-xconfig --cool-bits=28"
- reboot
- run gwe and fail
- try to find solution and mess with xorg.conf just to fail again
😔
Observed Results:
I have tried to install nvidia-beta because of wayland support but it wasn't working as expected so I reverted back to nvidia, when I tried to run gwe it suddenly doesn't work even tho it used to work before.
When I try to open gwe I run into this error:
ERROR: Error while checking NV-CONTROL extension
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/gwe/repository/nvidia_repository.py", line 65, in has_nv_control_extension
xlib_display = display.Display(self._ctrl_display)
File "/usr/lib/python3.9/site-packages/Xlib/display.py", line 89, in __init__
self.display = _BaseDisplay(display)
File "/usr/lib/python3.9/site-packages/Xlib/display.py", line 71, in __init__
protocol_display.Display.__init__(self, *args, **keys)
File "/usr/lib/python3.9/site-packages/Xlib/protocol/display.py", line 166, in __init__
raise error.DisplayConnectionError(self.display_name, r.reason)
Xlib.error.DisplayConnectionError: Can't connect to display ":0": b'Invalid MIT-MAGIC-COOKIE-1 key'
ERROR: NV-CONTROL missing!
I have the coolbits value set to 28, I have checked that there is no file inside /etc/xorg.conf.d/ that overrides the settings in xorg.conf which looks like this:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 470.74
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 470.74
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "ServerLayout"
Identifier "ServerLayout0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "ServerFlags"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "BlankTime" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AOC 24G1WG4"
HorizSync 160.0 - 160.0
VertRefresh 48.0 - 144.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GTX 1650"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Coolbits" "28"
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "1920x1080_144 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Expected Results:
Run without an error.
Screenshot of the issue
Edited by reggie