[00:11] <gordonjcp> hiya
[00:11] <gordonjcp> is there a way to get Ubuntu Studio's low latency kernel working with NVidia graphics?
[00:17] <arraybolt3[m]> gordonjcp: Is the Additional Drivers tab of Software Sources not doing it?
[00:18] <arraybolt3[m]> (I assume you're asking about getting proprietary drivers to work, since the lowlatency kernel's ability to function shouldn't depend on the presence or absence of NVidia hardware AFAIK)
[00:18] <gordonjcp> arraybolt3[m]: It literally does not detect an NVidia card at all
[00:18] <gordonjcp> there are no graphics
[00:18] <gordonjcp> it draws a very very painfully slow framebuffer
[00:18] <gordonjcp> with very very painfully slow text, which you can practically see appearing pixel row by pixel row
[00:19] <arraybolt3[m]> So... but you are getting a GUI right? Kinda?
[00:19] <gordonjcp> no
[00:19] <arraybolt3[m]> Or only text mode?
[00:19] <gordonjcp> only textmode, in some sort of horribly slow framebuffer mode
[00:19] <arraybolt3[m]> Blah. OK, manufacturer and model of laptop? Something like "Dell Latitude 7000" is what I'm looking for.
[00:19] <arraybolt3[m]> Also what version of Ubuntu Studio is this?
[00:19] <gordonjcp> although this was on "stock" Ubuntu 22.04 that I had run ubuntu-studio-installer on, after some discussion in #ubuntu last night
[00:20] <gordonjcp> not a laptop
[00:20] <gordonjcp> it's a desktop PC with a now-quite-old GTX970 in
[00:20] <gordonjcp> works perfectly in "normal" Ubuntu
[00:20] <arraybolt3[m]> Hmm. So your NVidia graphics work with the generic kernel but not the lowlatency one... that's plain weird.
[00:20] <gordonjcp> specifically it's the lowlatency kernel that can't cope with it
[00:20] <gordonjcp> ya
[00:20] <gordonjcp> okay so
[00:21] <gordonjcp> would I be better off trying an actual Ubuntu Studio install?
[00:21] <arraybolt3[m]> Maybe some logs will be of use. Can you boot into the generic kernel and see if "/var/log/syslog" exists?
[00:21] <oerheks> Eickmeyer[m] gave a tip to add to fstab, let me see
[00:21] <arraybolt3[m]> gordonjcp: Maybe? I mean, if the ISO boots then maybe there's a problem with the installer.
[00:21] <arraybolt3[m]> (The Ubuntu Studio Installer for Ubuntu, I mean)
[00:22] <arraybolt3[m]> gordonjcp: If you have an unmetered Internet connection and acceptable speeds, I'd try booting the Ubuntu Studio ISO and see what happens. That will at least help us narrow down where the problem is.
[00:23] <gordonjcp> arraybolt3[m]: yeah, I'm on 4G so that won't take long
[00:23] <gordonjcp> it's currently about 0120 here so I'll fire off a download and get to it in the morning
[00:23] <arraybolt3[m]> gordonjcp: 4G? Yikes, careful about how much data you use tethering.
[00:24] <gordonjcp> arraybolt3[m]: it's capped at 500GB
[00:24] <gordonjcp> it's not really an issue
[00:24] <arraybolt3[m]> gordonjcp: Oh OK. Just be aware that the Studio ISO is rather beefy (4.6 GB according to Nautilus).
[00:24] <gordonjcp> it's quite expensive, something like 20 quid a month
[00:24] <arraybolt3[m]> gordonjcp: I take it you're not in the US?
[00:24] <gordonjcp> I should probably switch to something cheaper but <meh>
[00:25] <gordonjcp> arraybolt3[m]: Scotland
[00:25] <gordonjcp> it's annoying, I'm about two street's worth out of the footprint of 5G
[00:25] <arraybolt3[m]> Ah. I was gonna say, I get infinite 4G with Calyx Institute but they're only in the US and Puerto Rico.
[00:26] <gordonjcp> I used it a good few years ago first when I lived out in the sticks
[00:26] <gordonjcp> ADSL was about 1.5Mbps, VDSL was about 0.5Mbps ;-)
[00:26] <oerheks> found it, add " threadirqs" to your fstab
[00:26] <gordonjcp> oerheks: fstab?
[00:26] <oerheks> https://wiki.linuxaudio.org/wiki/system_configuration
[00:26] <gordonjcp> surely boot options
[00:27] <arraybolt3[m]> oerheks: fstab? Are you sure that's not /etc/default/grub?
[00:27] <oerheks> err grub indeed
[00:27] <oerheks> that might give control over nvidia back?
[00:28] <gordonjcp> I'll edit the GRUB command line in the loader rather than change that file
[00:28] <gordonjcp> juuuuuust in case
[00:28] <gordonjcp> all my video stuff is on a separate drive so nuking and paving the drive I boot off isn't a big deal
[00:29] <gordonjcp> right, see you on the other side
[00:31] <oerheks> :-)
[00:34] <gordonjcp> no
[00:34] <gordonjcp> it already had "threadirqs"
[00:35] <gordonjcp> I tried taking that out but it didn't make a difference
[00:35] <gordonjcp> I'll investigate tomorrow
[00:35] <gordonjcp> thanks :-)
[00:35] <arraybolt3[m]> gordonjcp: What's the manufacturer and model of the motherboard (or the whole desktop if you bought a premade one)?
[00:36] <arraybolt3[m]> (Just gathering info since it might be helpful for tracking down the problem - this sounds very much like a bug to me)
[00:39] <gordonjcp> arraybolt3[m]: hp Z800
[00:39] <gordonjcp> old, but seriously heavy-duty workstation I acquired clearing out one of the old CAD offices at work
[00:39] <gordonjcp> also I found the problem
[00:41] <gordonjcp> installing ubuntu-studio installed a lowlatency kernel but did not install linux-modules-nvidia-515-lowlatency
[00:41] <gordonjcp> installed that, modprobed nvidia, and immediately gdm (lightdm?) popped up
[00:41] <oerheks> oh my
[00:42] <Eickmeyer[m]> gordonjcp: From the command line, if you run "sudo ubuntu-drivers install" it should detect everything you need and install the drivers you need. If that's already done, try "sudo update-initramfs -u -k all" and see what happens.
[00:42] <Eickmeyer[m]> After that reboot.
[00:42]  * Eickmeyer[m] has been out all day
[00:43] <gordonjcp> Eickmeyer[m]: I did that, and it said "All the available drivers are already installed."
[00:43] <gordonjcp> which doesn't appear to be true
[00:43] <gordonjcp> anyway
[00:43] <gordonjcp> X works
[00:43] <Eickmeyer[m]> Ok, then do the update-initramfs command.
[00:44] <gordonjcp> Eickmeyer[m]: I think installing the kernel module already did that, but I'll do it again
[00:44] <gordonjcp> it's now nearly 2am so I'll leave testing Resolve until tomorrow
[00:44] <Eickmeyer[m]> Well, if you installed the kernel module from the generic kernel, then the lowlatency kernel didn't get it. Trust.
[00:45] <gordonjcp> Eickmeyer[m]: it was present for generic but not lowlatency
[00:45] <Eickmeyer[m]> So you might have to boot to the generic kernel and run that command.
[00:45] <Eickmeyer[m]> Right.
[00:45] <gordonjcp> running the generic kernel and running sudo ubuntu-drivers install didn't add any drivers
[00:46] <Eickmeyer[m]> Boot to the generic kernel, run "sudo update-initramfs -u -k all" and it should install the kernel module to the lowlatency kernel. Then boot to the lowlatency kernel and all should be well.
[00:46] <gordonjcp> nor did it in the lowlatency kernel
[00:46] <gordonjcp> righto
[00:46] <gordonjcp> I'll do that tomorrow, it's pretty late and I've been up since 6am :-)
[00:46] <Eickmeyer[m]> No worries.
[00:47] <gordonjcp> my two-year-old only really settled since he was a tiny baby with his dummy and his monkey
[00:47] <gordonjcp> now he appears to have started sticking two dummies in his mouth at the same time, and taking two cuddly toy monkeys to bed, Monkey capital M monkey and another one
[00:47] <gordonjcp> presumably, this allows him to sleep twice as fast, which is why he wakes up raring to go at 0530
[00:47] <Eickmeyer[m]> Awwww
[00:49] <gordonjcp> it's kind of like how I imagine Henry Rollins must have been like when he was a wee toddler
[00:50] <gordonjcp> building Duplo at a furious rate while singing the keyboard riff from Jump
[00:51] <gordonjcp> right, DaVinci Resolve works, at least in its docker container
[00:51] <gordonjcp> I call this a success
[00:51] <gordonjcp> thanks everyone :-D
[01:03] <Eickmeyer[m]> You're welcome!