You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a system76 laptop with an integrated intel GPU and a dedicated nvidia GPU. My card is not being detected and thus the xorg.conf.d files are not being written.
if [ "$drv_nvidia"=="NVIDIA" ] || [ "$drv"=="nvidia" ];
On my machine, those variables end up with the following values:
$drv_nvidia - empty
$drv - "i915\nnvidia"
The check for "$drv" == "nvidia" is failing due to the intel card mixed in. I think if we loosen that check to be a "string contains" check instead of a "string equals" check it'll work for my case in addition to the original cases.
Some dual-card systems end up with `$drv` having values like
`"i915\nnvidia"`, and string equality fails for those cases. Use
bash wildcards instead to see if `$drv` contains `"nvidia"`.
fixesAdnanHodzic#596
I have a system76 laptop with an integrated intel GPU and a dedicated nvidia GPU. My card is not being detected and thus the xorg.conf.d files are not being written.
Analysis
I believe the detection logic is here:
displaylink-debian/displaylink-debian.sh
Line 697 in 2675968
On my machine, those variables end up with the following values:
$drv_nvidia
- empty$drv
-"i915\nnvidia"
The check for
"$drv" == "nvidia"
is failing due to the intel card mixed in. I think if we loosen that check to be a "string contains" check instead of a "string equals" check it'll work for my case in addition to the original cases.Related issues: #217, #211
Related commits: 6936c2c, 3b88811
The text was updated successfully, but these errors were encountered: