Technical question about the scheduler
When learning about the current scheduler for regular jobs (the totally fair scheduler, I think), it was mentioned that it uses a red-black tree. I asked about the insertion/removal complexity, because the key used for ordering would change at different rates (based on the nice factor) and do you couldn't rely on regular RB tree algorithms. The response I got was that if there are this many jobs, you're overloading your CPU anyway and you'll have worse problems to worry about.
My question is: why use a red-black tree in the first place, then? If the expectation of 8 jobs in the queue (example that the instructor gave) is too big, why not use a simpler data structure?
If this is the wrong place to ask, please direct me to the correct one :)
https://redd.it/mw27ye
@r_linux
When learning about the current scheduler for regular jobs (the totally fair scheduler, I think), it was mentioned that it uses a red-black tree. I asked about the insertion/removal complexity, because the key used for ordering would change at different rates (based on the nice factor) and do you couldn't rely on regular RB tree algorithms. The response I got was that if there are this many jobs, you're overloading your CPU anyway and you'll have worse problems to worry about.
My question is: why use a red-black tree in the first place, then? If the expectation of 8 jobs in the queue (example that the instructor gave) is too big, why not use a simpler data structure?
If this is the wrong place to ask, please direct me to the correct one :)
https://redd.it/mw27ye
@r_linux
reddit
Technical question about the scheduler
When learning about the current scheduler for regular jobs (the totally fair scheduler, I think), it was mentioned that it uses a red-black tree....
Loffice 365: Run web-based Office 365 in Linux as if it was a part of the native OS
The noscript pretty much says it all, plus Nautilus right-click integration for mime-types.
A number of months back I created WinApps, a "Linux Subsystem for Windows" to run applications natively as part of the OS (with file manager integration, etc). Since it received such a high amount of attention, I've decided to continue similar work.
For those of you that do not wish to run a full subsystem, but simply want Office, Loffice 365 may be a good option for you.
https://i.redd.it/xx416lrzpqu61.gif
https://github.com/Fmstrat/loffice-365
https://redd.it/mw6ysn
@r_linux
The noscript pretty much says it all, plus Nautilus right-click integration for mime-types.
A number of months back I created WinApps, a "Linux Subsystem for Windows" to run applications natively as part of the OS (with file manager integration, etc). Since it received such a high amount of attention, I've decided to continue similar work.
For those of you that do not wish to run a full subsystem, but simply want Office, Loffice 365 may be a good option for you.
https://i.redd.it/xx416lrzpqu61.gif
https://github.com/Fmstrat/loffice-365
https://redd.it/mw6ysn
@r_linux
reddit
WinApps: Run Windows apps such as Microsoft Office in Linux...
Posted in r/linux by u/Fmstrat • 1,758 points and 322 comments
Profiling virtualized GPU acceleration with Perfetto
https://www.collabora.com/news-and-blog/blog/2021/04/22/profiling-virtualized-gpu-acceleration-with-perfetto/
https://redd.it/mw7obb
@r_linux
https://www.collabora.com/news-and-blog/blog/2021/04/22/profiling-virtualized-gpu-acceleration-with-perfetto/
https://redd.it/mw7obb
@r_linux
Collabora | Open Source Consulting
Profiling virtualized GPU acceleration with Perfetto
Recently, we have been using Perfetto to successfully profile Apitrace traces in crosvm through VirGL renderer. We have now added perfetto instrumentation to VirGL renderer, Mesa, and Apitrace.
[PATCH 000/190] Revertion of all of the umn.edu commits - Greg Kroah-Hartman
https://lore.kernel.org/lkml/20210421130105.1226686-1-gregkh@linuxfoundation.org/
https://redd.it/mwaev1
@r_linux
https://lore.kernel.org/lkml/20210421130105.1226686-1-gregkh@linuxfoundation.org/
https://redd.it/mwaev1
@r_linux
reddit
[PATCH 000/190] Revertion of all of the umn.edu commits - Greg...
Posted in r/linux by u/PaperBiscuit • 10 points and 0 comments
Gnome 40 - The anti-desktop desktop with Fedora 34
https://www.dedoimedo.com/computers/gnome-40.html
https://redd.it/mumlc9
@r_linux
https://www.dedoimedo.com/computers/gnome-40.html
https://redd.it/mumlc9
@r_linux
Dedoimedo
Gnome 40 - The anti-desktop desktop
Review of Gnome 40 desktop environment, tested in Fedora 34 beta, covering look and feel, ergonomics and many associated problems in the default design, new Activities, Gnome Tweaks, Extensions, desktop scaling, performance, search, tour, and more
Digital Art and Linux
I'm wondering if there are any digital artists who have made the full transition to linux?
Right now I use Blender on Linux and its perfect, but all my Adobe software is on my macbook and transitioning between the two is slowly becoming a bottleneck in the process. My biggest problems are that I use Photoshop for 2D animation, and I take image sequences from Blender and put them into Premiere. Anyone have a similar workflow and found solutions within Linux?
https://redd.it/mwf5kf
@r_linux
I'm wondering if there are any digital artists who have made the full transition to linux?
Right now I use Blender on Linux and its perfect, but all my Adobe software is on my macbook and transitioning between the two is slowly becoming a bottleneck in the process. My biggest problems are that I use Photoshop for 2D animation, and I take image sequences from Blender and put them into Premiere. Anyone have a similar workflow and found solutions within Linux?
https://redd.it/mwf5kf
@r_linux
reddit
Digital Art and Linux
I'm wondering if there are any digital artists who have made the full transition to linux? Right now I use Blender on Linux and its perfect, but...
Undervolting AMD GPU in Linux
Hey, I'm in the process of switching to Linux completely. 95% of everything I need is on Linux except for this one thing...: GPU Undervolting. On Windows you can just pop into the Radeon Software or use MSI Afterburner(which is what I use on Windows for everything GPU related).
Thing is, by default my GPU(RX 570) runs at up to 1.15V. After undervolting it and slightly lowring the core clock(from 1286MHz to 1215MHz) it gets as low as 0.875V which reduces my temperatures to the point where I have my fans running at 40% and not reach over 75°C. Running it fully stock in some games it can't even maintain stock clock speeds because of power draw.
Is there a way to do it? Obviously I'd prefer it to be as easy as possible but if it's a bit complicated that's also fine as I'd also allow me to learn more about Linux.
Thanks a lot!
https://redd.it/mwg9iu
@r_linux
Hey, I'm in the process of switching to Linux completely. 95% of everything I need is on Linux except for this one thing...: GPU Undervolting. On Windows you can just pop into the Radeon Software or use MSI Afterburner(which is what I use on Windows for everything GPU related).
Thing is, by default my GPU(RX 570) runs at up to 1.15V. After undervolting it and slightly lowring the core clock(from 1286MHz to 1215MHz) it gets as low as 0.875V which reduces my temperatures to the point where I have my fans running at 40% and not reach over 75°C. Running it fully stock in some games it can't even maintain stock clock speeds because of power draw.
Is there a way to do it? Obviously I'd prefer it to be as easy as possible but if it's a bit complicated that's also fine as I'd also allow me to learn more about Linux.
Thanks a lot!
https://redd.it/mwg9iu
@r_linux
reddit
Undervolting AMD GPU in Linux
Hey, I'm in the process of switching to Linux completely. 95% of everything I need is on Linux except for this one thing...: GPU Undervolting. On...
Free alternative to Nvidia shadowplay?
I want to record the last 15 minutes of my screen with a keybind, especially while gaming but can’t seem to find a good alternative that does roughly the same thing as shadowplay, does anyone have any recommendations?
https://redd.it/mwez7v
@r_linux
I want to record the last 15 minutes of my screen with a keybind, especially while gaming but can’t seem to find a good alternative that does roughly the same thing as shadowplay, does anyone have any recommendations?
https://redd.it/mwez7v
@r_linux
reddit
Free alternative to Nvidia shadowplay?
I want to record the last 15 minutes of my screen with a keybind, especially while gaming but can’t seem to find a good alternative that does...
AP Exams on Linux???
So long story short, I managed to install the AP Digital Exams program under wine, and it launches and runs fine, logged me in and everything is great. I was concerned that they would flag me as cheating though for using it, so I googled (or more accurately duckduckgo'd) ap exams linux or something like that, and I found this page. What??? Do they support linux for exams?? Someone who knows anything please explain
https://redd.it/mwj0eu
@r_linux
So long story short, I managed to install the AP Digital Exams program under wine, and it launches and runs fine, logged me in and everything is great. I was concerned that they would flag me as cheating though for using it, so I googled (or more accurately duckduckgo'd) ap exams linux or something like that, and I found this page. What??? Do they support linux for exams?? Someone who knows anything please explain
https://redd.it/mwj0eu
@r_linux
Digital Testing
Supported Operating Systems - Digital Testing
Supported operating systems and related requirements are listed on this page. All specifications apply to the 2020–21 school year.
Amateur Question
Soo...
Im sure im going to get laughed at for this but Im curious as to if I should learn to use Linux before learning to code or does one not have anything to do with the other ?
Will learning Linux give me an advantage when I dive into Java ?
or should I just do neither because this is a stupid question and its hopeless
https://redd.it/mwk6s7
@r_linux
Soo...
Im sure im going to get laughed at for this but Im curious as to if I should learn to use Linux before learning to code or does one not have anything to do with the other ?
Will learning Linux give me an advantage when I dive into Java ?
or should I just do neither because this is a stupid question and its hopeless
https://redd.it/mwk6s7
@r_linux
reddit
Amateur Question
Soo... Im sure im going to get laughed at for this but Im curious as to if I should learn to use Linux before learning to code or does one not...
Did anybody buy the special linux pro magazine dvds? They’re kinda pricey but I’m thinking about them. Opinions?
https://redd.it/mwhst0
@r_linux
https://redd.it/mwhst0
@r_linux
Piping incoming TTY serial data into X11 as generic keyboard input?
I've got an old laptop (circa 1991), running Windows 3.1 that I'm using as a distraction-free word processor. It's helping my writing productivity a ton! I've also managed to get it sharing files with my main PC through a serial port connection.
The mechanical keyboard on this thing is an absolute beauty, however, and there are times that I'd like to use it on my main rig, for instance when I'm going back and forth between the two for online reference material, and don't want to have two keyboards in addition to my two mouses.
How can I get desktop's X11 setup to recognize text input coming in from my
It would, on the one hand, seem trivial to use a teletype input as a keyboard on a nix system seeing as that is exactly how nix systems began! Am I missing something basic here?
https://redd.it/mwfntf
@r_linux
I've got an old laptop (circa 1991), running Windows 3.1 that I'm using as a distraction-free word processor. It's helping my writing productivity a ton! I've also managed to get it sharing files with my main PC through a serial port connection.
The mechanical keyboard on this thing is an absolute beauty, however, and there are times that I'd like to use it on my main rig, for instance when I'm going back and forth between the two for online reference material, and don't want to have two keyboards in addition to my two mouses.
How can I get desktop's X11 setup to recognize text input coming in from my
/dev/ttyUSB0 device as generic keyboard HID input? Using terminal software on the laptop is no issue. I've been playing around with xdotool, which I learned about from this old StackExchange thread but couldn't get the hang of writing a noscript to listen to it.It would, on the one hand, seem trivial to use a teletype input as a keyboard on a nix system seeing as that is exactly how nix systems began! Am I missing something basic here?
https://redd.it/mwfntf
@r_linux
Unix & Linux Stack Exchange
Command to simulate keyboard input
Is there a command that exists that can simulate keypresses? I want to pipe some data to it to make it type into a GUI program for me.
Snaps and Ubuntu - has it improved?
Last time I checked on this, I remember reading that even if you disabled it - it would eventually enable itself. How is the whole situation between snap and ubuntu right now? Worth giving ubuntu a shot?
https://redd.it/mwpb5d
@r_linux
Last time I checked on this, I remember reading that even if you disabled it - it would eventually enable itself. How is the whole situation between snap and ubuntu right now? Worth giving ubuntu a shot?
https://redd.it/mwpb5d
@r_linux
reddit
Snaps and Ubuntu - has it improved?
Last time I checked on this, I remember reading that even if you disabled it - it would eventually enable itself. How is the whole situation...
t2 Linux 21.4 "Fully Automated" release for 15 CPU architectures, from ARM, to RISCV, incl. Alpha, IA64, MIPS and SPARC
Today the T2 Project released version 21.4, with the largest amount of pre- and cross-compiled set of architectures so far: a total of 15 architectures: x86-64, x86, arm64, arm, riscv64, riscv, ppc64le, ppc64-32, ppc sparc64, mips64, mipsel, hppa, m68k, alpha & ia64! https://t2sde.org
As usually most packages are up-to-date, with 1294 change-sets, 1179 updates, and 120 fixes, including Linux 5.11.16, GCC 10.3, LLVM/Clang 12, as well as the latest version of Rust, X.org, Mesa, KDE and GNOME 40!
https://redd.it/mws0p2
@r_linux
Today the T2 Project released version 21.4, with the largest amount of pre- and cross-compiled set of architectures so far: a total of 15 architectures: x86-64, x86, arm64, arm, riscv64, riscv, ppc64le, ppc64-32, ppc sparc64, mips64, mipsel, hppa, m68k, alpha & ia64! https://t2sde.org
As usually most packages are up-to-date, with 1294 change-sets, 1179 updates, and 120 fixes, including Linux 5.11.16, GCC 10.3, LLVM/Clang 12, as well as the latest version of Rust, X.org, Mesa, KDE and GNOME 40!
https://redd.it/mws0p2
@r_linux
T2Linux
T2 Package Manager and Linux Distribution
Ultra portable, low-code package manager and clean reference Linux distribution.
Every big Windows update breaks the boot manager
Just a few days ago a big Windows update broke my dual boot configuration. GRUB doesn’t appear anymore during boot, instead Windows boots directly. This happens regularly, but I’m never able to find a lasting solution. Is there just no way to prevent this or am I failing to google this problem correctly?
My current solution involves a live system running the boot-repair program. But do I really have to do this every time?
It really feels like Microsoft is bullying me...
https://redd.it/mwt70s
@r_linux
Just a few days ago a big Windows update broke my dual boot configuration. GRUB doesn’t appear anymore during boot, instead Windows boots directly. This happens regularly, but I’m never able to find a lasting solution. Is there just no way to prevent this or am I failing to google this problem correctly?
My current solution involves a live system running the boot-repair program. But do I really have to do this every time?
It really feels like Microsoft is bullying me...
https://redd.it/mwt70s
@r_linux
reddit
Every big Windows update breaks the boot manager
Just a few days ago a big Windows update broke my dual boot configuration. GRUB doesn’t appear anymore during boot, instead Windows boots...