• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Installing Mainline kernels under Ubuntu

johnspack

Here For Good!
Joined
Oct 6, 2007
Messages
6,000 (0.98/day)
Location
Nelson B.C. Canada
System Name System2 Blacknet , System1 Blacknet2
Processor System2 Threadripper 1920x, System1 2699 v3
Motherboard System2 Asrock Fatality x399 Professional Gaming, System1 Asus X99-A
Cooling System2 Noctua NH-U14 TR4-SP3 Dual 140mm fans, System1 AIO
Memory System2 64GBS DDR4 3000, System1 32gbs DDR4 2400
Video Card(s) System2 GTX 980Ti System1 GTX 970
Storage System2 4x SSDs + NVme= 2.250TB 2xStorage Drives=8TB System1 3x SSDs=2TB
Display(s) 2x 24" 1080 displays
Case System2 Some Nzxt case with soundproofing...
Audio Device(s) Asus Xonar U7 MKII
Power Supply System2 EVGA 750 Watt, System1 XFX XTR 750 Watt
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky
Software Manjaro, Windows 10, Kubuntu 23.10
Benchmark Scores It's linux baby!
You would think it would be simple right? Nope. To install initially it is pretty simple.. I just use the mainline ppa, which you can add using:
sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update
sudo apt install mainline

Then it will show up in System in your menu and you can run it.
You can run it and install newest kernel 5.17.3... however you will have issues when you try to boot it.
No video driver. Either after this, or before, you must make sure you have the nvidia dkms module loaded,
or it can't compile the driver for the new kernel. At this point you should have driver series 510 installed.
So then, do a : sudo apt install nvidia-driver-510 nvidia-dkms-510
Reboot, and you should be able to boot the new kernel with no issues.
Fought with this for a few days until I figured it out.... And please, beginners to linux... do not try this! Only for experienced users.
kernelupdate.png
 
Last edited:
Joined
Dec 23, 2012
Messages
1,710 (0.40/day)
Location
Somewhere Over There!
System Name Gen2
Processor Ryzen R9 5950X
Motherboard Asus ROG Crosshair Viii Hero Wifi
Cooling Lian Li 360 Galahad
Memory G.Skill Trident Z RGB 64gb @ 3600 Mhz CL14-13-13-24 1T @ 1.45V
Video Card(s) Sapphire RX 6900 XT Nitro+
Storage Seagate 520 1TB + Samsung 970 Evo Plus 1TB + lots of HDD's
Display(s) Samsung Odyssey G7
Case Lian Li PC-O11D XL White
Audio Device(s) Onboard
Power Supply Super Flower Leadex SE Platinum 1000W
Mouse Xenics Titan GX Air Wireless
Keyboard Kemove Snowfox 61
Software Main: Gentoo+Arch + Windows 11
Benchmark Scores Have tried but can't beat the leaders :)
Just one thing I dont like about ubuntu is the PPA. While its true that there have been no malicious codes (known) added in personal PPA's, its still kinda risky
 
Top