this post was submitted on 14 Sep 2024
73 points (95.1% liked)

Linux

48328 readers
617 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
73
submitted 2 months ago* (last edited 2 months ago) by fool@programming.dev to c/linux@lemmy.ml
 

What was your last RTFM adventure? Tinker this, read that, make something smoother! Or explodier.

As for me, I wanted to see how many videos I could run at once. (Answer: 60 frames per second or 60 frames per second?)

With my sights on GPUizing some ethically sourced motion pictures, I RTFW, graphed, and slapped on environment variables and flags like Lego bricks. I got the Intel VAAPI thingamabob to jaunt by (and found that it butterized my mpv videos)

$ pacman -S blahblahblahblahblahtfm
$ mpv --show-profile=fast
Profile fast: 
 scale=bilinear
 dscale=bilinear
 dither=no
 correct-downscaling=no
 linear-downscaling=no
 sigmoid-upscaling=no
 hdr-compute-peak=no
 allow-delayed-peak-detect=yes
$ mpv --hwdec=auto --profile=fast graphwar-god-4KEDIT.mp4
# fucking silk

But there was no pleasure without pain: Mr. Maxwell F. N. 940MX (the N stands for Nvidia) played hooky. So I employed the longest envvars ever

$ NVD_LOG=1 VDPAU_TRACE=2 VDPAU_NVIDIA_DEBUG=3 NVD_BACKEND=direct NVD_GPU=nvidia LIBVA_DRIVER_NAME=nvidia VDPAU_DRIVER=nvidia prime-run vdpauinfo
GPU at BusId 0x1 doesn't have a supported video decoder
Error creating VDPAU device: 1
# stfu

to try translating Nvidia VDPAU to VAAPI -- of course, here I realized I rtfmed backwards and should've tried to use just VDPAU instead. So I did.

Juice was still not acquired.

Finally, after a voracious DuckDuckGoing (quacking?), I was then blessed with the freeing knowledge that even though post-Kepler is supposed to support H264, Nvidia is full of lies...

 ______
< fudj >
 ------
          \   ‘^----^‘
           \ (◕(‘人‘)◕)
              (  8    )        ô
              (    8  )_______( )
              ( 8      8        )
              (_________________)
                ||          ||
               (||         (||

and then right before posting this, gut feeling: I can't read.

$ lspci | grep -i nvidia
... NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
# ArchWiki says that GM108 isn't supported.
# Facepalm

SO. What was your last RTFM adventure?

you are viewing a single comment's thread
view the rest of the comments
[–] Diplomjodler3@lemmy.world 6 points 2 months ago (4 children)

I tried to install ROCM on my machine to run Stable Diffusion. So far I've managed to bork my system to the point of having to reinstall.

[–] russjr08@bitforged.space 7 points 2 months ago (1 children)

I'd recommend using ROCM through a Distrobox container, personally I use this Distrobox container file and it has suited all of my needs with Stable Diffusion so far.

That is, if you're still interested in it - I could totally understand writing it off after what happened 😅

[–] Diplomjodler3@lemmy.world 3 points 2 months ago

Thanks, I'll look into that.

[–] Im_old@lemmy.world 3 points 2 months ago (1 children)

I've installed ROCM before reading that my AMD GPU does not support it

[–] HumanPerson@sh.itjust.works 1 points 2 months ago (1 children)

Most consumer ones don't, but for a lot of them I've heard there's a hack that will work by identifying it as a similar supported one.

[–] Diplomjodler3@lemmy.world 1 points 2 months ago

I got it to run before but then the 22 upgrade borked my system. I don't know if it was because of ROCM or Pipewire. Then i reinstalled Mint and tried to install ROCM again, but that borked it again. So let's see if it works this time.

[–] mexicancartel@lemmy.dbzer0.com 1 points 2 months ago

I actually installed ROCm on fedora on my laptop and it “runs”, except its useless due to high ram+swap usage. It was a pain but it worked somehow

[–] HumanPerson@sh.itjust.works 1 points 2 months ago

I suspect a large proportion of AMD GPU users have done that, though not necessarily for stable diffusion. I know I have.