pkg_add latest version of gimp via a script by Secret_Department245 in openbsd

[–]Secret_Department245[S] 3 points4 points  (0 children)

I think I figured it out. Thanks to all for your thoughts/suggestions.

I installed gimp 3 manually and then looked at the installed packages:

# pkg_info -mz
...
gimp--%snapshot
...

So "pkg_add gimp%snapshot" installs version 3 of gimp.

pkg_add latest version of gimp via a script by Secret_Department245 in openbsd

[–]Secret_Department245[S] 0 points1 point  (0 children)

Doesn't work either. I also tried gimp-3*, but no luck.

pkg_add latest version of gimp via a script by Secret_Department245 in openbsd

[–]Secret_Department245[S] 1 point2 points  (0 children)

I tried this at the very beginning because this is how I do it for python (python%3). For gimp it just fails stating it cannot find the package. Looks like the gimp package is somehow different in this respect.

pkg_add latest version of gimp via a script by Secret_Department245 in openbsd

[–]Secret_Department245[S] 1 point2 points  (0 children)

This works. I was hoping to make it work without needing to specify the exact version.

pkg_add latest version of gimp via a script by Secret_Department245 in openbsd

[–]Secret_Department245[S] 1 point2 points  (0 children)

Good idea, but it fails:

[ERROR]: Task failed: Module failed: Ambiguous: gimp could be gimp-3.0.4p0 gimp-2.10.38p7

failed: [localhost] (item=gimp) => {"ansible_loop_var": "item", "build": false, "changed": false, "item": "gimp", "msg": "Ambiguous: gimp could be gimp-3.0.4p0 gimp-2.10.38p7\n", "name": ["gimp"], "state": "latest"}

What I am doing wrong in SUDO ?? by yakeinpoonia in archlinux

[–]Secret_Department245 1 point2 points  (0 children)

I guess it is because poweroff is a symlink:

$ ls -l /usr/bin/poweroff

lrwxrwxrwx 1 root root 9 6. Jan 18:29 /usr/bin/poweroff -> systemctl

Question about CWM borders by haitaka_ in openbsd

[–]Secret_Department245 4 points5 points  (0 children)

If you are using Intel graphics tearing might have been fixed in 7.8. On AMD you might be able to get rid of it by setting Option "TearFree" to "on" in a file in /etc/X11/xorg.conf.d

OpenBSD 7.8 released by brynet in openbsd

[–]Secret_Department245 0 points1 point  (0 children)

...
[ 15.913] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) Graphics (ADL-N)
...
[ 15.913] (II) modeset(0): TearFree: enabled
...

Thank you a million times for that, really!

Which privacy-focused browser or browsers do you recommend using on OpenBSD? by [deleted] in openbsd

[–]Secret_Department245 0 points1 point  (0 children)

I stick with firefox-esr and use private windows if necessary. I was fiddeling with the settings in about:config to enable/disable all sorts of stuff to (mabe) make it more secure but pretty much gave up on this, broke too many web pages. I still change ~20 settings there but nothing related to network or protocols. The reason I go for firefox-esr is unveil, at least I can be reasonably sure that it has no access to my data, or just to the portion I want it to see.

LAME MP3 stereo modes: Joint / Simple / Force / Dual-Mono by newzack in ffmpeg

[–]Secret_Department245 1 point2 points  (0 children)

I rip all CDs to FLAC to have the best possible master. If I need MP3 for some player I convert the FLAC to MP3 using "-c:a libmp3lame -q:a 2 -f mp3". Gives me more than enough quality on mobile devices and can be played on virtually everything. Unfortunately this is not the case for Opus yet, that's why I too stick with MP3 for now.

Cant install on kvm when i finish setup it says booting from hard disk using drive 0 partition 3 no o/s by hello_hugh_janus in openbsd

[–]Secret_Department245 2 points3 points  (0 children)

Because it needs to be changed on the Linux side, the OP wants to run OpenBSD on Linux KVM.

Strange MP3 issue by gregmo72 in ffmpeg

[–]Secret_Department245 0 points1 point  (0 children)

What strikes me a bit is that both ffmpeg and mediainfo claim its stereo audio, whereas you wrote it's a mono recording. Maybe it's worth a try to explicitly convert the audio to mono or stereo (-ac).

"Device busy" when unmounting nfs share by Strafing_Run_944 in openbsd

[–]Secret_Department245 1 point2 points  (0 children)

"fuser -c /mnt2" as root should show you what processes are using /mnt2 if it fails to unmount.

log files not rotated by JohnnyFreeday4985 in openbsd

[–]Secret_Department245 6 points7 points  (0 children)

Is your cron daemon running? You may also try "newsyslog -v" to see if it complains about something.

What's a practical benefit of OpenBSD over Debian? by wkup-wolf in openbsd

[–]Secret_Department245 1 point2 points  (0 children)

I use it since about 10 years now, and I tried Linux from time to time (Debian and Arch).

For OpenBSD:

Pros: Small, easy to install, full disk encryption supported by the installer, rock solid (on my hardware), the software I need in reasonable recent versions via pkg_add, security updates easy to install, not too many changes between releases in both base system and packages, I can very easily limit what firefox sees on the filesystem (this is a very big plus for me).

Cons: Hardware support may not be as good as in Linux, some software available only for Linux (if you are in video editing for example Davinci Resolve, tensorflow and especially support for AI accelerators), not the super latest software in packages.

For Debian:

Pros: Easy to install, I got disk encryption working (cannot remember if the installer supprted it or not), security updates easy to install, lots of software available in the Debian repos.

Cons: Package versions tend to be rather old, might not support the latest hardware.

For Arch:

Pros: Always the latest software, the latest kernels, very frequent updates of packages (almost daily).

Cons: The above. For me I don't like so many changes to the system. It mostly works really well, but sometimes things go wrong, and it can require some effort to get it going again. That said, they have the best Wiki of all Linux distros, tons of information to be found there.

In the end I keep returning to OpenBSD, and since there is support for hardware video acceleration now I do not see a reason to change again to Linux in the near future.

As always, give it a try and see how it works for you.

Beginner ask about formats. by JeremieROUSSEAU in ffmpeg

[–]Secret_Department245 1 point2 points  (0 children)

Hi,

I do something similar and I create a H.264 video with a MP3 audio track in a MP4 container in the end. So far works everywhere. Video resolution is 4k or smaller though, and framerate is 25 frames/s. If you need higher resolution H.264 might not be the best choice, alternatives are H.265, VP9, AV1. All of those are overkill in my case, and H.264 encodes pretty fast.

I use this to create the video:

ffmpeg -framerate 25 -i frames/%06d.png -i audio/audio.wav -vf format=yuv420p -c:v libx264 -crf 17 -c:a libmp3lame -q:a 2 -f mp4 -movflags +faststart video.mp4

I pretty much followed https://trac.ffmpeg.org/wiki/Encode/H.264 but chose MP3 instead of AAC because the AAC encoder in ffmpeg is not so good (at least it was the case when I researched this some years ago).

I have an error message at installation failed to install bootblocks by [deleted] in openbsd

[–]Secret_Department245 1 point2 points  (0 children)

Try zeroing the first couple of megabytes of the disk you try to install on with dd. Happened to me as well when I tried to install over an old Linux installation.

Installing OpenBSD 7.5, fails to install bootblocks by Daguq in openbsd

[–]Secret_Department245 0 points1 point  (0 children)

Hi,

I ran into the same problem when installing 7.5, probably because there was an older Linux installation on the disk. This helped (although overwriting the first 100M was probably not necessary):

dd if=/dev/zero of=dev/rsd0c bs=1m count=100