Author Topic: Rough edges and how I work around them (or not)  (Read 19169 times)

Borley

  • Full Member
  • ***
  • Posts: 181
  • Karma: +17/-0
    • View Profile
Rough edges and how I work around them (or not)
« on: January 04, 2020, 05:23:03 pm »
This post is for documentation purposes and is not meant as a criticism of POWER or Raptor, rather, it is a place for me to think openly regarding my POWER9/Blackbird exerience so far. What is listed here may or may not necessarily be a POWER or Raptor board issue as I have yet to determine the root cause of several items. I welcome any suggestions or even fixes that you may have found in your own situations. The new platform has already forced me to learn quite a bit and hopefully this can be of use to somebody other than myself.


When rebooting sometimes restarts without onboard audio available
   complete reboot removing power from the board is required to rectify this situation

System stutter with any I/O activity on the main drive (could be the PCIe-NVMe adapter?)
   major I/O on the main drive (copying many large files to) makes the system nearly unusable[/s]
Retrospective: May have been combination of PCIe 3.0 storage and Gnome Shell/Nautilus thumbnailing large assets. No longer an issue.
Harddrive SMART reports an unsafe shutdown for every shutdown
 This has not technically been an issue yet, I am just gambling that it won't blow up in my face - does the platform need to issue some kind of shutdown signal to the drive?[/s]
2024: It did not blow up in my face. Since replacing with a PCIe 4.0 storage device, is no longer an issue.

