<SOLVED> (sort of) Nvidia two monitor setup.

Questions about hardware and drivers
Forum rules
Before you post please read how to get help
Post Reply
laoe1
Level 1
Level 1
Posts: 6
Joined: Sat Nov 19, 2011 2:34 pm

<SOLVED> (sort of) Nvidia two monitor setup.

Post by laoe1 » Fri Sep 14, 2018 8:10 am

Installed Nvidia drivers, seems to work ok.
Problem is that the "NVIDIA X Server Setting" sets my left monitor as "primary", but i need the right one.
Setting the right monitor as "primary" works ok, but after a reboot it's back to left.
The "Save to X Configuration File" does not work, and "sudo nvidia-xconfig" answers "command not found"
Any suggestions?
Last edited by laoe1 on Fri Sep 14, 2018 11:53 am, edited 2 times in total.

User avatar
trytip
Level 11
Level 11
Posts: 3693
Joined: Tue Jul 05, 2016 1:20 pm

Re: Nvidia two monitor setup

Post by trytip » Fri Sep 14, 2018 10:00 am

run sudo nvidia-settings put your primary and then Save to X Configuration file /etc/X11/xorg.conf i forget how LMDE handles xorg if it need to be saved somewhere else but it won't hurt anything if it doesn't work
Image

axisofevil
Level 3
Level 3
Posts: 109
Joined: Mon Nov 14, 2011 12:22 pm

Re: Nvidia two monitor setup

Post by axisofevil » Fri Sep 14, 2018 10:19 am

There is a nvidia-xconfig package in the repositories which provides the nvidia-xconfig program.
I have this package installed on my PC (single screen setup) and it created a /etc/X11/xorg.conf file and a driver upgrade and everything works fine.
The man page lists dozens of options.

However, the description says:-
This tool is deprecated. The NVIDIA drivers now automatically integrate with
the Xorg Xserver configuration. Creating an xorg.conf is no longer needed for
normal setups.

The nvidia-xconfig program helps with manipulation of X configuration
files, primarily for systems that use the non-free drivers provided by
NVIDIA. It automatically changes the configuration to use the NVIDIA
driver and can add additional options given on the command line.

laoe1
Level 1
Level 1
Posts: 6
Joined: Sat Nov 19, 2011 2:34 pm

Re: Nvidia two monitor setup

Post by laoe1 » Fri Sep 14, 2018 11:50 am

trytip wrote:
Fri Sep 14, 2018 10:00 am
run sudo nvidia-settings put your primary and then Save to X Configuration file /etc/X11/xorg.conf
That's what I did. Sorry I was less than clear by stating that I also used sudo. My bad, thanks anyway.
axisofevil wrote:
Fri Sep 14, 2018 10:19 am
There is a nvidia-xconfig package in the repositories which provides the nvidia-xconfig program.
Really thought I had it there, but no luck. Thanks the same.

Have (sort of) solved it.
When drivers will not cooperate, fix the hardware. Switched around the monitor cables. Now on the right screen is primary. Should have thought of that before!
But really the driver should have worked.....

jaszhix
Level 1
Level 1
Posts: 2
Joined: Mon Dec 05, 2016 7:21 am

Re: <SOLVED> (sort of) Nvidia two monitor setup.

Post by jaszhix » Sat Sep 15, 2018 7:17 am

This can happen any time csd-xrandr is running - it will reconfigure your monitors regardless if xorg.conf is configured. You can disable it in Startup Applications, assuming you're on Cinnamon. There's also an issue on Github: https://github.com/linuxmint/Cinnamon/issues/6515

laoe1
Level 1
Level 1
Posts: 6
Joined: Sat Nov 19, 2011 2:34 pm

Re: <SOLVED> (sort of) Nvidia two monitor setup.

Post by laoe1 » Sat Sep 15, 2018 9:02 am

Thanks, interesting read. Yes. i'm on Cinnamon, and it works ok so far after I switched the cables. Tried to disable xrander in Startup Applications just to test but that freaked tings out a bit. One cursor on each screen, largest screen with half a desktop. Back to normal now.

Post Reply

Return to “Hardware Support”