Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X.org + g-sync at 100hz? [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 966

PostPosted: Tue Mar 22, 2016 8:07 pm    Post subject: X.org + g-sync at 100hz? [SOLVED] Reply with quote

Can someone explain me how the hell i can use nvidia g-sync at 100hz on linux?

i tried xorg modlines but they didnt work, my desktop is still running at 60hz!
_________________
Intel Core i7 6700K@4.6GHz, Gigabyte GTX 980 Ti G1, Gigabyte Gaming 7, Hyper X Fury 32GB, 2 TB Samsung EVO 840 Basic
ASUS ROG Swift PG348Q Display
ASUS ROG ASUS G771JW Notebook


Last edited by root_tux_linux on Sun Mar 27, 2016 12:02 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Tue Mar 22, 2016 8:33 pm    Post subject: Reply with quote

root_tux_linux,

What is the vertical refresh rate range supported by your display?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 966

PostPosted: Wed Mar 23, 2016 12:14 pm    Post subject: Reply with quote

NeddySeagoon wrote:
root_tux_linux,

What is the vertical refresh rate range supported by your display?


ASUS HP say's

Quote:
2) Signal Frequency
DisplayPort: 73~88kHz(H)/30~100Hz(V)


https://www.asus.com/ROG-Republic-Of-Gamers/ROG-SWIFT-PG348Q/specifications/

my xorg config:

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "ASUS"
    ModelName      "PG348Q"
    HorizSync       73-88
    VertRefresh     30-100
    # 3440x1440 99.99 Hz (CVT) hsync: 152.68 kHz; pclk: 728.00 MHz
    Modeline "3440x1440_100.00"  728.00  3440 3728 4104 4768  1440 1443 1453 1527 -hsync +vsync
    Option         "DPMS"
    Option         "IgnoreEDID" "1"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "Gigabyte G1 GTX 980 ti"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "3440x1440@100"
    EndSubSection
EndSection

_________________
Intel Core i7 6700K@4.6GHz, Gigabyte GTX 980 Ti G1, Gigabyte Gaming 7, Hyper X Fury 32GB, 2 TB Samsung EVO 840 Basic
ASUS ROG Swift PG348Q Display
ASUS ROG ASUS G771JW Notebook
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Mar 23, 2016 4:49 pm    Post subject: Reply with quote

Maybe it'd work if the names in your Modeline and Modes matched...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Wed Mar 23, 2016 8:42 pm    Post subject: Reply with quote

Ant P.

That, and nVidia will ignore modelines unless you invoke the emergency manual override.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 966

PostPosted: Wed Mar 23, 2016 10:33 pm    Post subject: Reply with quote

Ok, fixed.. But still 60Hz and not 100Hz.



Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
#    VendorName     "Razer"
#    ModelName      "Mamba Tournament Edition"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
#    VendorName     "Razer"   
#    ModelName      "Blackwidow 2015"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "ASUS"
    ModelName      "PG348Q"
    HorizSync       73-88
    VertRefresh     30-100
    # 3440x1440 99.99 Hz (CVT) hsync: 152.68 kHz; pclk: 728.00 MHz
    Modeline "3440x1440@100"  728.00  3440 3728 4104 4768  1440 1443 1453 1527 -hsync +vsync
    Option         "DPMS"
    Option         "IgnoreEDID" "1"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
#   VendorName     "Gigabyte"
#   ModelName      "GTX 980 Ti G1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "3440x1440@100"
    EndSubSection
EndSection


