You are not logged in.

#1 2015-12-07 02:19:11

nsfnd
Member
Registered: 2015-12-07
Posts: 5

FTLOG Help me stop gnome-shell calling xrandr/changing resolution/rate

Hi,
I've been searching and trying to fix this for a really long time now! Really frustrating! Please help me!

Monitor: Vestel TV 1920x1080 native resolution, capable of running at 60HZ refresh rate, plugged via HDMI.
GPU: Nvidia 780ti
Driver: NVIDIA-Linux-x86_64-358.16.run

Now without an xorg.conf file, resolution and refresh rate defaults to 1920x1080@30hz, but i want to run at 60hz.

So, i run nvidia-settings -> X Server Display Configuration -> Advanced -> set 1920x1080 and 60hz -> hit apply -> hit "Save to X Configuration File".

This is the line nvidia-settings put.

Option         "metamodes" "1920x1080_60 +0+0"

At this point when i start X, the resolution is 1920x1080 at 60hz which is cool and im happy, ty nvidia.

What i next do from tty is as follows

X :0 -ac & sleep 1 && DISPLAY=:0 xterm &

Here the log is saying; (i cropped the irrelevant parts)

[  2036.545] (--) NVIDIA(0): Vestel 40 FHD_LCD-TV (DFP-1): connected
[  2036.545] (--) NVIDIA(0): Vestel 40 FHD_LCD-TV (DFP-1): Internal TMDS
[  2036.545] (--) NVIDIA(0): Vestel 40 FHD_LCD-TV (DFP-1): 340.0 MHz maximum pixel clock
[  2036.545] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[  2036.546] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 780 Ti (GK110B) at PCI:1:0:0 (GPU-0)
[  2036.546] (--) NVIDIA(0): Memory: 3145728 kBytes
[  2036.546] (--) NVIDIA(0): VideoBIOS: 80.80.34.00.80
[  2036.546] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  2036.546] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  2036.546] (**) NVIDIA(0):     device Vestel 40 FHD_LCD-TV (DFP-1) (Using EDID
[  2036.546] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[  2036.547] (II) NVIDIA(0): Validated MetaModes:
[  2036.547] (II) NVIDIA(0):     "1920x1080_60+0+0"
[  2036.569] (II) NVIDIA(0): Setting mode "1920x1080_60+0+0"

There is no metion of HDMI even tho it is plugged to HDMI port!!! What the hell is DFP-1 ??

Now inside xterm window i run gnome-shell and my display resolution resets to 1920x1080 at 30hz, i am very sad at this point.

And the log says;

[  2053.672] (--) NVIDIA(GPU-0): CRT-0: disconnected
[  2053.672] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[  2053.672] (--) NVIDIA(GPU-0):
[  2053.675] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  2053.675] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[  2053.675] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[  2053.675] (--) NVIDIA(GPU-0):
[  2053.720] (--) NVIDIA(GPU-0): Vestel 40 FHD_LCD-TV (DFP-1): connected
[  2053.720] (--) NVIDIA(GPU-0): Vestel 40 FHD_LCD-TV (DFP-1): Internal TMDS
[  2053.720] (--) NVIDIA(GPU-0): Vestel 40 FHD_LCD-TV (DFP-1): 340.0 MHz maximum pixel clock
[  2053.720] (--) NVIDIA(GPU-0):
[  2053.720] (--) NVIDIA(GPU-0): DFP-2: disconnected
[  2053.720] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[  2053.720] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[  2053.720] (--) NVIDIA(GPU-0):
[  2053.720] (--) NVIDIA(GPU-0): DFP-3: disconnected
[  2053.720] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[  2053.720] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock
[  2053.720] (--) NVIDIA(GPU-0):
[  2053.720] (--) NVIDIA(GPU-0): DFP-4: disconnected
[  2053.720] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[  2053.720] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[  2053.720] (--) NVIDIA(GPU-0):
[  2053.794] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}" WTF!!!
[  2066.935] (--) NVIDIA(GPU-0): CRT-0: disconnected
[  2066.935] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[  2066.935] (--) NVIDIA(GPU-0):
[  2066.938] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  2066.938] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[  2066.938] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[  2066.938] (--) NVIDIA(GPU-0):
[  2066.968] (--) NVIDIA(GPU-0): Vestel 40 FHD_LCD-TV (DFP-1): connected
[  2066.968] (--) NVIDIA(GPU-0): Vestel 40 FHD_LCD-TV (DFP-1): Internal TMDS
[  2066.968] (--) NVIDIA(GPU-0): Vestel 40 FHD_LCD-TV (DFP-1): 340.0 MHz maximum pixel clock
[  2066.968] (--) NVIDIA(GPU-0):
[  2066.969] (--) NVIDIA(GPU-0): DFP-2: disconnected
[  2066.969] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[  2066.969] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[  2066.969] (--) NVIDIA(GPU-0):
[  2066.969] (--) NVIDIA(GPU-0): DFP-3: disconnected
[  2066.969] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[  2066.969] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock
[  2066.969] (--) NVIDIA(GPU-0):
[  2066.969] (--) NVIDIA(GPU-0): DFP-4: disconnected
[  2066.969] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[  2066.969] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[  2066.969] (--) NVIDIA(GPU-0):
[  2067.461] (--) NVIDIA(GPU-0): CRT-0: disconnected
[  2067.461] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[  2067.461] (--) NVIDIA(GPU-0):
[  2067.464] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  2067.464] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[  2067.464] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[  2067.464] (--) NVIDIA(GPU-0):
[  2067.492] (--) NVIDIA(GPU-0): Vestel 40 FHD_LCD-TV (DFP-1): connected
[  2067.492] (--) NVIDIA(GPU-0): Vestel 40 FHD_LCD-TV (DFP-1): Internal TMDS
[  2067.492] (--) NVIDIA(GPU-0): Vestel 40 FHD_LCD-TV (DFP-1): 340.0 MHz maximum pixel clock

Keep in mind that when i run gnome-shell from terminal, the gnome-settings-daemon is not called. So its not his fault.

I grew tired of trying xorg edits decided to ask you guys, any help is appreciated!

Thanks in advance!

Full logs;

After running X http://pastebin.com/AigRbZVX
After running gnome-shell http://pastebin.com/STQPY2Xa

PS: I can ofc run xrandr to set my desired resolution after gnome-shell starts but every resolution change takes about 3 seconds, so id like to fix the problem instead of working around it.

Last edited by nsfnd (2015-12-07 02:26:00)

Offline

Board footer

Powered by FluxBB