/srv/irclogs.ubuntu.com/2023/01/20/#kubuntu.txt

morpheuzdo you guys run kde with nvidia gpus? anyone who has some wisdom about how to get things running smoothly? should i use Nouveau or proprietary? im  having constant graphic problems with nvidia gpu00:14
arrayboltXEmorpheuz: I'd use the proprietary drivers. Though right now I'm having to reinstall said drivers since something blew up on me XD00:16
morpheuzas soon as i put the machine to sleep and it comes back something is borked and the system will constantly glitch out. i think it has something to do with kwin. not sure, im not a kde dev00:17
morpheuzim currently running the proprietary drivers00:18
arrayboltXEFrom what I've heard, NVIDIA doesn't work well with suspend.00:18
arrayboltXEI don't know if it's a limitation of the driver or what, but that's how it is.00:18
morpheuzdamn. i do need suspend. im using it heavily everyday00:20
arrayboltXEWell... hmm, stick around, someone might have ideas. I've not managed to get it to work reliably, but there might be ways.00:20
arrayboltXEmorpheuz: This might help: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend00:22
arrayboltXEmorpheuz: Try "sudo nano /etc/modprobe.d/nvidia-power-management.conf", and write into that "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/tmp"00:23
arrayboltXEThen reboot and see if that works. That's what I'd try anyway.00:23
morpheuzoohhh, at least the archlinux wiki described my problem well. i will give this a try and report later. thanks arrayboltXE i really really hope this is it.00:24
arrayboltXEGood luck! Glad to be able to try to help.00:25
morpheuz /etc/modprobe.d/nvidia-power-management.conf is empty in my case, is that correct?00:25
arrayboltXEThat's what I would expect.00:25
morpheuzok00:25
arrayboltXEYou're probably creating the file from scratch.00:25
morpheuzdo i have to regenerate the initramfs ?00:29
arrayboltXEI don't know.00:29
arrayboltXEI don't see anything about it in the article, but it probably can't hurt to do so just in case.00:30
morpheuzbut wait a second. NVreg_TemporaryFilePath=/tmp does mean, that the system is dumping 10gb of data onto my ssd everytime i suspend the system. this will wear out my ssd very quickly right? can i dump the video memory into my ram?00:30
morpheuz*into my ram instead00:30
arrayboltXEmorpheuz: /tmp is usually an in-RAM fs.00:31
arrayboltXEHow much RAM do you have?00:31
morpheuz32 and im just using 13 of it00:32
arrayboltXEHmm... /tmp isn't mounted in RAM for me for some reason.00:32
arrayboltXEThen change /tmp to /dev/shm.00:32
arrayboltXEThat's virtually certain to be in-RAM.00:32
morpheuzi was almost sure that my /tmp lives on the ssd00:32
arrayboltXEYeah, you're actually right. I was mistaken.00:32
morpheuzis /dev/shm an acutal filesystem i can write into?00:33
arrayboltXEYep. It's entirely in-RAM, but it is a filesystem.00:33
arrayboltXEOn my system (which also has 32 GB RAM), it's about 16 GB.00:33
arrayboltXEWhich should be plenty enough to hold your NVIDIA card's RAM contents.00:34
morpheuzi will try the /tmp option first. and if that does work i will test the /dev/shm option. not sure if will will test this out right now, or after the 22.04 upgrade.00:34
arrayboltXESounds like a plan.00:35
morpheuzif i write the option into /etc/modprobe.d/nvidia-power-management.conf this will be permanently. is there a way of testing this for one session only? dont want go through the hastle of recover ubs stick and all that jazz00:36
arrayboltXEBecause the module needs to be loaded with that option, I don't think you can do that.00:37
arrayboltXEYou'd have to unload and reload the module, which could be very complicated and possibly end up with you having to reboot to get things working again.00:37
arrayboltXEmorpheuz: In the event you add the option and things go wrong, though, you can always boot into recovery mode and remove the config file.00:37
arrayboltXEYou just have to get to the GRUB screen in order to do that, which you can do by either improperly shutting down the system and then turning it back on, or by hitting Esc at just the right time during early bootup.00:38
arrayboltXEThen you can just drop to a root shell, remount the filesystem as read/write, and then do "rm /etc/modprobe.d/nvidia-power-management.conf", then reboot again.00:39
arrayboltXEThough that might be more complicated than booting from a USB drive :-/00:39
morpheuzi also would need to regenerate the initramfs00:42
arrayboltXEThat might be more easily done from within recovery mode.00:42
morpheuzthe recovery might be the better option.00:43
morpheuznot sure if kde neon does have a recovery partition tho.00:43
morpheuzi will just gonna try it. what could possibly go wrong. famous last words00:44
arrayboltXERecovery mode isn't a recovery partition, fwiw. It's a special mode the kernel boots into to let you fix stuff.00:44
arrayboltXEIf you're running KDE neon, you almost certainly do have it.00:45
arrayboltXE(As a warning, KDE neon isn't officially supported here, and may have differences from Kubuntu that could result in things not quite working the same between the two. I don't think that will cause problems here, but you might want to be aware of that for in the future.)00:45
arrayboltXE*heads-up more like, not warning00:46
arrayboltXE(I mean I guess it's kind of a warning but that sounded too severe :P)00:47
morpheuzthanks for the warning. i know that i am on my own with neon in here. but at least someone is answering compared to the small neon channels :D00:48
arrayboltXEGlad to be able to try and help!00:49
morpheuzthanks for the hint arrayboltXEi hope this will solve the problem i am having for the last two years. i will let you know :) will just have to spin the backups and update first00:49
arrayboltXE+100:49
morpheuzif you dont hear anything back from me, it means that i have smashed my computer and am gone living in the woods^^00:50
arrayboltXED:00:51
arrayboltXE(In the event you can't find my nick later, ping arraybolt3, that's my normal nick that I use on my IRC bouncer.)00:51
arraybolt3o/00:51
arraybolt3I just use the other one since it's less laggy.00:51
morpheuzalright thanks00:52
morpheuzout of curiosity, which bounce is laggy for your? znc?00:52
arrayboltXEI'm using tmux+WeeChat :P00:55
arrayboltXEPlus SSH.00:55
arrayboltXEI should probably set up ZNC, that might be way more comfortable.00:55
arrayboltXEIn fact, I'm going to do that now. :D00:56
morpheuz:D00:56
morpheuzgood luck00:56
IrcsomeBot<rcpp85> Printers were always some what complicated to make them work on Linux. i don't remember exactly why, but it envolves vendors, drivers and copywrite. Some printers have a good support through CUPS.00:58
IrcsomeBot<rcpp85> Open print was the place where I'd go every time I needed to install a printer. There I would find the steps on how to install them.00:58
IrcsomeBot<rcpp85> Some vendors like Epson and HP used to have a good support and information on their sites. There are other "enterprise brands" like Brother that used to have good support and easy to find information. Canon used to be a pain to configure...00:58
IrcsomeBot<rcpp85> But I'm thankful I don't need to get near a printer anymore! Honestly, I always had troubles no matter what OS... (re @bauchhaus: I consider myself fairly knowlegable but going nuts with the installation of a USB printer in 22.10)00:58
=== arraybolt3_ is now known as arraybolt3
arraybolt3morpheuz: Guess what, ZNC works. :D01:40
morpheuzarraybolt3 YEAY! :D01:40
morpheuzim still sitting here waiting for backups. and they take forever. so i guess this update wont happen today.01:41
arraybolt3:-/01:41
morpheuzgiven the fact that i have to run the backups multiple times to different locations fml :D01:49
noaXessi have some python virtual env's for developing different things... now if i upgrade from 20.04 to 22.04, will they stay?06:01
rtghi09:54
rtghey im having a bit of a weird situation.10:05
rtgSo id like to use KDE connect to connect my phone to my PC. Im not very experienced with phones really i might add, but appearently the phone does not consider itself part of the network if i create a mobile hotspot with it which is how for the moment im going to have internet and pass it on to my PC10:06
rtgWhich i had to buy a Wifi card for cause ive allways relied on cables exclusivly. Which at home wasnt an issue, Gigabit broadband connection there :D10:07
rtgwell, at my former home i suppose10:07
rtghuh. Adding it by IP worked anyways at least for now.10:20
morpheuzrtg you don't have to rely on WiFi if you don't want to. Iirc you could use a USBC to ethernet adapter on your phone. *me assuming your phone has usbc10:31
rtgah, interesting. Yes that sounds like itd work.10:34
rtgThough itd involve constantly plugging and unplugging the phone from my PC which as of yet is without a case. I could bring the PC in individual parts those 12000km, the bulky case not so much. Its lying there on top of the box the motherboard came in10:36
rtgAnd the only piece of furniture ive got so far is a matrass. Keeping it in its plastic wrapping for now, too, the apartment wasnt cleaned prior to me moving in and ive not got cleaning equipment yet, either10:37
=== go is now known as Guest3444
BluesKajHi all13:04
IrcsomeBot<bauchhaus> I finally made it work. I had to REMOVE cups-browsed (it appears to be legacy, avahi is used instead) then turn off apparmor / install additional profiles.13:28
IrcsomeBot<bauchhaus> At least I think that's what made it work. But far from the plug and play I was used to. And I think that's a regression, It used to work much better. (re @rcpp85: Printers were always some what complicated to make them work on Linux. i don't remember exactly why, but it envolves vendors, drivers and copywrite. Some printers have a good support through CUPS.13:29
IrcsomeBot<bauchhaus> Open print was the place where I'd go every time I needed to install a printer. There I would find the steps on how to install them.13:29
IrcsomeBot<bauchhaus> Some vendors like Epson and HP used to have a good support and information on their sites. There are other "enterprise brands" like Brother that used to have good support and easy to find information. Canon used to be a pain to configure...13:29
IrcsomeBot<bauchhaus> But I'm thankful I don't need to get near a printer anymore! Honestly, I always had troubles no matter what OS...)13:29
IrcsomeBot<DPRanjiida> I installed open office13:45
IrcsomeBot<DPRanjiida> it was .rpm file type13:45
IrcsomeBot<DPRanjiida> I installed through alien package by converting it to .deb13:45
IrcsomeBot<DPRanjiida> what should I do now?13:45
IrcsomeBot<DPRanjiida> should I try .deb directly?13:45
IrcsomeBot<DPRanjiida> or is there any other issue?13:45
IrcsomeBot<DPRanjiida> open or libre? which one supports most of the MS office 💀 contects?13:48
IrcsomeBot<bauchhaus> I finally made it work. I had to REMOVE cups-browsed (it appears to be legacy, avahi is used instead) then turn off apparmor / install additional profiles.14:10
IrcsomeBot<bauchhaus> At least I think that's what made it work. But far from the plug and play I was used to. And I think that's a regression, It used to work much better. (re @rcpp85: Printers were always some what complicated to make them work on Linux. i don't remember exactly why, but it envolves vendors, drivers and copywrite. Some printers have a good support through CUPS.14:10
IrcsomeBot<bauchhaus> Open print was the place where I'd go every time I needed to install a printer. There I would find the steps on how to install them.14:10
IrcsomeBot<bauchhaus> Some vendors like Epson and HP used to have a good support and information on their sites. There are other "enterprise brands" like Brother that used to have good support and easy to find information. Canon used to be a pain to configure...14:10
IrcsomeBot<bauchhaus> But I'm thankful I don't need to get near a printer anymore! Honestly, I always had troubles no matter what OS...)14:10
tonyw@bauchhaus Good to know and thanks. I couldn't help because I haven't touched a printer in probably four years. I can feel your pain! :-) (re: But I'm thankful I don't need to get near a printer anymore! Honestly, I always had troubles no matter what OS...))14:13
tonywI always disable cups (don't use), avahi, and llmnr.14:15
IrcsomeBot<bauchhaus> tony: Ironically I had this printer running and set up quickly via local network, but now setting it up as USB printer was hard, the only profile it let me select at first was black and white only, now I can scan and print in color finally.14:20
IrcsomeBot<rcpp85> You could use their DEB packages or via Snap. Nowadays they both are pretty similar as of MS support. But be in mind some stuff may not work properly - templates still break sometimes and some more complex Excel macros, formulas and VB may not work. (re @DPRanjiida: I installed open office14:56
IrcsomeBot<rcpp85> it was .rpm file type14:56
IrcsomeBot<rcpp85> I installed through alien package by converting it to .deb14:56
IrcsomeBot<rcpp85> when I'm running it, it crashes14:56
IrcsomeBot<rcpp85> what should I do now?14:56
IrcsomeBot<rcpp85> should I try .deb directly?14:56
IrcsomeBot<DPRanjiida> Thank you (re @rcpp85: You could use their DEB packages or via Snap. Nowadays they both are pretty similar as of MS support. But be in mind some stuff may not work properly - templates still break sometimes and some more complex Excel macros, formulas and VB may not work.)15:01
fuzeis there a command to check what version of a package is compatible with a particular kubuntu version? im trying to do a release upgrade and im seeing 'WARNING Can't mark 'kubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)' in main.log but running apt upgrade doesnt show any issues17:19
alkisgfuze: run apt full-upgrade first17:28
alkisgapt upgrade is the "wrong" command, it doesn't fully update a system17:29
fuzealkisg: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded17:29
alkisgfuze: ok, and that's what, kubuntu 20.04 going to become 22.04?17:29
fuzeyes17:31
alkisgfuze: anything in `apt-mark showhold` ?17:32
fuzeno output17:32
alkisgAny custom repositories, ppas etc?17:32
fuzei disabled all of them17:32
fuzenow its just custom packages installed17:33
alkisgOK, but the packages would already be installed, yeah17:33
alkisgWhat's the output of: apt policy kubuntu-desktop | nc termbin.com 999917:33
fuzehttps://termbin.com/w2j6x17:34
alkisgLooks good, so I guess you're indeed in the place where one of the ppa packages is causing issues to the installer17:34
alkisgI suggest that you use google translate in this topic of mine: https://alkisg.mysch.gr/steki/index.php?topic=7370.017:34
alkisgThere, you'll reach an "apt-get dist-upgrade" command. Pastebin that output, before pressing yes17:35
fuzealkisg: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.17:37
alkisgI believe you didn't create the preferences file correctly17:40
fuzeno i already ran that command and updated17:41
alkisgOk then run do-release-upgrade17:46
fuzeAn unresolvable problem occurred while calculating the upgrade.17:46
fuze 'WARNING Can't mark 'kubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)' in main.log but running apt upgrade doesnt show any issues17:46
alkisgfuze: cat /etc/apt/preferences.d/50priorities | nc termbin.com 999917:55
IrcsomeBot<Madi2910> WNaD18:39
IrcsomeBot<Madi2910> 102418:39

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