Code:
239.719] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): connected
[   239.719] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): Internal DisplayPort
[   239.719] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): 960.0 MHz maximum pixel clock
[   239.719] (--) NVIDIA(GPU-0):
[   240.244] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   240.244] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   240.244] (--) NVIDIA(GPU-0):
[   240.246] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   240.246] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   240.246] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   240.246] (--) NVIDIA(GPU-0):
[   240.246] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   240.246] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   240.246] (--) NVIDIA(GPU-0): DFP-1: 330.0 MHz maximum pixel clock
[   240.246] (--) NVIDIA(GPU-0):
[   240.247] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): connected
[   240.247] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): Internal DisplayPort
[   240.247] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): 960.0 MHz maximum pixel clock
[   240.247] (--) NVIDIA(GPU-0):
[   240.247] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   240.247] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   240.247] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock
[   240.247] (--) NVIDIA(GPU-0):
[   240.247] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   240.247] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   240.247] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[   240.247] (--) NVIDIA(GPU-0):
[   240.247] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   240.247] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[   240.247] (--) NVIDIA(GPU-0): DFP-5: 330.0 MHz maximum pixel clock
[   240.247] (--) NVIDIA(GPU-0):
[   240.247] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   240.247] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[   240.247] (--) NVIDIA(GPU-0): DFP-6: 960.0 MHz maximum pixel clock
[   240.247] (--) NVIDIA(GPU-0):
[   240.247] (--) NVIDIA(GPU-0): DFP-7: disconnected
[   240.247] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[   240.247] (--) NVIDIA(GPU-0): DFP-7: 330.0 MHz maximum pixel clock
[   240.247] (--) NVIDIA(GPU-0):
[   240.836] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   240.836] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   240.836] (--) NVIDIA(GPU-0):
[   240.840] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   240.840] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   240.840] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   240.840] (--) NVIDIA(GPU-0):
[   240.840] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   240.841] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   240.841] (--) NVIDIA(GPU-0): DFP-1: 330.0 MHz maximum pixel clock
[   240.841] (--) NVIDIA(GPU-0):
[   240.842] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): connected
[   240.842] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): Internal DisplayPort
[   240.842] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): 960.0 MHz maximum pixel clock
[   240.842] (--) NVIDIA(GPU-0):
[   240.843] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   240.843] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   240.843] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock
[   240.843] (--) NVIDIA(GPU-0):
[   240.843] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   240.843] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   240.843] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[   240.844] (--) NVIDIA(GPU-0):
[   240.844] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   240.844] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[   240.844] (--) NVIDIA(GPU-0): DFP-5: 330.0 MHz maximum pixel clock
[   240.844] (--) NVIDIA(GPU-0):
[   240.844] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   240.845] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[   240.845] (--) NVIDIA(GPU-0): DFP-6: 960.0 MHz maximum pixel clock
[   240.845] (--) NVIDIA(GPU-0):
[   240.845] (--) NVIDIA(GPU-0): DFP-7: disconnected
[   240.845] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[   240.845] (--) NVIDIA(GPU-0): DFP-7: 330.0 MHz maximum pixel clock
[   240.845] (--) NVIDIA(GPU-0):
[   244.627] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   244.628] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   244.628] (--) NVIDIA(GPU-0):
[   244.630] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   244.630] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   244.630] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   244.630] (--) NVIDIA(GPU-0):
[   244.630] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   244.630] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   244.630] (--) NVIDIA(GPU-0): DFP-1: 330.0 MHz maximum pixel clock
[   244.630] (--) NVIDIA(GPU-0):
[   244.630] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): connected
[   244.630] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): Internal DisplayPort
[   244.630] (--) NVIDIA(GPU-0): Ancor Communications Inc ROG PG348Q (DFP-2): 960.0 MHz maximum pixel clock
[   244.630] (--) NVIDIA(GPU-0):
[   244.631] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   244.631] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   244.631] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock
[   244.631] (--) NVIDIA(GPU-0):
[   244.631] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   244.631] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   244.631] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[   244.631] (--) NVIDIA(GPU-0):
[   244.631] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   244.631] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[   244.631] (--) NVIDIA(GPU-0): DFP-5: 330.0 MHz maximum pixel clock
[   244.631] (--) NVIDIA(GPU-0):
[   244.631] (--) NVIDIA(GPU-0): DFP-6: disconnected
[   244.631] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[   244.631] (--) NVIDIA(GPU-0): DFP-6: 960.0 MHz maximum pixel clock
[   244.631] (--) NVIDIA(GPU-0):
[   244.631] (--) NVIDIA(GPU-0): DFP-7: disconnected
[   244.631] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[   244.631] (--) NVIDIA(GPU-0): DFP-7: 330.0 MHz maximum pixel clock
[   244.631] (--) NVIDIA(GPU-0):

_________________
Intel Core i7 6700K@4.6GHz, Gigabyte GTX 980 Ti G1, Gigabyte Gaming 7, Hyper X Fury 32GB, 2 TB Samsung EVO 840 Basic
ASUS ROG Swift PG348Q Display
ASUS ROG ASUS G771JW Notebook
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Mar 24, 2016 6:01 pm    Post subject: Reply with quote

That truncated log tells us your graphics card can theoretically output that resolution and that the monitor's plugged into the correct port. So we can rule those out...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Thu Mar 24, 2016 9:42 pm    Post subject: Reply with quote

