/srv/irclogs.ubuntu.com/2022/08/29/#ubuntustudio.txt

gordonjcphiya00:11
gordonjcpis there a way to get Ubuntu Studio's low latency kernel working with NVidia graphics?00:11
arraybolt3[m]gordonjcp: Is the Additional Drivers tab of Software Sources not doing it?00:17
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
gordonjcparraybolt3[m]: It literally does not detect an NVidia card at all00:18
gordonjcpthere are no graphics00:18
gordonjcpit draws a very very painfully slow framebuffer00:18
gordonjcpwith very very painfully slow text, which you can practically see appearing pixel row by pixel row00:18
arraybolt3[m]So... but you are getting a GUI right? Kinda?00:19
gordonjcpno00:19
arraybolt3[m]Or only text mode?00:19
gordonjcponly textmode, in some sort of horribly slow framebuffer mode00: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
gordonjcpalthough this was on "stock" Ubuntu 22.04 that I had run ubuntu-studio-installer on, after some discussion in #ubuntu last night00:19
gordonjcpnot a laptop00:20
gordonjcpit's a desktop PC with a now-quite-old GTX970 in00:20
gordonjcpworks perfectly in "normal" Ubuntu00:20
arraybolt3[m]Hmm. So your NVidia graphics work with the generic kernel but not the lowlatency one... that's plain weird.00:20
gordonjcpspecifically it's the lowlatency kernel that can't cope with it00:20
gordonjcpya00:20
gordonjcpokay so00:20
gordonjcpwould 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
oerheksEickmeyer[m] gave a tip to add to fstab, let me see00: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:21
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:22
gordonjcparraybolt3[m]: yeah, I'm on 4G so that won't take long00:23
gordonjcpit's currently about 0120 here so I'll fire off a download and get to it in the morning00:23
arraybolt3[m]gordonjcp: 4G? Yikes, careful about how much data you use tethering.00:23
gordonjcparraybolt3[m]: it's capped at 500GB00:24
gordonjcpit's not really an issue00:24
arraybolt3[m]gordonjcp: Oh OK. Just be aware that the Studio ISO is rather beefy (4.6 GB according to Nautilus).00:24
gordonjcpit's quite expensive, something like 20 quid a month00:24
arraybolt3[m]gordonjcp: I take it you're not in the US?00:24
gordonjcpI should probably switch to something cheaper but <meh>00:24
gordonjcparraybolt3[m]: Scotland00:25
gordonjcpit's annoying, I'm about two street's worth out of the footprint of 5G00: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:25
gordonjcpI used it a good few years ago first when I lived out in the sticks00:26
gordonjcpADSL was about 1.5Mbps, VDSL was about 0.5Mbps ;-)00:26
oerheksfound it, add " threadirqs" to your fstab00:26
gordonjcpoerheks: fstab?00:26
oerhekshttps://wiki.linuxaudio.org/wiki/system_configuration00:26
gordonjcpsurely boot options00:26
arraybolt3[m]oerheks: fstab? Are you sure that's not /etc/default/grub?00:27
oerhekserr grub indeed00:27
oerheksthat might give control over nvidia back?00:27
gordonjcpI'll edit the GRUB command line in the loader rather than change that file00:28
gordonjcpjuuuuuust in case00:28
gordonjcpall my video stuff is on a separate drive so nuking and paving the drive I boot off isn't a big deal00:28
gordonjcpright, see you on the other side00:29
oerheks:-)00:31
gordonjcpno00:34
gordonjcpit already had "threadirqs"00:34
gordonjcpI tried taking that out but it didn't make a difference00:35
gordonjcpI'll investigate tomorrow00:35
gordonjcpthanks :-)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:35
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:36
gordonjcparraybolt3[m]: hp Z80000:39
gordonjcpold, but seriously heavy-duty workstation I acquired clearing out one of the old CAD offices at work00:39
gordonjcpalso I found the problem00:39
gordonjcpinstalling ubuntu-studio installed a lowlatency kernel but did not install linux-modules-nvidia-515-lowlatency00:41
gordonjcpinstalled that, modprobed nvidia, and immediately gdm (lightdm?) popped up00:41
oerheksoh my00:41
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 day00:42
gordonjcpEickmeyer[m]: I did that, and it said "All the available drivers are already installed."00:43
gordonjcpwhich doesn't appear to be true00:43
gordonjcpanyway00:43
gordonjcpX works00:43
Eickmeyer[m]Ok, then do the update-initramfs command.00:43
gordonjcpEickmeyer[m]: I think installing the kernel module already did that, but I'll do it again00:44
gordonjcpit's now nearly 2am so I'll leave testing Resolve until tomorrow00:44
Eickmeyer[m]Well, if you installed the kernel module from the generic kernel, then the lowlatency kernel didn't get it. Trust.00:44
gordonjcpEickmeyer[m]: it was present for generic but not lowlatency00:45
Eickmeyer[m]So you might have to boot to the generic kernel and run that command.00:45
Eickmeyer[m]Right.00:45
gordonjcprunning the generic kernel and running sudo ubuntu-drivers install didn't add any drivers00:45
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
gordonjcpnor did it in the lowlatency kernel00:46
gordonjcprighto00:46
gordonjcpI'll do that tomorrow, it's pretty late and I've been up since 6am :-)00:46
Eickmeyer[m]No worries.00:46
gordonjcpmy two-year-old only really settled since he was a tiny baby with his dummy and his monkey00:47
gordonjcpnow 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 one00:47
gordonjcppresumably, this allows him to sleep twice as fast, which is why he wakes up raring to go at 053000:47
Eickmeyer[m]Awwww00:47
gordonjcpit's kind of like how I imagine Henry Rollins must have been like when he was a wee toddler00:49
gordonjcpbuilding Duplo at a furious rate while singing the keyboard riff from Jump00:50
gordonjcpright, DaVinci Resolve works, at least in its docker container00:51
gordonjcpI call this a success00:51
gordonjcpthanks everyone :-D00:51
Eickmeyer[m]You're welcome!01:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!