Unavailable dependencies needed for packages that would otherwise be installable:
   mozc - that's okay anthy works just as well Just use anthy
   anki - one single python package is not built for ppc Ended up writing my own flashcard program. "Resolved".
   openshot - one single python package is not built for ppc. none of the other video editors will actually load any video content (missing codec? I'm too dumb to figure this out) openshot-qt

VLC playback   
VLC sometimes remains "running" after closing out - cannot even kill it from terminal (kill PID) it *only* closes through system monitor when this occurs
VLC unable to stream online video content, "cannot decode h264" (even though local h264 files run fine (another codec issue?)

Disregard. I've been using mpv instead since at least 2020.

Random lockups - unable to determine the cause yet, running clamav-daemon in on-access scanning mode does seem to trigger it when nautilus begins thumbnailing new media in a directory being opened for the first time - disabled for now
   also occured once when cycling through 漢字 within anthy[/s]
       has not occurred only twice since thread creation - marking as non-issue

Misc missing software;
   obs-studio (now available in Debian repos, as of Bullseye)
        openshot-qt (now available in Debian repos, as of Bookworm)
   openmw (now available in Debian repos, as of Bullseye)
        0ad
   dolphin-emu
   mupen64plus
Gaming == unimportant, trivial issue

ffmpeg botches gif creation when using palattes - standard (ugly) gif creation with ffmpeg is fine however
   same exact config + script works okay on x86

ffmpeg (as of 5.1.4-0+deb12u1) botches h264 mp4 video encoding
Manually pass different codec with something like -vcodec mpeg2video or -vcodec vp9

Startup always selects another enP1s0... ethernet port for which there is no profile, must manually select the true port (might just be a GNOME bug?)
No longer an issue.

artha must be launched twice before it actually opens
 Trivial issue - very unlikely to be a fault of POWER/Blackbird Options > "Show Artha's window on launch"

Large images in GIMP are much slower to work with despite having a dedicated add in GPU (a weaker GPU on x86 was fine in comparison)
Just need to be more patient with the program/use smaller images[/s]
Performance has long since been adequate. I just retested and it only slows when moving large layers in 4K+ image sizes. Non-issue, "resolved".
« Last Edit: March 05, 2024, 12:56:24 pm by Borley »

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 473
  • Karma: +37/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Rough edges and how I work around them (or not)
« Reply #1 on: January 04, 2020, 06:27:29 pm »
Quote
When rebooting sometimes restarts without onboard audio available

I haven't observed the lack of onboard audio on reboots, but I usually don't reboot my Blackbird much when it's on. On the other hand, I still occasionally have situations where it won't put video up on HDMI, or at least my home projector won't see it.

Quote
VLC sometimes remains "running" after closing out

This is not specific to the Blackbird; I've seen this on the Talos. I haven't figured out why this occurs. A killall -9 will nuke it.

Alternatively, go to the settings and uncheck Allow only one instance. This doesn't solve the problem but it makes it much less annoying, and you can clean up the corpses later.

Quote
Large images in GIMP are much slower to work with

I haven't been happy with GIMP on any platform. I use Krita or azpainter.

Some of your other issues sound more software-motivated, but I think that PCIe-NVMe bridge might be a little rickety.

MauryG5

  • Hero Member
  • *****
  • Posts: 774
  • Karma: +22/-1
    • View Profile
Re: Rough edges and how I work around them (or not)
« Reply #2 on: January 05, 2020, 04:00:28 am »
The problem of the video that is sometimes missing on HDMI I mentioned this to Raptor myself a while ago, I am aware of the problem and are working to resolve it. When the BMC firmware update is released, the problem will be resolved, we just have to wait for it to come out ... I also often have this problem because in the evening I disconnect the computer from the power supply to avoid power surges or similar things.

q66

  • Guest
Re: Rough edges and how I work around them (or not)
« Reply #3 on: January 05, 2020, 04:35:28 pm »
System stutter with any I/O activity on the main drive (could be the PCIe-NVMe adapter?)
   major I/O on the main drive (copying many large files to) makes the system nearly unusable

Sounds like an un-TRIMed drive, run fstrim on its mountpoint once in a while...

Unavailable dependencies needed for packages that would otherwise be installable:
   mozc - that's okay anthy works just as well
   anki - one single python package is not built for ppc
   openshot - one single python package is not built for ppc. none of the other video editors will actually load any video content (missing codec? I'm too dumb to figure this out)

Have your distro build them, we're building all of those in Void and they seem just fine (on little endian anyway, on big endian mozc does not build)

VLC playback   
VLC sometimes remains "running" after closing out - cannot even kill it from terminal (kill PID) it *only* closes through system monitor when this occurs
VLC unable to stream online video content, "cannot decode h264" (even though local h264 files run fine (another codec issue?)

Use mpv? :P

Misc missing software;
   obs-studio
   0ad
   openmorrowind
   dolphin-emu
   mupen64plus

All of these except mupen64plus build/work on ppc64le nowadays, dolphin-emu does not have a JIT though so it's slow. 0ad needs some patches (available on Raptor wiki), the others don't really need anything.


« Last Edit: January 05, 2020, 04:42:27 pm by q66 »

Borley

  • Full Member
  • ***
  • Posts: 181
  • Karma: +17/-0
    • View Profile
Re: Rough edges and how I work around them (or not)
« Reply #4 on: January 08, 2020, 09:44:38 pm »
-snip-

For the longest time, I was under the impression that my distro enables trim by default. Checking systemctl reveals that it is not even running. Looks like I have a project to do!

I also tried out MPV and I like how minimalist it is but didn't explore it enough to find streaming or subtitling features. Maybe it is time for a revisit.

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 473
  • Karma: +37/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Rough edges and how I work around them (or not)
« Reply #5 on: January 08, 2020, 11:55:06 pm »
Are you on Fedora? fstrim.timer will become default in F32 (hopefully).

FlyingBlackbird

  • Full Member
  • ***
  • Posts: 102
  • Karma: +3/-0
    • View Profile
Re: Rough edges and how I work around them (or not)
« Reply #6 on: January 30, 2020, 06:15:44 pm »
-snip-
For the longest time, I was under the impression that my distro enables trim by default. Checking systemctl reveals that it is not even running. Looks like I have a project to do!

There is a bug in SSD trimming (discard) with NVMe SSDs in the kernel until version 5.4:

[FIXED in stable kernels 4.19 and 5.4] https://bugzilla.kernel.org/show_bug.cgi?id=202665 IOMMU related errors when performing discard on some NVMe devices (mainly NVMe SSDs). Current workaround is booting with the kernel parameter "'iommu=soft'', see the https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=530436c45ef2e446c12538a400e465929a0b3ade patch

I am currently using Fedora Server 31 with Kernel 5.4.13-201.fc31.ppc64le and cannot observe NVMe problems or crashes anymore like with Ubuntu Server 19.10 and Kernel 5.1.x (but I have to do more tests for that).

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 473
  • Karma: +37/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Rough edges and how I work around them (or not)
« Reply #7 on: January 30, 2020, 11:51:40 pm »
For certain devices. This machine is fine with a 5.3 kernel (haven't got around to updating it yet), and the Samsung NVMe SSDs Raptor ships appear to be unaffected.

pocock

  • Sr. Member
  • ****
  • Posts: 297
  • Karma: +33/-0
    • View Profile
Re: Rough edges and how I work around them (or not)
« Reply #8 on: January 25, 2021, 03:05:29 am »

ffmpeg botches gif creation when using palattes - standard (ugly) gif creation with ffmpeg is fine however
   same exact config + script works okay on x86


Can you please see if this is fixed by this update?

Please confirm the ffmpeg version you are using
Debian Developer
https://danielpocock.com

Borley

  • Full Member
  • ***
  • Posts: 181
  • Karma: +17/-0
    • View Profile
Re: Rough edges and how I work around them (or not)
« Reply #9 on: January 27, 2021, 06:57:15 am »

ffmpeg botches gif creation when using palattes - standard (ugly) gif creation with ffmpeg is fine however
   same exact config + script works okay on x86


Can you please see if this is fixed by this update?

Please confirm the ffmpeg version you are using

I will tag this to check. I am currently on ffmpeg 4.1.6.

Borley

  • Full Member
  • ***
  • Posts: 181
  • Karma: +17/-0
    • View Profile
Re: Rough edges and how I work around them (or not)
« Reply #10 on: April 08, 2022, 06:40:57 pm »
Spring 2022 update:

obs-studio is now available for ppc64le (Debian repository) - tested and working.

Additional improvements a Blackbird redesign could use:

Better hardware clock setting. Cannot interact via Linux, hwclock --set... must currently be done through BMC. I may need to check out fake-hwclock for now.

power9mm

  • Full Member
  • ***
  • Posts: 106
  • Karma: +8/-3
    • View Profile
Re: Rough edges and how I work around them (or not)
« Reply #11 on: August 14, 2022, 04:06:12 pm »
Quote
System stutter with any I/O activity on the main drive (could be the PCIe-NVMe adapter?)
   major I/O on the main drive (copying many large files to) makes the system nearly unusable

ever reach a resolution with this?

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 473
  • Karma: +37/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Rough edges and how I work around them (or not)
« Reply #12 on: August 14, 2022, 09:48:11 pm »
I don't think this is an issue with current releases anymore as long as your device is supported for TRIMming.

MPC7500

  • Hero Member
  • *****
  • Posts: 596
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Rough edges and how I work around them (or not)
« Reply #13 on: August 15, 2022, 05:54:58 am »
I never had any issues

Corvidae

  • Newbie
  • *
  • Posts: 25
  • Karma: +11/-0
    • View Profile
Re: Rough edges and how I work around them (or not)
« Reply #14 on: March 14, 2023, 08:57:56 pm »
When rebooting sometimes restarts without onboard audio available
   complete reboot removing power from the board is required to rectify this situation

Apologies for bumping this, but has anyone figured out why this happens? I'm running into this constantly, and everything I've tried to avoid having to do a full power cycle has failed. I tried powering off the individual ports of the hub (the only Genesys Logic hub on the board, GL852 I believe) it is connected to, powering off the entire hub that it is connected to (not just individual ports), and even powering off the TI USB Hub that pretty much the entire system uses, but none of them bring the audio device back.

I have to put the machine into some low-power state almost daily by request of people I live with, and since there is still no suspend support, the only option is turning the entire thing off...