On 04/30/2018 11:31 PM, Trevor Cordes wrote:
On 2018-04-30 Gilles Detillieux wrote:
That's the thing. I'm not sure exactly which driver it's using. What
Must be nouveau as none of the major distros ship the nvidia binary
running by default AFAIK.

lsmod | grep -P 'nouveau|nvidia'

Will reveal the truth.  The only way it can't be one of the two is if
it's Wayland and Wayland doesn't use nouveau (which I have zero
knowledge about either way (purposely)).

Well, duh, why didn't I think of using lsmod. Thanks! Definitely nouveau is running:

# lsmod | grep -P 'nouveau|nvidia'
nouveau              1662531  8
video                  24538  1 nouveau
mxm_wmi                13021  1 nouveau
i2c_algo_bit           13413  1 nouveau
drm_kms_helper        176920  1 nouveau
ttm                    99555  1 nouveau
drm                   397988  7 ttm,drm_kms_helper,nouveau
i2c_core               63151  5 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,nouveau
wmi                    19086  2 mxm_wmi,nouveau
#

Not sure why it's so non-verbose as far as logging, though, and whether that can be controlled.

says "(II) glamor: OpenGL accelerated X.org driver based." That
Oh, forget what I just said about Wayland.

Glamor should sit on top of nouveau.  Nouveau does a decent amount of
hw acceleration now too, it's just the super-modern fancy stuff it
won't do (like vdpau last I checked).  If you want super low-CPU
accelerated video, vdpau is awesome.

Yeah, no, Wayland is a whole other world I have yet to begin exploring, and I may delay the journey for as long as I can. As for vdpau, given the lack of feedback in the X logs, I can't tell if it's there or not. It's not showing up in lsmod, if it's supposed to appear there. Anyway, not too worked up about performance for this application.

gain voltage resolution on the Y.) The trick is once you have the
display configured properly for your login account, you need to copy
that to GDM's configuration:
I'm using lightdm, but it probably has a similar setup, I'll check it
out, thanks!  I figured it was a matter of the dm being too early in
the sequence to know what the user has selected (part of the problem
of randr being configured per-user rather than per-system like the
good ol' xorg.conf days).  Since I only reboot once every few months
(whenever a CVE pops up that actually applies to me), it's not high on
my priority list. :-)

cp /home/<username>/.config/monitors.xml /var/lib/lightdm/.config/

is supposed to do the trick based on what I read (https://askubuntu.com/questions/408302/rotated-monitor-login-screen-needs-rotation). The xrandr hacks appear to be deprecated.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. of Physiology and Pathophysiology, Rady Faculty of Health Sciences,
Univ. of Manitoba  Winnipeg, MB  R3E 0J9  (Canada)