AdnanHodzic / AdnanHodzic/displaylink-debian

NVIDIA card is preferred over Intel GPU

未关闭
#665 0 条评论 2 个 reaction 已指派 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 摘要。