AdnanHodzic / AdnanHodzic/displaylink-debian

NVIDIA card is preferred over Intel GPU

オープン
#665 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Shell
スター
1.5k
フォーク
241
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。