Nvidia on FreeBSD

Waitman Gobble gobble.wa at gmail.com
Fri Aug 14 20:32:15 UTC 2020


On Fri, Aug 14, 2020 at 3:49 PM Polytropon <freebsd at edvax.de> wrote:
>
> On Fri, 14 Aug 2020 21:42:12 +0300, moridin at mm.st wrote:
> > James B. Byrne via freebsd-questions wrote:
> > > FreeBSD-12.1p8
> > >
> > > I am forced to configure a new workstation (WS) due to an unrecoverable
> > > hardware error on my old (c.2009) one.  The new WS has only basic VGA on the
> > > motherboard and has an Nvidia card as its primary video i/f.
> > >
> > > I have two monitors both connected to the card.  Each works independently of
> > > the other but when both are connected only one display is used.
> > >
> > > I have the Mate desktop installed and working.  However when I try to configure
> > > the monitors the display dialogue window only shows one, unknown, display and
> > > the detect monitor button is not active.  I also get a message stating that the
> > > mate-settings-daemon cannot start.
> > >
> > > I need some help getting this sorted out.  If someone could guide me through
> > > this I would appreciate it very much.
> >
> > I know nothing about mate and its settings, but I remember running X on
> > dual-monitor setup with nvidia.  What you need is to get the output
> > names from Xorg.log in /var/log (e.g. DFP-0, DFP-2) and add relevant
> > config line to your /usr/local/etc/X11/xorg.conf.d/<name>.conf, e.g.:
> >
> > Section "Device"
> >       Identifier      "Something here"
> >       Driver          "nvidia"
> >       MetaModes       "DFP-0:3840x2160,DFP-2:3840x2160"
> > EndSection
> >
> > Check the documentation shipped with nvidia-driver for more options.
>
> I have been using a dual-head system with nVidia card + driver in
> the past (one connected to DVI, the other one connected to VGA),
> and the whole thing was configured independently from any window
> manager or desktop environment simply in xorg.conf. If I remember
> correctly, there were two Section "Monitor", each one with an
> Option "PreferredMode" and Option "Position" (this one was
> different!), and it worked. I got the example code from the
> nVidia documentation. Maybe this is still possible?
>
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


I use nVidia on FreeBSD with two monitors. Driver 440.100 Quadro
K2100M on a Dell M4800

*Every* time I boot, I always have to open "NVIDIA X Server Settings"
and change "Underscan" under "X Server Display Configuration"
So when it boots it's at 1920x1080, changing underscan to "2" changes
the monitor resolution to 1916x1077. and then the screen starts
working. I found out by hard-coding the smaller size (1916x1077) in
Xorg.conf, after a boot I can then change underscan to "0" and get
1920x1080. and the screen starts working.

Of course it sounds weird, I know, but without changing the underscan
setting, then the screen attached to the laptop does not show anything
(Blank). [But the laptop screen does work without a second monitor
plugged in.]

-- 
Waitman Gobble


More information about the freebsd-questions mailing list