AdnanHodzic / AdnanHodzic/displaylink-debian
NVIDIA card is preferred over Intel GPU
- Lingua principale
- Shell
- Stelle
- 1.5k
- Fork
- 241
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi,
I'm not sure, if this is really a bug, but it is an issue I'm observing when installing the DisplayLink driver on my Lenovo T490.
The T490 comes with an Intel GPU (i915) and an NVIDIA GeForce MX250. I don't want to install the NVIDIA driver but when the installer script runs, it executes `lspci | grep -i '3d controller' | sed 's/^.*: //' | awk '{print $1}'` which returns `NVIDIA`.
Later in the script, the following condition is evaluated first `if [ "$drv_nvidia" == "NVIDIA" ] || [[ $drv == *"nvidia"* ]];` the check for the intel GPU is performed later in the script `elif [ "$drv" == "i915" ];`
This causes that the xorg config for NVIDIA cards is installed and not the xorg config for the modesetting driver.
As mentioned above, I'm not sure if this is a bug or if the majority of people installs NVIDIA drivers. Do you think that introducing an option to force skipping NVIDIA stuff would be an alternative? Or maybe there is a way to figure out if the NVIDIA driver is actually installed.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.