You are not logged in.
Hello everyone,
I have a 27" dell gsync monitor and a GTX1070.
Since I installed the nvidia drivers with pacman my computer is freezing 1sec every 3 secs. (lib32-nvidia-utils, nvidia-utils, nvidia-dkms etc.)
I saw people with a similar issue, they resolved it by using a HDMI cable. I tryed and it worked. However I would like to fix it correctly and keep using my display port cable.
Thanks again
Last edited by Izlude (2022-02-26 08:57:14)
Offline
Your PC, the GPU, the display server or the compositor?
Do you use a compositor? (Desktop environment?)
Does it happen w/ eg. an openbox session?
Is the console (ctrl+alt+F1) affected?
What's the output of "xrandr -q" on DP ./. HDMI?
Online
What versions of the nvidia drivers are you using? The issue of a HDMI cable working and a DP cable not working sounds like something that was fixed upstream some time ago.
Offline
Hello Seth,
Thank you for you anwser. I use XFCE4
When I am on the console, I think the issue is not present. I can type and I see the result instantly. On the desktop, there is an horrible delay.
Here is the output on DP
$ xrandr -q
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95*+ 143.96 120.00 99.95 84.98 23.97
1024x768 60.00
800x600 60.32
640x480 59.94
DP-5 disconnected (normal left inverted right x axis y axis)Also x11 conf may help :
/etc/X11/xorg.conf :
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 510.54
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
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 "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection Last edited by Izlude (2022-02-24 08:17:35)
Offline
here is the output on HDMI
$ xrandr -q
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95*+
1920x1080 59.94 50.00
1280x720 59.94 50.00
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 59.94
640x480 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)I am on the lastest driver 510.54
Last edited by Izlude (2022-02-24 08:18:00)
Offline
I have disable G-sync in nvidia-settings, and it seems way better. I there a way to check the display rate ?
Offline
Please edit your posts and wrap the shell outputs and file contents in code tags, https://bbs.archlinux.org/help.php#bbcode - thanks.
The /etc/X11/xorg.conf output is pointless and adds some cruft (the referenced kbd and mouse drivers don't exist since a decade) - please remove the file (though it's not the cause of your problems)
Do you have the issue w/ gsync enabled, but the xfwm4 compositor disabled?
https://wiki.archlinux.org/title/Xfwm#Composite_manager
Edit: you can check the used refresh rate w/ "xrandr -q", the asterisk "*" marks the active modeline.
You can also try to raise it to 144Hz (instead of gsync)
Last edited by seth (2022-02-24 07:55:39)
Online
Thank you for the info.
I should delete the entire xorg.conf ? Or only the input device ?
I will try with gsync, and without the compositor when I am back from work.
This is what I had in mind, but how to raise the refresh rate to 144Hz ? I just type the following ?
cvt 2560 1440 144 Offline
xrandr --output DP-4 --rate 144 and the entire file - what's not cruft in there is pointless.
The canonical approach is to rely on the autodetection and augment it w/ specific configlets where deemed necessary.
Online
First I started the computer and I realised the screen was freezeing again as it was.
I opened nvidia-settings to check if gsync was disabled. It was. But as soon as I opened nvidia-settings the problem stopped.
I deleted the xorg.conf as advised.
I tried to increase the refresh rate, but when I checked xrandr -q the refresh rate is still 60 fps
xrandr --output DP-4 --rate 144I did multiple restart to confirm the behavior. Gsync on or off, the screen is freezing until I open nvidia-settings, the refresh rate is 60 fps.
I did also some test with the compositor as you suggested. When I enable it, then close the settings manager, and open the manager again. The compositor is disabled.
Offline
But as soon as I opened nvidia-settings the problem stopped.
It temporarily moves the GPU into performance mode - you could enforce that but it's heating it up and draws more energy.
I tried to increase the refresh rate
Please post the output of "xrandr -q" before and after as well as the output you get for "xrandr --output DP-4 --rate 144"
I did also some test with the compositor as you suggested. When I enable it, then close the settings manager, and open the manager again. The compositor is disabled.
I have some trouble parsing that, but the xfwm4 compositor is enabled by default.
What's the output of "xfconf-query -c xfwm4 -p /general/use_compositing"?
Online
before :
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95*+ 143.96 120.00 99.95 84.98 23.97
1024x768 60.00
800x600 60.32
640x480 59.94
DP-5 disconnected (normal left inverted right x axis y axis)and after xrandr --output DP-4 --rate 144
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95*+ 143.96 120.00 99.95 84.98 23.97
1024x768 60.00
800x600 60.32
640x480 59.94
DP-5 disconnected (normal left inverted right x axis y axis)Nothing changed. I also tried 120 and 25 fps, no change.
# xfconf-query -c xfwm4 -p /general/use_compositing
Failed to init libxfconf: The connection is closed.I checked, xfconf is installed
When I close nvidia-settings, the problem do not come back. Is it possible nvidia-settings launch a service that fail to autostart with the session ? I tryed ot add nvidia module to mkinitcpio. no change
Last edited by Izlude (2022-02-25 07:29:12)
Offline
# xfconf-query -c xfwm4 -p /general/use_compositing
Failed to init libxfconf: The connection is closed.
Broken session? Not xfce?
loginctl session-statusCan you
xrandr --output DP-4 --rate 85?
Online
1 - archie (1000)
Since: Fri 2022-02-25 19:09:34 CET; 1min 14s ago
Leader: 546 (lightdm)
Seat: seat0; vc7
Display: :0
Service: lightdm-autologin; type x11; class user
Desktop: xfce
State: active
Unit: session-1.scope
546 lightdm --session-child 14 17
558 xfce4-session
616 xfwm4
622 xfsettingsd
632 xfce4-panel
636 Thunar --daemon
641 xfdesktop
644 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
648 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
650 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
652 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
654 /usr/lib/polkit-gnome/polkit-gnome-authentication-agen>
655 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
658 xfce4-power-manager
lines 1-23[root@arch-pc archie]# xrandr --output DP-4 --rate 85
[root@arch-pc archie]# xrandr -q
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95*+ 143.96 120.00 99.95 84.98 23.97
1024x768 60.00
800x600 60.32
640x480 59.94
DP-5 disconnected (normal left inverted right x axis y axis)maybe I screwed up when I added
exec startxfce4 to ~/.xinitrc
then I installed lightdm
Offline
There's an active login and xfce4 session, can you change the compositor settings w/ xfce4-settings-editor?
Reg. your edit in #12, do you change any settings in nvidia-settings?
It will poll the outputs but I can't imagine how it would magically fix some (presumingly) gsync issues.
Online
I removed exec startxfce4 from xinitrc and it removed the freeze. The computer is usable again.
I can enable and disable compositor in the xfce4 settings !
THank you so much for you help.
One last thing, can you help me to change the refresh rate ? I am stuck at 60Hz
Last edited by Izlude (2022-02-25 20:52:01)
Offline
I removed exec startxfce4 from xinitrc and it removed the freeze. The computer is usable again.
That's weird but sounds as if lightdm tries to run xinitrc next to the session or your session tries to launch that in addition.
But know when I try to run xfce setting i have the following
Doesn't look much different from the xconf problem in #12
Please post the complete "loginctl session-status", try "loginctl session-status | curl -F 'f:1=<-' ix.io"
Online
I edited, I had weird output on the xfce settings because I was in a root term.
loginctl session-status
1 - archie (1000)
Since: Fri 2022-02-25 22:41:26 CET; 12min ago
Leader: 537 (lightdm)
Seat: seat0; vc7
Display: :0
Service: lightdm-autologin; type x11; class user
Desktop: xfce
State: active
Unit: session-1.scope
├─ 537 lightdm --session-child 14 17
├─ 549 xfce4-session
├─ 607 xfwm4
├─ 613 xfsettingsd
├─ 623 xfce4-panel
├─ 627 Thunar --daemon
├─ 632 xfdesktop
├─ 635 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 641 /usr/lib/polkit-gnome/polkit-gnome-authentication-agen>
├─ 645 xfce4-power-manager
├─ 646 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 647 /usr/lib/xfce4/notifyd/xfce4-notifyd
├─ 648 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 651 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 653 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 682 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 790 /usr/lib/firefox/firefox
├─ 868 /usr/bin/xfce4-terminal
├─ 874 /usr/lib/firefox/firefox -contentproc -parentBuildID 2>
├─ 908 bash
├─ 928 /usr/lib/firefox/firefox -contentproc -childID 1 -isFo>
├─ 993 /usr/lib/firefox/firefox -contentproc -childID 3 -isFo>
├─1067 /usr/lib/firefox/firefox -contentproc -childID 4 -isFo>
├─1070 /usr/lib/firefox/firefox -contentproc -childID 5 -isFo>
├─1171 /usr/lib/firefox/firefox -contentproc -parentBuildID 2>
├─1180 /usr/lib/firefox/firefox -contentproc -childID 7 -isFo>
├─1279 /usr/lib/firefox/firefox -contentproc -childID 9 -isFo>
├─1445 /usr/lib/firefox/firefox -contentproc -childID 11 -isF>
├─1518 /usr/lib/firefox/firefox -contentproc -childID 13 -isF>
├─1522 /usr/lib/firefox/firefox -contentproc -childID 14 -isF>
├─1587 /usr/lib/firefox/firefox -contentproc -childID 15 -isF>
├─1591 /usr/lib/firefox/firefox -contentproc -childID 16 -isF>
├─1670 /usr/lib/firefox/firefox -contentproc -childID 17 -isF>
├─1783 loginctl session-status
└─1784 less
Feb 25 22:41:26 arch-pc systemd[1]: Started Session 1 of User archie.
Feb 25 22:41:37 arch-pc su[1111]: (to root) archie on pts/0
Feb 25 22:41:37 arch-pc su[1111]: pam_unix(su:session): session opened for user>
Feb 25 22:47:19 arch-pc su[1111]: pam_unix(su:session): session closed for uLast edited by Izlude (2022-02-25 20:54:37)
Offline
Yesterday I did to many test. I thought is was working, but this morning with the compositor enable it was freezing again.
It is down to the compositor, you were right from the beginning. When the compositor is off. It seems to be fast. When it is on, it freezes.
One last thing, Is there another way to increase the refresh rate ?
xrandr -q
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95*+ 143.96 120.00 99.95 84.98 23.97
1024x768 60.00
800x600 60.32
640x480 59.94
DP-5 disconnected (normal left inverted right x axis y axis)
[archie@arch-pc ~]$ xrandr --output DP-4 --rate 144
[archie@arch-pc ~]$ xrandr -q
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95*+ 143.96 120.00 99.95 84.98 23.97
1024x768 60.00
800x600 60.32
640x480 59.94
DP-5 disconnected (normal left inverted right x axis y axis)Last edited by Izlude (2022-02-26 08:45:25)
Offline
I found my answer. I am changing the status to resolved
xfce4-settings-manager
Press the Enter key to launch the program. When the app is open and ready to use, scroll down to the “Hardware” section of the settings window. Then, select the “Display” button to open up the XFCE Display settings.
Inside of the XFCE Display settings, find the drop-down menu and click on it with the mouse. Then, change the refresh rate to the correct rate for your monitor.
xrandr -q
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95 + 143.96* 120.00 99.95 84.98 23.97
1024x768 60.00
800x600 60.32
640x480 59.94
DP-5 disconnected (normal left inverted right x axis y axis)Thanks again Seth
Last edited by Izlude (2022-02-26 08:57:59)
Offline