root_tux_linux,

Put the entire Xorg.0.log onto a pastebin site please.

I'm not quite sure what I'm looking for but I'll know it when I see it.
Its not in your log fragment anyway.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 966

PostPosted: Fri Mar 25, 2016 10:32 pm    Post subject: Reply with quote

NeddySeagoon wrote:
root_tux_linux,

Put the entire Xorg.0.log onto a pastebin site please.

I'm not quite sure what I'm looking for but I'll know it when I see it.
Its not in your log fragment anyway.


Hi, here is the full Xorg Log.

http://pastebin.com/JrH7iDa2


Ty, for your help
_________________
Intel Core i7 6700K@4.6GHz, Gigabyte GTX 980 Ti G1, Gigabyte Gaming 7, Hyper X Fury 32GB, 2 TB Samsung EVO 840 Basic
ASUS ROG Swift PG348Q Display
ASUS ROG ASUS G771JW Notebook
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Fri Mar 25, 2016 10:45 pm    Post subject: Reply with quote

root_tux_linux,

Code:
[    10.619] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    10.619] (**) NVIDIA(0):     device Ancor Communications Inc ROG PG348Q (DFP-2) (Using
[    10.619] (**) NVIDIA(0):     EDID frequencies has been enabled on all display
[    10.619] (**) NVIDIA(0):     devices.)
[    10.620] (WW) NVIDIA(0): No valid modes for "DFP-2:3440x1440_100.00"; removing.


That fragment says that its still using the EDID data and that the driver cannot validate your modeline, so its not using it.

Doesn't
Code:
Option         "IgnoreEDID" "1"
go in the Section "Device" ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Mar 25, 2016 10:48 pm    Post subject: Reply with quote

It may be easier to solve this if you can reproduce this on Gentoo first, or at least an unmangled xorg-server and kernel.
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 966

PostPosted: Sat Mar 26, 2016 10:15 pm    Post subject: Reply with quote

OK!

if is use "UseEDID" "false" it works but! I get "out of range" error from my Display!
_________________
Intel Core i7 6700K@4.6GHz, Gigabyte GTX 980 Ti G1, Gigabyte Gaming 7, Hyper X Fury 32GB, 2 TB Samsung EVO 840 Basic
ASUS ROG Swift PG348Q Display
ASUS ROG ASUS G771JW Notebook
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sat Mar 26, 2016 11:13 pm    Post subject: Reply with quote

root_tux_linux,

Option "UseEDID" "false" is the manual override you need.

If your display gives out of range, your mode line is setting up a mode it cannot sync to.
I didn't check it by hand. How did you make it.?

-- edit --

The comment above the modeline is correct.

-- Edit some more --
The Asus site says
Digital Signal Frequency : Display port 73~88kHz (H) / 30~100Hz (V)
So yoh are well out of range of 73~88kHz (H)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 966

PostPosted: Sun Mar 27, 2016 12:02 am    Post subject: Reply with quote

SOLVED!

It's a gnome bug!
gnome sets the refresh rate always back to 60hz even if your config is working!

https://bugzilla.gnome.org/show_bug.cgi?id=655041

Ty, for your help!


changing refresh rate ---> nvidia-settings ---> select resolution ---> select refresh rate ---> merge xorg.conf
After each reboot you can execute ---> nvidia-settings --assign=CurrentMetaMode="3440x1440_100", if you use gnome!


Code:
 xrandr --current
Screen 0: minimum 8 x 8, current 3440 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3440x1440+0+0 (normal left inverted right x axis y axis) 798mm x 335mm
   3440x1440     59.97 + 100.00*   94.99    89.96    84.96    79.98    49.99 
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)

_________________
Intel Core i7 6700K@4.6GHz, Gigabyte GTX 980 Ti G1, Gigabyte Gaming 7, Hyper X Fury 32GB, 2 TB Samsung EVO 840 Basic
ASUS ROG Swift PG348Q Display
ASUS ROG ASUS G771JW Notebook
Back to top
View user's profile Send private message
Cybolic
n00b
n00b


Joined: 13 Jan 2017
Posts: 1

PostPosted: Fri Jan 13, 2017 2:41 am    Post subject: Reply with quote

root_tux_linux wrote:
SOLVED!

Hey root_tux_linux, any chance you could share your final xorg.conf? I just bought the same monitor and keep getting an "out of range" error from the monitor when I try the one you posted above (with the added "UseEDID" = "false" option).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum