AdnanHodzic / AdnanHodzic/displaylink-debian

NVIDIA card is preferred over Intel GPU

Abierto
#665 0 comentarios 2 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Shell
Estrellas
1.5k
Forks
241
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.