-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong Kernel Source #581
Comments
Can you post the output of the install please? |
Nope, locks up and crashes. No output generated. |
I'm not sure if this is related to how displaylink-debian tries to install dependencies. I would appreciate it if anyone can submit install logs or additional details. |
I also have a System76, and working through display link troubles. I'm uninstalling some stuff to get to a "clean" state then will get an install log. One possible clue; looks like the default $ sudo apt update
...
$ apt search linux-source
Sorting... Done
Full Text Search... Done
linux-source/focal-security,focal-updates,focal-updates 5.4.0.77.80 all
Linux kernel source with Ubuntu patches
linux-source-5.11.0/focal,focal,focal 5.11.0-7620.21~1624379747~20.04~3abeff8~dev all
Linux kernel source for version 5.11.0 with Ubuntu patches
linux-source-5.4.0/focal-security,focal-updates,focal-updates,now 5.4.0-77.86 all [installed,automatic]
Linux kernel source for version 5.4.0 with Ubuntu patches
$ apt show linux-source
Package: linux-source
Version: 5.4.0.77.80
Priority: optional
Section: devel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18.4 kB
Depends: linux-source-5.4.0
Download-Size: 2,444 B
APT-Sources: http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
Description: Linux kernel source with Ubuntu patches
This package will always depend on the latest Linux kernel source code
available. The Ubuntu patches have been applied.
|
Ok, got an log of the install using
At this point my X server froze, and I had to use another terminal to reboot. Right now I'm in a semi-working state where I have multi-monitor support but my computer freezes if I try to:
My debug information:
Ideas:
$ lspci | grep -i nv
01:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU106 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C UCSI Controller (rev a1) |
I tried uninstalling and then changing the script to identify my nvidia card: drv=$(lspci -nnk | grep -i vga -A3 | grep 'in use'|cut -d":" -f2|sed 's/ //g')
-drv_nvidia=$(lspci | grep -i '3d controller' | sed 's/^.*: //' | awk '{print $1}')
+drv_nvidia=$(lspci | grep -i 'RTX' | sed 's/^.*: //' | awk '{print $1}')
cardsub=$(lspci -nnk | grep -i vga -A3|grep Subsystem|cut -d" " -f5) Install went basically the same as above, but my I'm still getting freezes when I change monitor settings, going to try uninstalling/reinstalling with |
I tried using a kernel-specific version of else
- deps=(unzip linux-headers-$(uname -r) dkms lsb-release linux-source x11-xserver-utils wget libdrm-dev libelf-dev git pciutils)
+ deps=(unzip linux-headers-$(uname -r) dkms lsb-release linux-source-$(uname -r | cut -d'-' -f 1) x11-xserver-utils wget libdrm-dev libelf-dev git pciutils)
fi The install log was basically the same as above, but installing |
made a separate issue for the nvidia detection and put up a PR: #596 I think the root problem here is the upstream Best guess is this is an issue for https://packages.ubuntu.com/focal/linux-source, not displaylink-debian |
Trying to use on a System76 machine.
Script won't recognise linux-source-5.11; wants to install linux-source & linux-source-5.4
The text was updated successfully, but these errors were encountered: