Linux - Reddit – Telegram
Linux - Reddit
770 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
To people that donate to OSS, what platform do you prefer to use to donate?

I am asking since I've only setup GitHub Sponsors for my project, but I feel like some people might not want to use that and I want to give at least one more choice to give the user a bit more freedom regarding that.
Thank you!

https://redd.it/1lqvhrj
@r_linux
i915 Error: GUC: TLB invalidation Causes OS to Hang

A number of users, including myself, have been experiencing an issue where the OS becomes unresponsive, nothing is clickable, but the mouse is still able to move. Rebooting the PC is required in order to restore functionality. This happens approximately once a day, often after waking from sleep. The journald error log is included below, as well as reports of this issue and attempted fixes from other users.

The maintainer of i915-sriov-dkms (https://github.com/strongtz/i915-sriov-dkms/issues/118) traced the fix of this issue to https://github.com/intel/linux-intel...1e5c99f666068e. The commit is summarized below:

>The GuC firmware had defined the interface for Translation Look-Aside Buffer (TLB) invalidation. We should use this interface when invalidating the engine and GuC TLBs. Add additional functionality to intel\_gt\_invalidate\_tlb, invalidating the GuC TLBs and falling back to GT invalidation when the GuC is disabled. The invalidation is done by sending a request directly to the GuC tlb\_lookup that invalidates the table. The invalidation is submitted as a wait request and is performed in the CT event handler. This means we cannot perform this TLB invalidation path if the CT is not enabled. If the request isn't fulfilled in two seconds, this would constitute an error in the invalidation as that would constitute either a lost request or a severe GuC overload.

>With this new invalidation routine, we can perform GuC-based GGTT invalidations. GuC-based GGTT invalidation is incompatible with MMIO invalidation so we should not perform MMIO invalidation when GuC-based GGTT invalidation is expected.

What would be the best course of action to resolve this issue for regular users, ideally without rebuilding the kernel?

System Info
OS: Fedora Linux 42 (Workstation Edition)
Firmware Version: R2DET38W (1.23 )
Kernel Version: Linux 6.14.11-300.fc42.x86_64
Windowing System: Wayland
CPU: Intel Core Ultra 7 155H
iGPU: Intel Arc graphics
GPU: NVIDIA RTX 500 Ada Generation Laptop GPU 4GB GDDR6 (Nvidia driver installed)

journald error log when OS becomes unresponsive:

Jul 02 16:16:33 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85162
Jul 02 16:16:35 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85163
Jul 02 16:16:38 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85165
Jul 02 16:16:38 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85164
Jul 02 16:16:39 fedora kernel: Fence expiration time out i915-0000:00:02.0:gnome-shell[3281]:92f2!
Jul 02 16:16:40 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85167
Jul 02 16:16:40 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85166
Jul 02 16:16:42 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85168
Jul 02 16:16:42 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85169
Jul 02 16:16:44 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85170
Jul 02 16:16:46 fedora kernel: i915 0000:00:02.0: [drm] *ERROR* GT0: GUC: TLB invalidation response timed out for seqno 85171
Jul 02 16:16:47 fedora kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:0:00000000
Jul 02 16:16:47 fedora kernel: i915 0000:00:02.0: [drm] GT0: Resetting chip for stopped heartbeat on rcs0
Jul 02 16:16:47 fedora kernel: i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.44.1
Jul 02 16:16:47 fedora kernel: i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
Jul 02 16:16:47 fedora kernel: i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled

Reports of this
issue have been made around the web, including attempts to resolve it, but none were successful. They are documented below:

* Updating `GRUB_CMDLINE_LINUX_DEFAULT` parameters "i915.enable\_guc=0", "i915.enable\_fbc=0 i915.enable\_psr=0", "intel\_idle.max\_cstate=1" & "i915.enable\_dc=0", as well as removing all Gnome extensions. (https://www.reddit.com/r/Fedora/comm...on\_zenbook\_14/)
* Same user also reported kernel 6.15.4-200.fc42.x86\_64 exhibits same issue, but without "GPU HANG" message or journal & dmesg logs. They also tried an older driver and increasing timeout with no avail.
* Disabling VT-d and changing to kernel version 6.13.5 on Ubuntu (https://askubuntu.com/questions/1534...ke-ack-request)
* User confirms it is occurring on both Wayland and X11 on System76 (https://www.reddit.com/r/System76/co...yland\_freezes/)
* Setting intel\_idle.max\_cstate=1 (https://www.reddit.com/r/Ubuntu/comm...th\_intel\_core/)
* Lenovo Support also noted the issue with suggested fixes (https://forums.lenovo.com/topic/find...360254/6570223)
* User speculates issue is related to QEMU, but QEMU maintainer noted the issue is unrelated (https://github.com/intel/linux-intel-lts/issues/54, [https://gitlab.com/qemu-project/qemu/-/issues/2722](https://gitlab.com/qemu-project/qemu/-/issues/2722)

https://redd.it/1lqvxdi
@r_linux
Video Making/Streaming/Modeling PC Build Advice?

Just gonna cut straight to the chase. I'm building a PC since my Lenovo Legion 5 Pro Laptop from 2021 died. I'm building a PC for video making, streaming, gaming, and i even want to try my hand at modeling in Blender. So I decided on these specs.

Please keep in mind that this build is basically what it came down to when it came to MY personal needs.

I7-14700K
RTX 5070 Ti
Thermalright Peerless Assassin SE Arg 120 Cooler
32gb ddr5 Corsair ram
2tb ssd
4tb ssd
Corsair rm850x
Asus rog strix z790-a gaming wifi ii motherboard ddr5 lga 1700
Gigabyte M27QX just including the monitor for good measure

That's my build really. And originally I was gonna go for the obvious OS Choice, Windows, but i slowly became more excited about getting Linux, especially since the Steam Deck Oled i have had for over a year and half now has Linux on it. Which I recently have decided to dock and treat it like a regular PC.

I originally was thinking Arch, but at the end of the day, while I hate telemetry and I love privacy and don't want bloated apps like Windoes and have less performance, I don't really want to tinker around too much with this thing except for occasional stuff.

I was thinking Manjaro but my eyes was set back to Endeavor because it seems cool, looks cool and isn't a starter OS like Ubuntu or Mint. Which at this point I don't think I need to go that route anymore.

Anyway, tell me what you guys think! ^^

https://redd.it/1lr4ae0
@r_linux
Texteditor like Notepad++ or better?

i try to list most of the important features such a text editor should have:
\- doesn't blind you aka has a dark background or even workspace styles to customize ("dark mode" - how there's still editors out there without one is beyond me!)
\- has line numbering with markings for important lines and wrapping tags you're not working in is also nice
\- has code languages that mark/colorizes text (syntax highlighting)
\- autocomplete tags, autotab/space new lines (to match previous and improve readability), offers text autocomplete based on available/used keywords in the document (not just typed in ones, but also not from a full list of possible entries - just in the document used or added ones are enough!)
\- compare functionality, or at least being able to display documents side by side with locked scroll
propably forgot so many features i got used to, but those are the primes i'm missing outright from the alternatives i tried:
Notepadqq, Notepad Next, Kate, Kwrite, Vim, Okular, ...some more popular ones that are easily available via discover i don''t remember, SublimeText outright refused to take inputs even and needed to be force terminated! xP (installed via discover)

i tried dedicated mergers like Meld, since Notepad++'s Compare Plus also got worse than Compare way back in the day, i wonder what's so hard about checking lines and detect matching ones even across the document and mark them as moved? - also Meld seems to be very easy to confuse when there's code in one document that's not in the other, something even the compare plugin simply marks as added or removed code! - so i definitively need a program/plugin that is able to register that - but would also like to get a compare tool that is as good as the old Compare Plugin and doesn't get confused by unordered files as easily (like some programs simply spit out their code partly in semi-random order, but still have to compare it manually! xP) and can detect moved code across the document!

https://redd.it/1lr76x3
@r_linux
youtube playback with huge dropped frames with linux (ubunutu, linux mint, zorin) on intel N4020 but smooth on chromeos flex

I have an old laptop with N4020 with windows 10. As windows 10 support is ending soon, I have decided to install linux on it. I have tried ubuntu, linux mint and zorin but on all on them youtube video playback is horrible. I have huge dropped frames even at 240p. I have enabled hardware acceleration on firefox. It is slightly better on chrome but still horrible and unwatchable.

On windows 10, I can play up to 720p pretty smoothly with occasional stutter mainly when switching to fullscreen.

On chromeos flex, the video playback is smooth as butter... I can even play video at 1080p!

Why is there such a huge difference between Linux and windows and chromeos?

At this point, I am considering using chromeos as my main OS with linux environment enabled on it (but linux is quite limited on it. ex. gparted does not work)

https://redd.it/1lraias
@r_linux
Xbox game pass on linux

Has anyone managed to play Xbox game pass on Linux? I have a MS Game pass subnoscription on my Windows but I want to play them on my Linux distro.

Any luck anyone? I saw something online about electron client but wasn’t sure.

https://redd.it/1lrc8on
@r_linux
A little helper in Linux called Dia!

Let me tell you a little story about a quiet helper I’ve used for years on Linux. It’s called Dia. At first glance, it looks like just another diagram editor. But stick with it and there's more to this little gem than meets the eye.

Yes, you can draw with Dia. Proper flowcharts. Network diagrams. Timelines. Process maps. It’s great at all that.

But here’s where it gets interesting.

Dia handles layers. You can paste a calendar behind your diagram and sketch your week out visually. Drop in your TaskJuggler Gantt chart or project export, and annotate right over it. Planning becomes visual and fun. You can even slap a screenshot into the canvas and start drawing arrows, notes, or little reminders like a digital whiteboard that’s always yours.

No cloud. No logins. No surprise updates. It just runs. Even in Wayland, thanks to XWayland. And it saves everything locally, so your thoughts are always within reach.

Over the years, I’ve tested slick project tools, polished image annotators, and web-based whiteboards. Some were powerful. Some were pretty. But somehow, I always end up back with Dia.

It’s not flashy. It’s not modern. But it’s calm, it’s fast, and it respects your space. I use it for everything from sketching quick ideas to laying out serious plans.

If that sounds like your kind of tool, give it a try:
https://wiki.gnome.org/Apps/Dia

(This is not an Ad but an underappreciated use case that empowers Linux users)





https://redd.it/1lrdoql
@r_linux
Working on a Linux installer for Windows that doesn't require a USB stick
https://rltvty.net/installlinux.html

https://redd.it/1lrexrl
@r_linux
How do I set application priorities with KDE System Monitor?

Hello there, I use KDE on Arch and I was just wondering how I set priorities through the system monitor? The option is greyed out which is rather annoying and I cant seem to find out how to enable/use it. I know how to set system priorities with nice and renice, but being able to quickly chance with the system monitor would make my life quite a bit easier.

Thanks

https://redd.it/1lri8j8
@r_linux
Missing apple music on linux

I have an apple music account and i used it on my phone but now i wanna use it on my linux mint machine, i saw cider, but it costs 3.50$, I cannot pay that as that's a lot of money for me, So is there a crack available for that? or any other good software alternative???

https://redd.it/1lrjnmo
@r_linux
Follow up: DE Free Arch on Surface Go
https://redd.it/1lrm9xa
@r_linux
Remember when the only way to have a GUI was to compile your own kernel modules and edit the xorg config by hand?

I'm feeling old this week, some younger folk asking about GPU support in linux is causing me to remember the "good old days" from the before times, back when slackware was bleeding edge and it was perfectly normal to compile your own kernel.

Who else is feeling the years this week?

https://redd.it/1lrne7k
@r_linux
AerynOS: Initial KDE Plasma session
https://redd.it/1lrmu0m
@r_linux
A wrapper over runit to enable disable and start services easily

runit is a really small but at the same time functional and lightning fast init. for reference on a usb drive 3.0 with void linux installed on it gets me to the login screen under 7sec and if from ssd under 5sec. it is very simple to enable services like ln -s /etc/sv/Foo /var/services or on artix linux ln -s /etc/sv/Foo /run/runit/services.

but everyone doesn't wants to run this long command ppl like me coming from openrc and dinit find it a bit confusing although it is very simple but muscle memory says to do something like runitctl enable or runitctl disable. second thing is that there is no difference between starting a service and enabling a service. if you symlink a service to start it it will also be enabled at boot. although for normal ppl that is not a big deal but for ppl like me this can be.

to address these very niche but existing problems I created a noscript in sh(POSIX) tested on Void Linux and artix linux runit to enable disable and start a service. and if a service is started it is not enabled meaning it will not start on the next boot.

this is a simple example
rntctl start <service>     # Run service once (no boot enable)
rntctl enable <service> # Enable service (symlink to /var/service)
rntctl disable <service> # Disable service (remove symlink)
rntctl status <service> # Show if enabled + running status


do reply if you liked this project and tell me your reviews on here as I am not very experienced in tracking issues at git. although the noscript is too small to even contain issues.

more explanation on github and if you like it please give it a star 🌟

the project link

https://redd.it/1lrxwch
@r_linux