Xubuntu nvidia: 800x600px after package update
Posted: Mon Mar 18, 2019 5:10 pm
[PROBLEM]
After amost recent update of X11 and kernel packages on a Xubuntu 16.04.6 system, the graphics card setup regressed:
From proper working Dualscreen (FullHD + 1280x1024 resolution) to single monitor at 800x600 pixels
I know that a proprietary Nvidia driver was used before, but I haven't written down which one - in which exact version...
The graphics card is:
[SOLUTION]
Seems that nvidia-304 doesn't compile with kernel 4.15.0-46 anymore
After removing and re-installing "nvidia-304" package, I get this message in "/var/lib/dkms/nvidia-304/304.135/build/make.log"
Luckily. the GeForce GT520 chipset is also supported by the nvidia-340 driver.
And that one installs and builds fine:
Links:
304.135 driver fails to insert on Fedora 26 (4.12.5 kernel)
After amost recent update of X11 and kernel packages on a Xubuntu 16.04.6 system, the graphics card setup regressed:
From proper working Dualscreen (FullHD + 1280x1024 resolution) to single monitor at 800x600 pixels
I know that a proprietary Nvidia driver was used before, but I haven't written down which one - in which exact version...
The graphics card is:
When checking Ubuntu's GUI for handling proprietary drivers, it said that the currently active one is:01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 520] (rev a1)
Checking the package management, it seems that before the regression, version "304.131" was in use (since still existing in package cache):NVIDIA legacy binary driver - version 304.135
[SOLUTION]
Seems that nvidia-304 doesn't compile with kernel 4.15.0-46 anymore
After removing and re-installing "nvidia-304" package, I get this message in "/var/lib/dkms/nvidia-304/304.135/build/make.log"
I've configured and compiled many kernels in my life, but right now I'm not going down that road.DKMS make.log for nvidia-304-304.135 for kernel 4.15.0-46-generic (x86_64)
Mon 18 Mar 13:01:47 CET 2019
NVIDIA: calling KBUILD...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (^I^I\
echo >&2;^I^I^I^I^I^I^I\
echo >&2 " ERROR: Kernel configuration is invalid.";^I^I\
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it.";^I\
echo >&2 ;^I^I^I^I^I^I^I\
/bin/false)
mkdir -p /var/lib/dkms/nvidia-304/304.135/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-304/304.135/build/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-304/304.135/build
Luckily. the GeForce GT520 chipset is also supported by the nvidia-340 driver.
And that one installs and builds fine:
Code: Select all
$ apt install nvidia-340
Links:
304.135 driver fails to insert on Fedora 26 (4.12.5 kernel)