Am using mradermacher/Ornith-1.5-9B-uncensored-i1-GGUF:i1-IQ4_XS — TBH, I haven't really been using the "uncensored" part for anything, it's just that I don't like the idea of my LLM potentially refusing me.
Today however I found a task the "uncensoring" will be useful for, which mind you will be at work (so you could call the model "NNSFW") — I think of continuously running Ornith 1.5 in a CI container asking it to break the software we develop. Would allow to find bugs before users stumble upon them 😊
u/SilkieBug ah, I'm sorry, re-reading my reply — if the styling sounds odd, that's because I mistook you for the guy who complained about Qwen 3.8 27B being unusable in terms of quality and asking how do people even assign anything to such LLMs; that's a completely unrelated Reddit post 😅
Well, the task was finding a way to build kubernetes plugin with static flags of an older Bacula version; then encode instructions into build.ninja. Their Makefiles (at least at that time) sucked, there were often contradicting options, something was clashing with something else — so it's really a tedious long unending debugging session where you look up variables, you change something in flags, test it hoping it worked out, but ofc it won't, so you repeat it on and on.
The fact LLM found a way to build it, is checked easily by seeing it's built 😊 The code it wrote to build.ninja file was checked by me personally, and it's pretty good — had a few unnecessary flags, but otherwise was fine.
Either you're using a bad model, or it was poorly quantized (e.g. without imatrix).
I am using a mradermacher/Ornith-1.5-9B-uncensored-i1-GGUF:i1-IQ4_XS here, left it running on the weekend to solve some uncreative tedious debugging work I really didn't want to do myself. Only ≈16 hours at blazingly fast 3 tok/s (16G RAM here with iGPU-only laptop) — and it was done! And the problem wasn't simple, "credit where credit is due".
Duuude, that's nothing. My laptop: Ninkear YBook 15 — no dGPU and a "Ryzen 5 5500U" CPU/iGPU pair, 16G RAM.
I've been running overnight and today an LLM "Ornith-1.5-9B"¹, doing some tedious boring debugging task I really didn't want to do myself. With ≈3 tok/s speed, and 98% RAM usage (!!!) — can't say my KDE was unusable, but it did experience lags from time to time, and I could only do basic mustic + browsing activity, no watching videos.
After ≈16-17 hours it solved the problem C:
1: the mradermacher/Ornith-1.5-9B-uncensored-i1-GGUF:i1-IQ4_XS to be specific. I don't need no uncensoring, but am just annoyed at the idea my LLM can refuse my prompt.
You didn't mention exact parameters you run it with.
Off the top of my head, could be something to do with quantization. So, e.g. for LLM files you can't reliably go below q4, unless the model was explicitly trained with those lower values, like ternary weights and whatnot. And q4 ideally should be produced with imatrix. And then, for cache quantization, from my experiments, it's even stricter: I wouldn't go below q8. A q4 cache will often produce garbage.
And yeah, other params matter as well — do you use ones that Qwen recommended?
I'd say "it could be better". You need to write and maintain a config file, which is far from perfect. I ended up using swaybg instead, because you can just pass everything on the command line, so later you don't have to backup/restore a separate config file on Gitlab/Github.
FWIW, adding --use-gl=egl into the mix makes youtube videos just infinitely show "loading" icon for me. It does play though if you enable Vulkan in chrome://flags. As a matter of fact, I think I tried all possible combinations of Vulkan, --enable-features=VaapiVideoDecoder, --disable-features=UseChromeOSDirectVideoDecoder, --use-gl=egl flags, but didn't manage acceleration to actually work.
Note: Chrome in chrome://gpudoes claim that Video Decode works for pretty much any combination involving a --enable-features=VaapiVideoDecoder flag. But it's a faux as you can check by running sudo intel_gpu_top alongside a video: it always loads Render/3D pipeline, however everything with an infix Video is always stuck to 0%.
u/tenmajr I concur with this advice. If I'd do that for hobby purposes, which implies limited amount of time for being overly thorough, I would simply take existing tablet driver, preferably the smallest one (I'd use wc -l on the directory with drivers to find smallest one), then I'd replace various identifiers to match my tablet (and also various other stuff that I deem necessary; sorry, I can't be anymore explicit. Just read the code and see if you notice anything that looks tablet-model-specific); compile it; and insmod it, then see how it goes. Then what I'd do is I'd incrementally work through problems. Finally, after all of that seems to work, I'd clean the code up and remove the code from old driver that turned out to be unneeded. And finally, I'd move my changes to a separate driver, by following for example this blog-post to have new driver properly set up.
A few things you might find useful:
Run the same kernel as the one you're developing against (I'd prefer latest stable). Because internal APIs change, things get refactored, etc, so this is to avoid any unpleasant surprises.
After you've built the driver, you can run it straight from the build directory by running insmod /path/to/module.ko.
You can build a single module with a command similar to make M=drivers/scsi/cxgbi. But there's a catch: make sure the driver you're building is enabled in menuconfig. To figure out which one it is open Kconfig file in driver directory and read descriptions. You can later search for that description in menuconfig to enable it.
Use git to save on every change. You don't need to be clean at this point, you just want to have a room for experimenting and ability to go back in history. Imagine you're like playing a tense video game like Dark Souls and you're not sure if you die on the next step. Saving before every change will allow you to care less about that. And git push your changes to a remote server once in a while too.
All I had are a few questions about what will happen to all my data
[…]
Also what will happen to all my apps
I see many commented, so I won't dive in, but wanted to point out that this part of the question is irrelevant to Linux per se. What will happen to your data depends on how you install a new system to your PC. If you overwrite your partitions, the outcome is obvious. If you give it a separate partition to run on, then nothing will happen to your data. It's up to you, really. You can of course make a mistake somewhere during installation, but it would be the same as if you were installing Windows for example, i.e. not specific to any OS at all.
i have a few apps that dont run on linux what can i do
For some reason not many people mentioned: you can use wine. So, you just use your package manager to install wine (for example dnf install wine, or even, if it's Fedora, just type out word "wine" in the system search, it will suggest you to install it). And then use wine to run Windows executables.
FTR: wine is this project. Valve are among supporters of this project, if that says to you anything (they build upon it a separate project "Proton", which is basically Wine with a number of additions specific to gaming).
I'm wondering: are you sure this does not happen without GRUB? It may well be a firmware or hardware problem, and is not relevant to GRUB or GNU/Linux.
If you are, then I think this is a bug in a Windows graphics driver. Perhaps what happens is that after GRUB quits, some GPU registers are initialized to non-default state. Which is fine. But one of Windows drivers may have not taken into account such possible state and fails.
Given all of that applies, I usually search for a laptop with a preinstalled GNU/Linux. It doesn't matter if you're going to replace the system. The important part is that the laptop is tested to work fine with whatever GNU/Linux they installed, and that you can get support for it. Besides, you increase demand for GNU/Linux laptops this way.
Then if you couldn't find a decent laptop with preinstalled GNU/Linux, you'll need to look up if the model you're going to choose otherwise works fine.
In this case I'd recommend you should try if the vanilla PKGBUILD builds fine for you. If it does, then you know that the PKGBUILD you're having problem with does something different. I'd try these steps then: 1. try if the vanilla PKGBUILD builds at the commit that your PKGBUILD is fetching. Then if it does, 2. Comment out all patches in your PKGBUILD, and see if it changes anything. If it doesn't 3. compare build options that vanilla PKGBUILD and yours one are using.
Essentially, you need to pin down the cause of the build failure.
Ok, so, this is weird. The file hw/xfree86/common/xf86DefModeSet.c that you're trying to compile has a typo, which causes the build failure. The weird part is that in upstream this file doesn't exist. Here's this directory at commit that your PKGBUILD is fetching. There's no file xf86DefModeSet.c. And master commit doesn't have it either. And the 3 patches in repo that you linked also do not mention this file.
For starters, you probably want to figure out where did this file come from. I see the PKGBUILD tries to cherry-pick some commits, I wonder if one of them has it.
Ok, I found it in the ttf-octiconsᴬᵁᴿ, but it's so really small, I barely can see them. Besides at least two characters are broken. E.g.  one. So I ended up in simply reverting to Font Awesom 4.7, I guess I gonna mark it as unupgradable.
Am using
mradermacher/Ornith-1.5-9B-uncensored-i1-GGUF:i1-IQ4_XS— TBH, I haven't really been using the "uncensored" part for anything, it's just that I don't like the idea of my LLM potentially refusing me.Today however I found a task the "uncensoring" will be useful for, which mind you will be at work (so you could call the model "NNSFW") — I think of continuously running Ornith 1.5 in a CI container asking it to break the software we develop. Would allow to find bugs before users stumble upon them 😊
u/SilkieBug ah, I'm sorry, re-reading my reply — if the styling sounds odd, that's because I mistook you for the guy who complained about Qwen 3.8 27B being unusable in terms of quality and asking how do people even assign anything to such LLMs; that's a completely unrelated Reddit post 😅
Well, the task was finding a way to build kubernetes plugin with static flags of an older Bacula version; then encode instructions into
build.ninja. Their Makefiles (at least at that time) sucked, there were often contradicting options, something was clashing with something else — so it's really a tedious long unending debugging session where you look up variables, you change something in flags, test it hoping it worked out, but ofc it won't, so you repeat it on and on.The fact LLM found a way to build it, is checked easily by seeing it's built 😊 The code it wrote to
build.ninjafile was checked by me personally, and it's pretty good — had a few unnecessary flags, but otherwise was fine.Either you're using a bad model, or it was poorly quantized (e.g. without imatrix).
I am using a
mradermacher/Ornith-1.5-9B-uncensored-i1-GGUF:i1-IQ4_XShere, left it running on the weekend to solve some uncreative tedious debugging work I really didn't want to do myself. Only ≈16 hours at blazingly fast 3 tok/s (16G RAM here with iGPU-only laptop) — and it was done! And the problem wasn't simple, "credit where credit is due".Duuude, that's nothing. My laptop: Ninkear YBook 15 — no dGPU and a "Ryzen 5 5500U" CPU/iGPU pair, 16G RAM.
I've been running overnight and today an LLM "Ornith-1.5-9B"¹, doing some tedious boring debugging task I really didn't want to do myself. With ≈3 tok/s speed, and 98% RAM usage (!!!) — can't say my KDE was unusable, but it did experience lags from time to time, and I could only do basic mustic + browsing activity, no watching videos.
After ≈16-17 hours it solved the problem C:
1: the
mradermacher/Ornith-1.5-9B-uncensored-i1-GGUF:i1-IQ4_XSto be specific. I don't need no uncensoring, but am just annoyed at the idea my LLM can refuse my prompt.You didn't mention exact parameters you run it with.
Off the top of my head, could be something to do with quantization. So, e.g. for LLM files you can't reliably go below q4, unless the model was explicitly trained with those lower values, like ternary weights and whatnot. And q4 ideally should be produced with imatrix. And then, for cache quantization, from my experiments, it's even stricter: I wouldn't go below q8. A q4 cache will often produce garbage.
And yeah, other params matter as well — do you use ones that Qwen recommended?
Hi, I'm trying to use your project — am I correct that for non-Windows systems the
setup.pyshould be used instead?Running
setup.pyon Archlinux just spews some warnings and "usage" output.Nah, it's unrelated. The option dis/enables it globally, but for me or didn't work for X11 apps specifically.
Apparently this doesn't work with X11-based apps. When I insert to Emacs, I still get the usual clipboard inserted.
I'd say "it could be better". You need to write and maintain a config file, which is far from perfect. I ended up using
swaybginstead, because you can just pass everything on the command line, so later you don't have to backup/restore a separate config file on Gitlab/Github.Oh, I see, thank you!
Yes, I mentioned that in the first sentence 😊
Uff… I tried
Enter, I triedRetand it didn't work — and then turns out they decided to useReturninstead. Why this has to be so complicated…Thank you, that helped. I'm wondering why is it not the default. I had an
autokeyword there, why did hyprland automatically chose 1.5, this is odd.FWIW, adding
--use-gl=eglinto the mix makes youtube videos just infinitely show "loading" icon for me. It does play though if you enable Vulkan inchrome://flags. As a matter of fact, I think I tried all possible combinations of Vulkan,--enable-features=VaapiVideoDecoder,--disable-features=UseChromeOSDirectVideoDecoder,--use-gl=eglflags, but didn't manage acceleration to actually work.Note: Chrome in
chrome://gpudoes claim that Video Decode works for pretty much any combination involving a--enable-features=VaapiVideoDecoderflag. But it's a faux as you can check by runningsudo intel_gpu_topalongside a video: it always loadsRender/3Dpipeline, however everything with an infixVideois always stuck to0%.Oh, I just stumbled upon this article, I thought you might be interested: Learn To Get Involved In Linux Kernel Development This Spring
u/tenmajr I concur with this advice. If I'd do that for hobby purposes, which implies limited amount of time for being overly thorough, I would simply take existing tablet driver, preferably the smallest one (I'd use
wc -lon the directory with drivers to find smallest one), then I'd replace various identifiers to match my tablet (and also various other stuff that I deem necessary; sorry, I can't be anymore explicit. Just read the code and see if you notice anything that looks tablet-model-specific); compile it; andinsmodit, then see how it goes. Then what I'd do is I'd incrementally work through problems. Finally, after all of that seems to work, I'd clean the code up and remove the code from old driver that turned out to be unneeded. And finally, I'd move my changes to a separate driver, by following for example this blog-post to have new driver properly set up.A few things you might find useful:
insmod /path/to/module.ko.make M=drivers/scsi/cxgbi. But there's a catch: make sure the driver you're building is enabled inmenuconfig. To figure out which one it is openKconfigfile in driver directory and read descriptions. You can later search for that description inmenuconfigto enable it.git pushyour changes to a remote server once in a while too.I see many commented, so I won't dive in, but wanted to point out that this part of the question is irrelevant to Linux per se. What will happen to your data depends on how you install a new system to your PC. If you overwrite your partitions, the outcome is obvious. If you give it a separate partition to run on, then nothing will happen to your data. It's up to you, really. You can of course make a mistake somewhere during installation, but it would be the same as if you were installing Windows for example, i.e. not specific to any OS at all.
For some reason not many people mentioned: you can use wine. So, you just use your package manager to install wine (for example
dnf install wine, or even, if it's Fedora, just type out word "wine" in the system search, it will suggest you to install it). And then use wine to run Windows executables.FTR: wine is this project. Valve are among supporters of this project, if that says to you anything (they build upon it a separate project "Proton", which is basically Wine with a number of additions specific to gaming).
Don't use Arch. It requires being an advanced user, and is not something you gonna want on your first tour. Try Fedora or Mint, they're pretty good.
I'm wondering: are you sure this does not happen without GRUB? It may well be a firmware or hardware problem, and is not relevant to GRUB or GNU/Linux.
If you are, then I think this is a bug in a Windows graphics driver. Perhaps what happens is that after GRUB quits, some GPU registers are initialized to non-default state. Which is fine. But one of Windows drivers may have not taken into account such possible state and fails.
I'm just speculating though.
First I usually check that the laptop doesn't have NVidia (for reasons other mentioned), that its CPU is not Ryzen, and that WiFi is not Broadcom.
Given all of that applies, I usually search for a laptop with a preinstalled GNU/Linux. It doesn't matter if you're going to replace the system. The important part is that the laptop is tested to work fine with whatever GNU/Linux they installed, and that you can get support for it. Besides, you increase demand for GNU/Linux laptops this way.
Then if you couldn't find a decent laptop with preinstalled GNU/Linux, you'll need to look up if the model you're going to choose otherwise works fine.
In this case I'd recommend you should try if the vanilla PKGBUILD builds fine for you. If it does, then you know that the PKGBUILD you're having problem with does something different. I'd try these steps then: 1. try if the vanilla PKGBUILD builds at the commit that your PKGBUILD is fetching. Then if it does, 2. Comment out all patches in your PKGBUILD, and see if it changes anything. If it doesn't 3. compare build options that vanilla PKGBUILD and yours one are using.
Essentially, you need to pin down the cause of the build failure.
Ok, so, this is weird. The file
hw/xfree86/common/xf86DefModeSet.cthat you're trying to compile has a typo, which causes the build failure. The weird part is that in upstream this file doesn't exist. Here's this directory at commit that your PKGBUILD is fetching. There's no filexf86DefModeSet.c. And master commit doesn't have it either. And the 3 patches in repo that you linked also do not mention this file.For starters, you probably want to figure out where did this file come from. I see the PKGBUILD tries to cherry-pick some commits, I wonder if one of them has it.
I asked on IRC, it looks like the correct way is
font pango:Hack, "Font Awesome 5 Free" 9. However it didn't seem to work for me.Ok, I found it in the ttf-octiconsᴬᵁᴿ, but it's so really small, I barely can see them. Besides at least two characters are broken. E.g.
one. So I ended up in simply reverting to Font Awesom 4.7, I guess I gonna mark it as unupgradable.