You are not logged in.
Pages: 1
Hello everyone,
My monitor doesn't seem to be refreshing at 120hz, despite what my nvidia-settings and xrandr say. I'm using OpenBox with Compton, and while moving windows they're very clearly not 120hz. Videos and framerate tests are also 60hz in chromium. This is also a 120hz display on a laptop, I'm not sure if that makes a difference.
Xrandr output:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 120.11*+ 60.06
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)
xorg.conf
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AU Optronics Corporation"
HorizSync 137.2 - 137.2
VertRefresh 60.1 - 120.1
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1070"
EndSection
Section "Screen"
# Removed Option "metamodes" "1920x1080_120 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
# Removed Option "metamodes" "nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "1920x1080_120 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
Last edited by Psychosis (2018-02-25 19:44:58)
Offline
with Compton
If that's significant, try the --refresh-rate switch to compton; also check its config file.
Offline
If that's significant, try the --refresh-rate switch to compton; also check its config file.
The command returned nothing and had no effect, and changing the refresh rate in the config file didn't either.
Last edited by Psychosis (2018-02-25 19:43:27)
Offline
What command? Also why return? You want to check the impact on the refresh rate, don't you?
And does this imply that the issue is indeed caused by compton?
Offline
What command? Also why return? You want to check the impact on the refresh rate, don't you?
And does this imply that the issue is indeed caused by compton?
Sorry, my bad I should specify.
Starting compton with "compton --refresh-rate 120", I assumed that's what you meant by --refresh-rate switch. The command returned nothing, so I assumed it worked with no errors. The refresh rate didn't change, implying i believe it's not an issue with compton.
Also yes, I did want to check if this had an effect on the refresh rate.
Sorry if this made it more confusing, I don't have a great working knowledge of how this all works.
Last edited by Psychosis (2018-02-25 20:08:29)
Offline
If compton is already running this will at best cause an error about another compositor being running.
To check whether this is compton related, please just kill compton and watch the impact.
Also glxgears is (for once...) a usable benchmark here, because when run with vsync enabled, it'll print the actual refresh rate.
One thing that's suspicious is
Option "nvidiaXineramaInfoOrder" "DFP-1"
since you're on DP-0, try
__GL_SYNC_TO_VBLANK=1 __GL_SYNC_DISPLAY_DEVICE=DP-0 glxgears
Offline
Okay, glxgears runs at 120FPS with
__GL_SYNC_TO_VBLANK=1 __GL_SYNC_DISPLAY_DEVICE=DP-0 glxgears
The default glxgears command also seems to be running at 120hz, so I'm not sure what effect "thenvidiaXineramaInfoOrder" option has.
glxgears
I then killed compton, and it made no noticable difference with the framerate of 120hz videos. Moving windows around seems to stutter more, if that adds any information.
Last edited by Psychosis (2018-02-25 21:42:02)
Offline
Try the video in mplayer/mpv/vlc (first w/o compton, then w/)
Compositors work as backing store, ie. w/o one, everytime a window section is exposed, the client has to re-render that (part of the) window - depending on the content, this can be pretty slow.
Offline
Try the video in mplayer/mpv/vlc (first w/o compton, then w/)
Videos seem to play in 120fps in mpv, first w/o compton then w/. I did notice that chromium doesn't play 120fps w/ or w/o. I started chromium in a plain X server and there was no change.
Offline
seth wrote:Try the video in mplayer/mpv/vlc (first w/o compton, then w/)
Videos seem to play in 120fps in mpv, first w/o compton then w/. I did notice that chromium doesn't play 120fps w/ or w/o. I started chromium in a plain X server and there was no change.
I have never had Chromium run video at more than 60hz, and I don't think it can. It also hogs CPU, RAM, and does poorly with 4k. Firefox is a bit better, but not much. I always use VLC for any serious video sessions. Firefox will run video at 100hz, but I don't know about 120hz, as my monitor only supports 100hz or less.
Offline
Pages: 1