Nvidia driver istallation woes (or no displayport / hdmi signal)
Posted: 13. Dec 2018, 19:39
I need help connecting to an external monitor.
The PC cannot 'see' the monitor. I've tried activiating the port, and tried installing the Nvidia driver for the card I have.
PC nr 1 cannot connect to 2nd screen through HDMI port. PC 2 cannot connect through display port (DP to hdmi cable)
HDMI cable works and is tested with work's windows PC.
Main PC I am trying this on has no hdmi port, only display port connecting through a dongle thing to convert to hdmi. All output and errors are from this PC, specs below, but worth mentioning that i also have a second PC with an hdmi port, same version of Salix v14.2, that acts the same way. Both are HP laptops.
PC specs:
HP Elitebook 8740w dual core.
Graphics card: NVIDIA Corporation G92GLM [Quadro FX 2800M] (rev a2)
Driver I am trying to use is 340.107 (correct according to Nvidia and also I had this working on Bodhi Linux so I know it works with this card).
Xrandr output:
I have tried
and a couple other things I forget (was a few days ago).
So i read somewhere that maybe it's nouveau that can't see the ports (this makes no sense as clearly xrandr is listing the port as disconnected while using the nouveau driver). But I tried installing the nvidia driver anyway because why not?
The driver fails to install (I'll add here that i don't care much for nvidia and would just as well have this working with nouveau) but anyway, here is an excerpt of my log file for the error:
plus a couple thousand more lines of nothing helpful.
In addition, the installer at the time it ran (yes, I ran it twice) displayed an error about kernel not being built with the correct version of GCC/G++ and another error about not having installed at the time of driver install the the correct version of same. So I downgraded to the version it said (5.3 from 5.5) but that didn't remove the error, and anyway I have no idea how to build the kernel module again using the old version of GCC that updates with system updates (potentially breaking it again?).
Needless to say, given that nvidia wrote a log file hundreds of lines long, refer to it for error reporting when the install fails BUT THEN DON'T INCLUDE THE ERROR IN THE LOG FILE, has me wanting to stick with nouveau
Sooo, how can i get my display port via converter dongle to hdmi to use my HD monitor?
Thanks in advance.
The PC cannot 'see' the monitor. I've tried activiating the port, and tried installing the Nvidia driver for the card I have.
PC nr 1 cannot connect to 2nd screen through HDMI port. PC 2 cannot connect through display port (DP to hdmi cable)
HDMI cable works and is tested with work's windows PC.
Main PC I am trying this on has no hdmi port, only display port connecting through a dongle thing to convert to hdmi. All output and errors are from this PC, specs below, but worth mentioning that i also have a second PC with an hdmi port, same version of Salix v14.2, that acts the same way. Both are HP laptops.
PC specs:
HP Elitebook 8740w dual core.
Graphics card: NVIDIA Corporation G92GLM [Quadro FX 2800M] (rev a2)
Driver I am trying to use is 340.107 (correct according to Nvidia and also I had this working on Bodhi Linux so I know it works with this card).
Xrandr output:
Code: Select all
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 8192 x 8192
LVDS-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 367mm x 230mm
1920x1200 60.04*+
1920x1080 59.96
1600x1200 59.87
1680x1050 59.95
1400x1050 59.98
1280x1024 59.89
1280x960 59.94
1152x864 59.96
1024x768 59.92
800x600 59.86
640x480 59.38
720x400 59.55
640x400 59.95
640x350 59.77
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
eDP-1 disconnected (normal left inverted right x axis y axis)
VGA-1 disconnected (normal left inverted right x axis y axis)
Code: Select all
xrandr --addmode DP-1 1920x1080
So i read somewhere that maybe it's nouveau that can't see the ports (this makes no sense as clearly xrandr is listing the port as disconnected while using the nouveau driver). But I tried installing the nvidia driver anyway because why not?
The driver fails to install (I'll add here that i don't care much for nvidia and would just as well have this working with nouveau) but anyway, here is an excerpt of my log file for the error:
Code: Select all
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Dec 12 19:10:07 2018
installer version: 340.107
PATH: /usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/java/jre/bin:/usr/local/sbin:/sbin:/usr/sbin
nvidia-installer command line:
./nvidia-installer
Unable to load: nvidia-installer ncurses v6 user interface
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 340.107.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/usr/src/linux'
-> Kernel output path: '/usr/src/linux'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; /usr/bin/make clean'...
-> Building NVIDIA kernel module:
executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux NV_BUILD_MODULE_INSTANCES='...
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/linux-4.4.157'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
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."; \
echo >&2 ; \
/bin/false)
mkdir -p /tmp/selfgz1186/NVIDIA-Linux-x86_64-340.107/kernel/.tmp_versions ; rm -f /tmp/selfgz1186/NVIDIA-Linux-x86_64-340.107/kernel/.tmp_versions/*
/usr/bin/make -f ./scripts/Makefile.build obj=/tmp/selfgz1186/NVIDIA-Linux-x86_64-340.107/kernel
In addition, the installer at the time it ran (yes, I ran it twice) displayed an error about kernel not being built with the correct version of GCC/G++ and another error about not having installed at the time of driver install the the correct version of same. So I downgraded to the version it said (5.3 from 5.5) but that didn't remove the error, and anyway I have no idea how to build the kernel module again using the old version of GCC that updates with system updates (potentially breaking it again?).
Needless to say, given that nvidia wrote a log file hundreds of lines long, refer to it for error reporting when the install fails BUT THEN DON'T INCLUDE THE ERROR IN THE LOG FILE, has me wanting to stick with nouveau
Sooo, how can i get my display port via converter dongle to hdmi to use my HD monitor?
Thanks in advance.