I am not sure if I do it correctly. the xrandr -q gives the same result:
$ cat ~/.xinitrc xrandr --setprovideroutputsource modesetting NVIDIA-0
$ startx metacity
$ xrandr -q Screen 0: minimum 8 x 8, current 640 x 480, maximum 8192 x 8192
$ xrandr --listproviders Providers: number : 2 Provider 0: id: 0x28b cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-0 Provider 1: id: 0x45 cap: 0x2, Sink Output crtcs: 2 outputs: 4 associated providers: 0 name:modesetting
I am not sure if I do it correctly. the xrandr -q gives the same result:
$ cat ~/.xinitrc tputsource modesetting NVIDIA-0
xrandr --setproviderou
$ startx metacity
$ xrandr -q
Screen 0: minimum 8 x 8, current 640 x 480, maximum 8192 x 8192
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x28b cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-0
Provider 1: id: 0x45 cap: 0x2, Sink Output crtcs: 2 outputs: 4 associated providers: 0 name:modesetting