Ok. Finally I could solve my issue, it was so simple in a way... (hmm)
All the trouble came from the fact that after installing the nvidia driver (from Ubuntu repositories) I had executed:
sudo nvidia-xconfig (DON'T DO THAT!)
This updates configuration file /etc/X11/xorg.conf (no surprise, this is what it's meant for) and - in a way or another - generates screen resolution / display problems...
I realized this when un-installing the nvidia driver again and noticing that file /etc/X11/xorg.conf had gone!
After a reboot to ensure the Nouveau driver was still behaving normally, I reinstalled the nvidia driver with a simple:
Code:
sudo apt install nvidia-361
(yes people, apt-get is no longer mandatory)
THAT'S IT. Another reboot and there we go!
I hope my misadventure will help some of you.
Note: /etc/X11/xorg.conf is automatically created again at boot once the nvidia driver has been installed. For those curious enough, here is the diff between this new (working) xorg.conf and the old (dirtily-generated) one:
Code:
$ diff clean-xorg.conf dirty-xorg.conf
0a1,3
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig: version 361.42 (buildmeister@swio-display-x64-rhel04-13) Tue Mar 22 18:37:28 PDT 2016
>
2,4c5,9
< Identifier "layout"
< Screen 0 "nvidia"
< Inactive "intel"
---
> Identifier "layout"
> Screen 0 "nvidia" 0 0
> Inactive "intel"
> InputDevice "Keyboard0" "CoreKeyboard"
> InputDevice "Mouse0" "CorePointer"
7,11c12,15
< Section "Device"
< Identifier "intel"
< Driver "modesetting"
< BusID "PCI:0@0:2:0"
< Option "AccelMethod" "None"
---
> Section "InputDevice"
> # generated from default
> Identifier "Keyboard0"
> Driver "keyboard"
14,16c18,34
< Section "Screen"
< Identifier "intel"
< Device "intel"
---
> Section "InputDevice"
> # generated from default
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "auto"
> Option "Device" "/dev/psaux"
> Option "Emulate3Buttons" "no"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> Section "Monitor"
> Identifier "Monitor0"
> VendorName "Unknown"
> ModelName "Unknown"
> HorizSync 28.0 - 33.0
> VertRefresh 43.0 - 72.0
> Option "DPMS"
20,23c38,53
< Identifier "nvidia"
< Driver "nvidia"
< BusID "PCI:4@0:0:0"
< Option "ConstrainCursor" "off"
---
> Identifier "intel"
> Driver "modesetting"
> Option "AccelMethod" "None"
> BusID "PCI:0@0:2:0"
> EndSection
>
> Section "Device"
> Identifier "nvidia"
> Driver "nvidia"
> BusID "PCI:4@0:0:0"
> EndSection
>
> Section "Screen"
> Identifier "intel"
> Device "intel"
> Monitor "Monitor0"
27,30c57,67
< Identifier "nvidia"
< Device "nvidia"
< Option "AllowEmptyInitialConfiguration" "on"
< Option "IgnoreDisplayDevices" "CRT"
---
> Identifier "nvidia"
> Device "nvidia"
> Monitor "Monitor0"
> DefaultDepth 24
> Option "AllowEmptyInitialConfiguration" "on"
> Option "IgnoreDisplayDevices" "CRT"
> Option "ConstrainCursor" "off"
> SubSection "Display"
> Depth 24
> Modes "nvidia-auto-select"
> EndSubSection
Bookmarks