f1z | hi | 00:06 |
---|---|---|
f1z | guys | 00:06 |
f1z | hi | 00:11 |
pragmaticenigma | f1z: Hello, do you have an Ubuntu support question? | 00:11 |
AstaraOS-0day | hi all ... . | 00:29 |
=== Dragonslicer is now known as Dragnslcr | ||
omegatron | I just stumbled upon the 'mokutil' program; does someone know, if it's output of "SecureBoot disabled" when running "mokutil --sb-state" is accurate, meaning that it really IS disabled? | 01:01 |
yegorc | probably, but you can check your bios settings if you want | 01:03 |
omegatron | because the BIOS menu on this machine by Acer uses "Standard", when displaying the state of Secure Boot (different from "Other OS" on Asus hw), which implied to me (until now), that Secure Boot IS active | 01:03 |
yegorc | interesting | 01:04 |
yegorc | try switching to other os and see what happens | 01:04 |
omegatron | I can't switch to anything else on this laptop, unfortunately (afaik) | 01:04 |
yegorc | is the bios setting locked or what | 01:05 |
omegatron | looks like, yes | 01:05 |
yegorc | you might be able to plug/unplug the cmos or something, but i doubt it'd work | 01:07 |
omegatron | I set the TPM State to "Disabled" and erased all Secure Boot settings before and I'm not sure anymore, if there was anything else written before I did it .. =D | 01:07 |
yegorc | so you used to be able to change bios settings? | 01:08 |
yegorc | nice ip address | 01:08 |
omegatron | ah, just to get it right: I do NOT want to use Secure Boot at all, i'm just wondering, if someone knows, if either mokutil is realiable in that respect or that Acer uses "Standard" do inform the user, that secure boot is disabled | 01:09 |
yegorc | why would you not want secure boot | 01:09 |
omegatron | and i'm still able to change other bios settings, it's not that i'm locked out | 01:09 |
omegatron | because I compile my own kernels and bootloaders | 01:09 |
omegatron | (and everything else) | 01:10 |
yegorc | ok, fair | 01:10 |
yegorc | funny that you're on #ubuntu | 01:10 |
omegatron | because i'm (right now) using a live image of kubuntu 23.x to inspect this machine | 01:10 |
omegatron | if this is not appropiate, then I can try another channel | 01:10 |
yegorc | it's fine | 01:11 |
yegorc | i guess you can check by trying an unsigned iso | 01:11 |
omegatron | (I never used any efi-related software before and mokutil is included on this image by default) | 01:11 |
omegatron | so, you do not know for sure, if mokutil might err on this one, I guess? | 01:12 |
yegorc | i never used it myself | 01:12 |
omegatron | then I look at its source code and check, if any other circumstance might lead to this output (I always try to avoid this additional work, if there is a non-zero chance, someone else with the appropiate experience would know for sure) | 01:13 |
live | okl;;lk' | 01:23 |
live | iam kpoip illo | 01:23 |
yegorc | what an insightful comment | 01:25 |
=== lesbraz is now known as sbraz | ||
polo | firefox is really slow . I use hardware acceleration and sometimes even a simple web page will freeze . Is my pc too old or something for modern web pages ? | 05:40 |
enigma9o7 | well you would have to describe your pc to get any answer with that. | 06:12 |
enigma9o7 | but probably not | 06:12 |
=== JanC is now known as Guest3759 | ||
ThatGuyintheRedH | Hi, sorry to come back, but I've had no further luck fixing my laptop's audio. Any program with cpu strain causes the audio to aggressively crackle, and no modifications to the .conf files seems to be working | 06:14 |
ThatGuyintheRedH | don't know enough about linux to know what other possible failure points exist for audio. Saw something about a "nice" config but I cant seem to find the file that im supposed to change to try that | 06:15 |
enigma9o7 | likely a gpu issue | 06:43 |
enigma9o7 | does this happen during graphics heavy stuff? | 06:43 |
oerheks | enigma9o7, i read about that too with sof-firmware | 06:57 |
ThatGuyintheRedH | apologies for the delayed response, to my chagrin i finally found the file and function to configure | 07:49 |
ThatGuyintheRedH | default.clock.min-quantum, and associated functions in pipewire.conf | 07:50 |
ThatGuyintheRedH | still getting some crackle at 1024 min, 1024 quantum and 2048 max, but its bearable and i can tinker further from her | 07:51 |
ThatGuyintheRedH | which i understood *why* this was working | 07:51 |
oerheks | /clear | 10:04 |
=== xidme1 is now known as xidme | ||
qrcoded | does anyone know when the downloads will be back up? | 11:25 |
tomreyn | qrcoded: hi. what are you trying to download that's not working out? | 11:26 |
qrcoded | desktop download is giving me a 503 | 11:27 |
tomreyn | got a url? | 11:27 |
tomreyn | okay, i found it https://ubuntu.com/download/desktop/thank-you?version=24.04.1&architecture=amd64<s=true | 11:27 |
qrcoded | https://ubuntu.com/download/desktop or https://ubuntu.com/download/desktop/thank-you?version=24.04.1&architecture=amd64<s=true | 11:27 |
qrcoded | yeah, i have a 503. i'm nearby chicago | 11:28 |
tomreyn | what did you try to download exactly? | 11:28 |
tomreyn | there are mirror servers you can use | 11:28 |
qrcoded | 24.04.1 LTS | 11:28 |
tomreyn | desktop? server? amd64? | 11:29 |
tomreyn | https://releases.ubuntu.com/noble/ | 11:30 |
qrcoded | desktop | 11:30 |
tomreyn | you probably want https://releases.ubuntu.com/noble/ubuntu-24.04.1-desktop-amd64.iso | 11:31 |
tomreyn | checksum is https://releases.ubuntu.com/noble/SHA256SUMS - the cryptographic (GPG) signature on that is https://releases.ubuntu.com/noble/SHA256SUMS.gpg | 11:31 |
tomreyn | https://ubuntu.com/tutorials/how-to-verify-ubuntu | 11:32 |
tomreyn | qrcoded: does this provide what you were looking for? | 11:33 |
qrcoded | yes, thanks | 11:33 |
tomreyn | great. i've passed on your report - thanks! - to the folks who can fix it, they were already on it. | 11:35 |
guest0101 | how do I get thumbnails to show through a samba share ? | 11:51 |
guest0101 | solved | 11:56 |
=== Elizabeth is now known as Eliz | ||
=== Eliz is now known as Elizabeth | ||
BluesKaj | Hi all | 13:18 |
ubuntuuser101 | Hi, whats everybody's opinion on cosmic? will you use it, do you think ubuntu will either support a distribution with cosmic like kubuntu or will make cosmic default environment when ready and stable | 13:22 |
lotuspsychje | !discuss | ubuntuuser101 | 13:24 |
ubottu | ubuntuuser101: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! | 13:24 |
ubuntuuser101 | ok | 13:24 |
smecin | CLASSIFIED NEWS 0DAY , SOURCE CODE , ASTARAOS , GAME AND MILITARY FROM [ 0day (xc) Our ] Release to Public ... . https://x.com/skraito3 ... . Enjoy ... . | 13:37 |
lotuspsychje | !ops | smecin | 13:39 |
ubottu | smecin: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant | 13:39 |
nutella | hey there. I run ubuntu 24.04 on my lenovo x1 gen 12. I run into frequent system freezes which requires me to hard reset my pc. Here is the kernel log: https://pastebin.com/CjvT5cEr any ideas? | 14:51 |
lotuspsychje | nutella: maybe also share your full dmesg in a paste, so the volunteers can debug better | 14:53 |
lotuspsychje | nutella: sudo lshw -C video , might also be useful to see | 14:54 |
tomreyn | nutella: which kernel version? is the bios up to date? did you inspect those hardware errors further, yet? | 15:02 |
nutella | lotuspsychje, sorry took me a bit to extract the logs: https://pastebin.com/V1C0SwcB | 15:04 |
nutella | tomreyn, I think it startet wiht the last kernel update. I since then have a phantom monitor which I need to remove manually often and the freezes keep happening | 15:04 |
nutella | Linux nutella-ThinkPad-X1-Carbon-Gen-12 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux | 15:05 |
nutella | tomreyn, usually ubuntu gave me the bios update. But I haven"t seen on in a long time now | 15:05 |
roped | In Ubuntu 24.04.1, how to install the proprietary driver for this card NVIDIA Corporation GF108 [GeForce GT 430] | 15:06 |
roped | The installer promised me to download video drivers, but fresh installed Ubuntu is running on nouveau now | 15:06 |
nutella | tomreyn, i checked the firmware update app. there are indeed updates available. Funny it din"t ask me anymore or war me that new stuff is available. maybe I have deactivated this by accident | 15:07 |
tomreyn | nutella: hmm, those DMAR records don't look too good. it would be better to be able to look at the first lines of a kernel log, as in journalctl -kb | nc termbin.com 9999 | 15:07 |
nutella | tomreyn, https://termbin.com/ta4i | 15:08 |
tomreyn | roped: i'm not much into nvidia hardware, but if this is old, then it may be no longer supported by nvidia, and falling back to nouveauis the only option | 15:09 |
roped | with nouveau I get a lower res than my display supports and it breaks my eyes | 15:09 |
roped | this is old yes | 15:10 |
roped | 10+ years I think | 15:10 |
nutella | tomreyn,do not even know what DMAR is | 15:11 |
nutella | Can you see something from the termbin log? | 15:11 |
nutella | I updated now the firmware would need to reboot | 15:12 |
tomreyn | nutella: https://pcsupport.lenovo.com/gb/en/products/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x1-carbon-12th-gen-type-21kc-21kd/21kc/21kccto1ww/downloads/ds566352-bios-update-utility-bootable-cd-for-windows-11-thinkpad-x1-carbon-12th-gen-type-21kc-21kd?category=BIOS%2FUEFI is the latest bios, version 1.37, n3yuj12w, released 2024-12-05. you currently have N3YET66W (1.31 ) 06/13/2024. for the changelog, refer to https://download.leno | 15:14 |
tomreyn | vo.com/pccbbs/mobiles/n3yur12w.html sections "changes in this release" and "version information" | 15:14 |
tomreyn | https://download.lenovo.com/pccbbs/mobiles/n3yur12w.html | 15:14 |
tomreyn | nutella: DMA (direct memory access) remapping, which is IOMMU related. | 15:15 |
tomreyn | nutella: i'm still reading the log you shared, will ping you if i find anything useful, and when i'm done | 15:16 |
nutella | thank you tomreyn. I will back shortly. doing a reboot. | 15:17 |
tomreyn | roped: so what i wrote above applies. nvidia, who only provide proprietary (non open source, so only they can support them really) linux drivers for old hardware, could fix this, but they stopped supporting those old GPUs. | 15:18 |
roped | tomreyn, I know for a fact that other distros have legacy nvidia drivers in repos, doesn't Ubuntu have something like that as well? | 15:19 |
lotuspsychje | roped: ubuntu-drivers list, still gives something? | 15:19 |
roped | maybe a ppa? | 15:19 |
lotuspsychje | !nvidia | roped | 15:19 |
ubottu | roped: Drivers for Nvidia graphics cards: (A) No gaming/CAD/CUDA needed or legacy hardware? Use "nouveau" (open source, lacks many features). (B) Otherwise, "nvidia" (proprietary driver, fully featured). Install using "ubuntu-drivers" CLI or apt - not from nvidia.com. Driver series, hardware support (release notes): https://www.nvidia.com/en-us/drivers/unix/ - Latest drivers !PPA: https://pad.lv/ppa/graphics-drivers | 15:19 |
roped | lotuspsychje, nop, and the "additional drivers" GUI neither | 15:20 |
lotuspsychje | then im affraid what tomreyn just stated will be the fact | 15:20 |
tomreyn | roped: old ubuntu release may have old drivers, but due to their (proprietary) nature, compatibility, and also security, fixes can be difficult/impossible | 15:21 |
roped | there's a microscopic chance I can find a slightly newer one in the cellar, a GT730 instead of a 430, do I have more chances with that or that is still tool old as well? | 15:22 |
tomreyn | anythnig on this list falls into the 'no longer supported' category https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/ | 15:24 |
pragmaticenigma | roped: The card no longer has official support for drivers from NVidia. You'll have to research which driver specifically was last supported by an official driver, and attempt to download that. The card should be fully supported under the open source drivers at this point, resolution issues may point to other problems. | 15:24 |
roped | pragmaticenigma, but I may get in trouble if that last old binary driver won't play nice with this newer kernel that ships with Ubuntu, correct? | 15:25 |
roped | I used to do it in another distro by making that .run file executable and just running it, worth trying I guess | 15:26 |
nutella | tomreyn, back | 15:29 |
=== akuma is now known as Guest4361 | ||
Guest4361 | hi | 15:38 |
Guest4361 | a | 15:39 |
=== Guest4361 is now known as Akuma | ||
=== Akuma is now known as Guest4662 | ||
Guest4662 | hello guys | 15:42 |
Guest4662 | hello | 15:42 |
tomreyn | nutella: okay, i finished reading your early kernel log, found this to be noteworthy: https://bpa.st/DT2A | 15:43 |
tomreyn | nutella: lines 1-5 are just informational, no issue there. lines 7-10 suggest a hardware error regarding your installed memory chips was recorded and should be examined further, lines 12-43 indicates problems during PCIe and USB controller / device enumeration, line 45 either states you have a thunderbolt dock port available or it is connected, not sure - do you? | 15:47 |
nutella | tomreyn, yes that thunderbold dock is connected. correct | 15:47 |
nutella | thanks so much for debugging! So this could be a hardware error? | 15:48 |
tomreyn | lines 47-50 are just informational, lines 52-56 again refer to the hardware error | 15:48 |
tomreyn | let me complete the list quickly | 15:48 |
nutella | i upgraded to bios 1.37. So I'm on latest version now | 15:49 |
tomreyn | line 58 suggests the bios is setting up this ACPI table (a method for the BIOS to "talk to" / "provide information to" the OS) incorrectly | 15:49 |
tomreyn | line 61 is an intel iGPU graphics pipe buffer underrun, line 63 i'm not sure whatwas suppressed exactly, lines 64-65 is a cupd-proxyd segmentation fault during early boot, this is probably just a software bug. | 15:51 |
tomreyn | lines 67-74 is an intel iGPU hang / (potentially recoverable) freeze, which apparently was recovered fine. line 75-76 look like usb disconnects which are software based, not because you removed something manually (i'm guessing this because it's during early boot) | 15:53 |
tomreyn | nutella: so that's that. in https://pastebin.com/raw/V1C0SwcB we see that (later on) your GPU ran into timeouts again several times. this is uaully more of a firmware issue than a hardware one. | 15:55 |
tomreyn | (but could be either) | 15:55 |
tomreyn | these GPU issues will be critical enough to make the system unreliable and annoying to use for you | 15:56 |
tomreyn | nutella: now that you upgraded the bios, do you see any improvement, yet? | 15:57 |
nutella | tomreyn, i startet the stuff I usally start and where I see problems quite fast. Until now all good | 15:57 |
nutella | awseom whatnks for the help. Lets hope the firmware update now solved it! | 16:00 |
tomreyn | nutella: good to hear this. if it later turns out not to be, please come back, sum up the issue again and share journalctl -kb | nc termbin.com 9999 and journalctl -b -p3 | nc termbin.com 9999 | 16:00 |
nutella | I will. thanks once more! | 16:00 |
tomreyn | if so, also try to disconnect the TB dock and any USB/TB hubs and see whether it's stable then | 16:00 |
nutella | actually it happens also without the dock | 16:00 |
tomreyn | that was before the firmware upgrade, you're starting with a fresh plate now | 16:01 |
nutella | right. true | 16:01 |
tomreyn | well, good luck! | 16:01 |
nutella | thank you! | 16:02 |
tomreyn | you're welcome :) | 16:03 |
Chosi | welp - so apparently whenever I use ms teams, web or standalone my pc randomly freezes completely. anyone ever heard of that? only happens with teams. not sure if it's the webcam driver or whenever I share something but nothing in the journal either, it just hangs hardcore. | 16:05 |
Chosi | 24.10, 6.11 kernel, nvidia 560 drivers, ryzen 9800x3d | 16:06 |
tomreyn | Chosi: i had similar symptoms in the past, but on a very different platform, so this will be unrelated. i guess without more info on what is failing it will be difficult to look into this. does this not output anything possibly related? journalctl -b -p3 | 16:10 |
Chosi | booting over to check it out, but i doubt it manages to write something to the journal. could basically be all kinds of hardware :S | 16:24 |
webchat52 | 444 | 16:30 |
tomreyn | Chosi: in case the system does not freeze fully, if you have an ssh server running, you could connect to it from another device and check dmesg there | 16:43 |
Chosi | no it's completely like hardware deadlocked | 16:43 |
Chosi | also nothing in the journal unfortunately at that point | 16:43 |
lotuspsychje | or recoverymode? | 16:43 |
tomreyn | Chosi: also, next time it happens, use magic sysrq to get a chance to persist something on the logs | 16:43 |
tomreyn | !sysrq | 16:43 |
ubottu | In an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key | 16:43 |
tomreyn | test magic sysrq by switching to TTY3 and pressing Alt+PrintScreen+H - it should print a one-line message on the screen | 16:44 |
Chosi | ah, reisub persists something? worth a shot, thanks | 16:45 |
tomreyn | REI are nowadays disabled by default | 16:45 |
Chosi | ah, i barely need them, luckily :) | 16:53 |
mysterty | Hello, i'm trying to install OBS-studio on ubuntu with Kde. But essential docks (chat, stream info, etc) doesn't works. I tried reinstall Kde Neon. Also tryed Kubuntu. It seems specifics to KDE cause it works on avery others install of ubuntu, mint, debian, fedora... But not with KDE néon or Kubuntu. Do you have an idea to fix it ? | 17:00 |
oerheks | obs snap version? | 17:02 |
mysterty | @oerheks i tried Snap, Flatpack, and Ubuntu deps, it's the same with all of them | 17:03 |
oerheks | on obsproject pages i read a lot about issues, " I changed the Audio Encoder to FFmpeg AAC, and the Video Encoder to NVIDIA NVENC H.264 (FFmpeg) at 1920x1080 under Output Mode Advanced - Streaming" | 17:05 |
oerheks | for the chat part i have no clue | 17:07 |
mysterty | @oerheks i have no choice , for audio i have only AAC, for video i have only "logiciel x264" | 17:13 |
=== NDPZenB00k is now known as NDPZenBook | ||
mysterty | @oerheks can you paste the link ? Maybe there is a chan more accurate ? | 17:32 |
=== kiska39 is now known as kiska3 | ||
=== freakyy853 is now known as freakyy85 | ||
=== realivanjx7 is now known as realivanjx | ||
=== Anthaas9 is now known as Anthaas | ||
=== redeuxx5 is now known as redeuxx | ||
=== vzq8 is now known as vzq | ||
=== fauxpride- is now known as fauxpride | ||
=== kimiamania8 is now known as kimiamania | ||
=== daveflix7 is now known as daveflix | ||
=== bahamat_ is now known as bahamat | ||
=== barazen is now known as spx | ||
=== mrelcee_ is now known as mrelcee | ||
=== ryan-c` is now known as ryan-c | ||
=== wolfdale8335 is now known as wolfdale833 | ||
=== realies9 is now known as realies | ||
=== cambam1005625 is now known as cambam100562 | ||
=== redlegion_ is now known as redlegion | ||
Guest80 | bjkl | 18:16 |
Guest80 | :b | 18:16 |
=== dex is now known as deex | ||
deex | h | 18:26 |
nutella | tomreyn, it happened again right after we stopped chatting. https://termbin.com/c3w9 and https://termbin.com/2ttu | 18:34 |
pragmaticenigma | nutella: does any of that happen without the dock attached to the machine? | 18:35 |
nutella | pragmaticenigma, it did actually. I'm now agasin without dock and will observe if it happens again | 18:36 |
nutella | these are again the last lines from the log rigt after total freeze https://pastebin.com/KxPycJB8 | 18:38 |
nutella | perhaps this is the problem: https://askubuntu.com/questions/1534464/laptop-freezes-with-error-render-timed-out-waiting-for-forcewake-ack-request the error message fits and also the problems match | 18:58 |
pragmaticenigma | do you have any wake on lan features enabled? | 18:59 |
pragmaticenigma | or any wake on* action to automate the process of turning on the machine? | 18:59 |
nutella | pragmaticenigma, hmm not that I knew. How can I see that? | 19:01 |
pragmaticenigma | those types of things would be available in BIOS/UEFI settings | 19:03 |
gianluca_ | hi | 19:03 |
topcat001 | wake on lan can be tested in software using ethtool. `ethtool interface | grep Wake-on` | 19:08 |
topcat001 | nutella: 6.8 is a bit old for that machine IMO, but the hwe kernels should be out soon. Worth a try. | 19:09 |
enigma9o7 | topcat001, how do you know about when hwe kernel will be out for lts? | 19:10 |
topcat001 | In the meanwhile, I wonder if tweaking the GUC settings will have an effect. See, for example, https://wiki.archlinux.org/title/Intel_graphics#Enable_GuC_/_HuC_firmware_loading | 19:11 |
topcat001 | enigma9o7: I don't know exactly, but historically it's a few months after the new LTS release, so it's about time. | 19:11 |
nutella_ | topcat001, happened again: https://pastebin.com/Qp56p7Nq | 19:12 |
nutella_ | topcat001, it all went nuts with the last kernel update imo. kernel before was ok | 19:12 |
topcat001 | nutella_: do you still have the older kernel to test that it's still stable? | 19:12 |
nutella_ | topcat001, i think I have it. I can test it. | 19:13 |
enigma9o7 | I thought historically it came out when next interim ubuntu came out, but that hasn't happened yet. I've been curious but dont follow whatever lists are discussing it, i guess I should search, convinced myself that while typing this. | 19:14 |
topcat001 | I'd play with the guc settings to see if it helps, otherwise stay on the older kernel for a bit, and try the next update (hwe or regular) when it comes out. | 19:14 |
nutella_ | topcat001, thx for the link. Will read trough. but prefer not to mess around too much | 19:14 |
topcat001 | nutella_: you can apply the kernel options by editing the grub cmdline on the fly, so the changes won;t be permanent. Do not change grub.conf | 19:15 |
pragmaticenigma | unless it's a published schedule or been announced on an official Ubuntu release channel, when things get released are anyone's "best guess" | 19:15 |
nutella_ | topcat001, ok I see that would be an option yes | 19:15 |
topcat001 | y I was guessing :) but I'm hopeful | 19:15 |
topcat001 | I noticed a message from the guc firmware in the failure log; that's why I suggested flipping it on/off to see if it makes a difference. | 19:17 |
topcat001 | there is also the `linux-mainline` kernel to try as it is the latest. | 19:17 |
nutella_ | topcat001, trying the hwe one, could that solve it? I think these are newer usually, or? | 19:20 |
oem_ | good evening | 19:24 |
oem_ | hello | 19:24 |
topcat001 | nutella_: yes typically. BTW please first try the option `iommu.strict=1` on the grub cmdline if you have freezes with any of these kernels. | 19:24 |
root | hi | 19:25 |
=== root is now known as Guest7187 | ||
Guest7187 | i use HexChat | 19:26 |
nutella_ | topcat001, ok tahnks. I will try that tomorrow! | 19:27 |
Guest7187 | hi @kpmt01 | 19:36 |
Guest7187 | Client: HexChat 2.16.2 • OS: Ubuntu "noble" 24.04 • CPU: Intel(R) Xeon(R) Platinum 8358P CPU @ 2.60GHz (2.59GHz) • Memory: Physical: 1.9 GiB Total (1015.8 MiB Free) Swap: 500.0 MiB Total (499.8 MiB Free) • Storage: 35.6 GB / 516.0 GB (480.4 GB Free) • VGA: 1234:1111 @ Intel Corporation 440FX - 82441FX PMC [Natoma] • Uptime: 14m 13s | 19:36 |
kpmt01 | hi | 19:38 |
Guest7187 | hi | 19:38 |
oerheks | !rootirc | 19:38 |
ubottu | It's not technically our business, but we'd like to tell you that IRC'ing as root is a Very Bad Idea (tm). After all, doing anything as root when root is not needed is bad, and especially bad with software that connects to the Internet. | 19:38 |
Guest7187 | This is my first time using hexchat | 19:39 |
oerheks | welcome to ubuntu support, do you have a support question? | 19:40 |
Guest7187 | sorry I'm Italian there is a channel that doesn't talk about ubuntu support I thought it was one of those channels | 19:42 |
Guest7187 | sorry when I need support I'll come here | 19:42 |
oerheks | we have #ubuntu-offtopic too | 19:42 |
ThauBrowserWylth | The more social channels are #ubuntu-discuss and #ubuntu-pfftopic. Or mostly just that offptic one. | 19:42 |
Guest7187 | thank you | 19:42 |
oerheks | have fun! | 19:42 |
ThauBrowserWylth | Wooooops. | 19:42 |
topcat001 | nutella_: good luck. I'm hoping you find a solution. | 19:46 |
nutella_ | topcat001, thanks man! | 19:53 |
=== neocharlesalt is now known as neocharles | ||
=== neocharlesalt is now known as neocharles | ||
Ben64 | hello, running 24.04, have a python script that when I run it, it triggers a crash report, how can i stop this from occurring? | 20:06 |
tomreyn | you could fix the script so it doesn't crash | 20:07 |
pragmaticenigma | Ben64: might be a better question for #python ... my guess is the script throws an exception, it's going to trigger the crash report since Python wouldn't have cleanly exited. | 20:08 |
Ben64 | ok but when it errors i don't need a bunch of popups | 20:08 |
pragmaticenigma | then properly capture your exceptions... again, something #python probably could help you with | 20:09 |
Ben64 | :| | 20:09 |
ThauBrowserWylth | Does a popup mean that your DE has its highlight queue set up to appear on top of your active windows? Or something Python or some sort of runtine environment related? | 20:10 |
oerheks | add the following 'scriptname 2>/dev/null' If it crashes all data sent to /dev/null | 20:10 |
pragmaticenigma | Ben64: the crash reporting is an all or nothing, disabling wouldn't be wise, when other applications you are using crash, there would be no way to notify you of a problem. | 20:10 |
Ben64 | it just seems silly to me to report a random python script | 20:11 |
oerheks | ugly solution | 20:11 |
pragmaticenigma | Ben64: I just ignore the popups... I also use an IDE that typically captures those exceptions so they don't bubble up to the OS | 20:11 |
Ben64 | wrapping everything in a try: except: pass i guess. was hoping i could disable it just for this script or maybe python in general | 20:12 |
pragmaticenigma | Ben64: Again... #python probably can help you avoid that and come up with a better solution. This channel isn't suited for development questions like that. | 20:14 |
ThauBrowserWylth | Once more - what is this popup we are talking about? Is it simply the announcement box of your regular DE? | 20:14 |
ThauBrowserWylth | Because if it is, this maybe an easy thing. | 20:14 |
Ben64 | Crash report - Sorry, the application foo.py has stopped unexpectedly | 20:15 |
ThauBrowserWylth | Yes, but what is it? I mean like physically, as an object. As much as physical makes sense here. | 20:15 |
Ben64 | a crash report window? not sure what you're asking | 20:15 |
ThauBrowserWylth | I'm not sure, either. And this seems to be the problem. I was mainly thinking that if it is simply one of the announcement feeds generated by your DE, then this might be an easy thing. | 20:16 |
pragmaticenigma | ThauBrowserWylth: it's from a single emitted from a system level monitor | 20:17 |
ThauBrowserWylth | Because you can usually configure your DE feed to not have input from very widely configurable set of things. | 20:17 |
Ben64 | it does pop up what i would call a "notification" too, but that's a lot less intrusive than a window or many windows | 20:17 |
pragmaticenigma | "just turning it off" would require a recompilation of the desktop environment, which would be out of scope for this channel. | 20:18 |
tomreyn | https://github.com/canonical/apport/blob/main/README.md is what you're talking about | 20:19 |
tomreyn | also discussed here https://www.baeldung.com/linux/apport-enable-disable - but i also recommend against disabling it system-wide | 20:20 |
oerheks | 'scriptname 2>/dev/null' | 20:20 |
tomreyn | oerheks: this would not change its exit code | 20:21 |
oerheks | not change but surpress? | 20:21 |
pragmaticenigma | oerheks: no... sys.exit() is called on exception, which is a signal to the kernel... can't be supressed like that | 20:22 |
tomreyn | it would redirect stderr to /dev/null, not change the processes exit code | 20:22 |
Ben64 | yeah wouldn't want to disable it system wide | 20:23 |
tomreyn | you probably just need "import sys" + "sys.exit(0)". but that's for #python | 20:24 |
Ben64 | I can handle the python part knowing that I can't fix the ubuntu side of it lol | 20:25 |
tomreyn | the ubuntu part isdoing what it should do: handle the event of programs exiting uncleanly. your issue is that the python script isn't exiting cleanly. | 20:26 |
ThauBrowserWylth | Maybe not. It might also be about what is showing up in the DE feed. | 20:26 |
=== Game11454227 is now known as Game1145422 | ||
pragmaticenigma | ThauBrowserWylth: There is not "DE Feed" ... I have no idea to what you are referring to | 20:29 |
ThauBrowserWylth | Let me check what those things are called. | 20:31 |
pragmaticenigma | ThauBrowserWylth: it wouldn't matter, the emitted is apport, what i presume you are referring to is DBUS... and the listener on DBUS is looking for apport... not python... so disbling it would be the disablement of system wide notifications | 20:33 |
ThauBrowserWylth | I guess they are called simply notifications. Anyways, typically you can choose to not show some of them based on origin, no? Because if not, that sure sounds a little bit mysterious. | 20:36 |
ThauBrowserWylth | I mean assuming the problem is the notifications appearing, not the actual OS level handling or the fact that a program has an exit code other tan 0. | 20:36 |
enigma9o7 | if you have something that always exits nonzero, you can wrap it in a bash script that calls it then exits | 20:37 |
enigma9o7 | if you dont want the error notification | 20:38 |
enigma9o7 | (if you dont want to fix what's causing it) | 20:39 |
pragmaticenigma | ThauBrowserWylth: I just said, the origin would be apport, which would disable all notifications from the system monitor notifying of other issues with the machine. it's a very bad idea | 20:39 |
ThauBrowserWylth | It sure sounds mysterious if this kind of thing cannot be be done simply for items that include the name <some_known_distinct_name>.py. But all right. | 20:42 |
pragmaticenigma | ThauBrowserWylth: it's not mysterious at all... apport monitors the entire system for exceptions and other signals emitted from applications that emit an unclean exit from execution. It is agnostic to what triggered the failure as to ensure that it collects the machine's state at the time of failure. It doesn't try to pinpoint the problem as it doesn't know what really triggered the problem. it's purpose is to collect logs and other | 20:46 |
pragmaticenigma | system information and state at the time of failure and prepare it for submission as a bug report. | 20:46 |
pragmaticenigma | it then puts a notice on a DBUS for a listener to pick up on in the user level | 20:46 |
hid3 | Greetings everyone. My 24.04 LTS has some stuff in /etc/motd file (it's not a symlink). Yet there are some scripts made by me in /etc/update-motd.d directory as well. The problem: upon login, the contents of /etc/motd are appended to the end of outout of the scripts which are in /etc/update-motd.d directory. I'd like the contents of /etc/motd to be displayed at the top (_before_) all the other stuff contained in /etc/update-motd.d. | 21:22 |
hid3 | Any ideas how to change this behaviour? | 21:23 |
pragmaticenigma | put your stuff in /etc/update-motd.d with a lower numerical value from the other present items | 21:26 |
pragmaticenigma | hid3: such as /etc/update-motd.d/01-local-custom-motd | 21:27 |
hid3 | pragmaticenigma: problem is that /etc/motd contains company stuff related to each server, and this is estate-wide. Some compliance checks check this file and contents of it (specifically /etc/motd). So altering the file isn't best idea. Maybe there's a way to just somehow alter dynamic motd creation order? So that contents of /etc/motd would be taken first, then dynamic stuff from /etc/update-motd.d dir appended | 21:29 |
pragmaticenigma | hid3: motd is pretty much deprecated, available for legacy. I'd suggest an organization change to catch up with the newer approach | 21:37 |
pragmaticenigma | the /etc/motd | 21:37 |
pragmaticenigma | hid3: if you don't need the other motd information displayed, you could also disable them with `chmod -x /etc/update-motd.d` and then only the contents of /etc/motd would be displayed | 21:40 |
pragmaticenigma | hid3: * disable them with `chmod -x /etc/update-motd.d/*` (forgot wildcard, very important) | 21:41 |
oerheks | i think you find enough blog posts about /etc/motd and delete spam... | 22:10 |
oerheks | *if you think it is spam | 22:10 |
pragmaticenigma | right; however, Ubuntu documentation recommends using the newer update-motd for motd messaging. /etc/motd is no longer provided in new installs. | 22:30 |
pragmaticenigma | and neither is /run/motd provided anymore | 22:32 |
oerheks | good | 22:32 |
stormy | hi | 23:52 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!