Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Borley

Pages: 1 [2]
16
Blackbird / Question for fellow Blackbird owners
« on: December 28, 2021, 06:40:23 pm »
Do you have any trouble booting Debian?

My C1P9S01 Rev 1.01 has the 2.0 firmware installed. It can boot Fedora and Void successfully.

But it cannot boot any Debian (either install media or an internal drive with Bullseye pre-installed). It just hangs forever at "SIGTERM received, booting...". This was not a problem before installing 2.0 firmware.

17
I have been struggling with getting a graphical session (Gnome, or Sway) running under Debian Bullseye. The system is a Blackbird with RX560. After installing firmware-amd-graphics, disabling the AST and setting amdgpu in initramfs modules, the system gets display but crashes out of Gnome GUI.

I have tried setting a default GPU per select desired GPU at runtime. And disabled GLAMOR with the relevant portion of this since it was also erroring about GL_OUT_OF_MEMORY for glamor.

This allowed GDM to now start, however text fails to render and login fails, always returning to the GDM login prompt. Aside from the text, everything looks okay in the GUI so I am confident that the GPU is working at least. It looks like the screen needs to be selected, according to xorg logs:

[     3.162] (==) No Layout section.  Using the first Screen section.
[     3.162] (**) |-->Screen "Screen0" (0)
[     3.162] (**) |   |-->Monitor "<default monitor>"
[     3.163] (**) |   |-->Device "GPU1"
[     3.163] (**) |   |-->GPUDevice "GPU1"
[     3.163] (==) No monitor specified for screen "Screen0".
        All GPUs supported by the amdgpu kernel driver
[     3.175] (EE) No devices detected.
[     3.176] (EE)
Fatal server error:
[     3.176] (EE) no screens found(EE)
[     3.176] (EE)

Has anybody gotten Bullseye up and running with an AMD card? And how do you determine the correct screen to select?

18
User Zone / Forgotten Petiteboot menu password
« on: June 20, 2021, 08:26:09 pm »
I have idiotically reset the passphrase on my Blackbird (1.01 firmware) and can no longer make changes since I don't really know what I've set it to. Will resetting this require a serial cable? I see some resources saying it might be possible through ipmitool.

Update: I have found that I can still log in on BMC over ethernet. Just looking to figure out how to reset the petiteboot passphrase from here.

19
Applications and Porting / How to build Barony Game
« on: June 13, 2021, 03:05:15 pm »
I have finally gotten around to building Barony from source. No changes need to be made as it builds and runs just fine on Power. However, the instructions are a little incomplete, so I thought I would share here for the other 3 people on Earth who play this and also use PowerPC.

Adapted from their resources:

Code: [Select]
apt install libsdl2-dev libsdl2-image-dev libsdl2-net-dev libsdl2-ttf-dev libpng-dev libz-dev libphysfs-dev rapidjson-dev

git clone https://github.com/TurningWheel/Barony.git

mkdir build && cd build

The OpenAL bit is important, otherwise it will have no sound.

Code: [Select]
cmake .. -DOPENAL_ENABLED=ON

cd ../

make -j 4

Should create barony: ELF 64-bit LSB pie executable, 64-bit PowerPC or cisco 7500, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld64.so.2, for GNU/Linux 3.10.0, BuildID[sha1]=3923290b782f5cac6359a315534a6b79471522ee, not stripped

Next, pull in the game resources:

Code: [Select]
wget https://github.com/TurningWheel/Barony/releases/download/V3.3.7-dev/tmp-master-assets.zip

unzip tmp-master-assets.zip

From your copy of Barony, the following asset directories will need to be copied into the same directory as the barony executable; books, images, items, maps, models, music, sound.

Code: [Select]
./barony to play

20
I just came across a piece describing how Microsoft, in partnership with AMD, Intel and Qualcom, intends to implement another "security" component on CPUs which goes a step further than management engines and TPMs. Essentially they want the chip to be able to pull in firmware updates through Windows update, further centralizing the MS power structure and placing users in a position where if they want to run a non-Windows OS the device must first be allowed by permission of its true master.

An architecture should never have to support various operating systems, the onus must fall on operating systems to support CPU architectures. I feel like I've stepped into the bizzaro universe.

21
Applications and Porting / Building software, a bit of a newb question
« on: September 12, 2020, 11:51:39 am »
When compiling programs on Power ISA, does make need to be directed explicitly to build for Power? Does the compiler default to its host architecture?

I am trying to build and run programs which are not available in the ppc64le Debian repos;

  • OBS Studio: blew away my OS install after running a make install (GNOME began behaving unusually and eventually locked up, the system would not boot back up after hard resetting)

    Openspades: I was able to build successfully on an x86 host. I nearly do the same on my Blackbird but am afraid to run the make install with sudo priv due to my above experience with OBS)

Can anyone offer some insight?

22
Condor / Condor cancelled
« on: July 31, 2020, 05:48:28 pm »
This is a serious setback. I suppose the Talos II lite already occupies that space to a degree. Hopefully this is the extent of losses before things begin to turn around.

https://www.talospace.com/2020/07/condor-cancelled.html

23
Operating Systems and Porting / Petite boot and encrypting /boot
« on: July 04, 2020, 04:45:14 pm »
Can Petite boot work with an encrypted /boot directory? I have seen several methods for setting this up but it looks like they go through GRUB. I may not understand this correctly, but doesn't Petite boot stand in for GRUB, when using Raptor systems?

24
Firmware / Updating firmware from the live host: possible?
« on: July 04, 2020, 04:36:43 pm »
I'm still trying to wrap my head around the 1.00 > 2.00 firmware update procedure.

It looks like the files need to be sent from another computer. Can this be done simply by wiring ethernet ports 0 or 1 directly to the BMC ethernet port?

I would rather avoid having to trust another computer in the process, if at all possible.

25
General CPU Discussion / CPU Performance DD2.2 vs DD2.3 (v2)
« on: May 02, 2020, 04:32:31 pm »
I have been unable to find any documented information on the v2 chips beyond the listed features and some vague "5% in some cases" claim on IRC. So I went ahead and got a CP9M31 (v2) to compare. It was a drop in replacement for my Blackbird with the 1.01 firmware. After the system rebooted once with no POST chirp (and a minor heart attack) it proceeded to start up normally. Although the language on the Wiki seems to imply that the new 2.00 firmware is required to run v2 parts?: "PNOR Supports DD2.3 ("v2") CPUs".

Here are some really basic CPU benchmarks with hardinfo:

CPU partCP9M01CP9M31
BlowfishNo data2.04(Lower is better)
CryptoHash854.30945.86(Higher is better)
Fibonacci0.940.94(Lower is better)
N-Queens15.8816.21(Lower is better)
Zlib1.591.54(Higher is better)
FPU FFT1.461.43(Lower is better)
FPU Raytrace2.072.04(Lower is better)

I wouldn't call the test scientific as I did have Gnome system monitor and psensor open in the backgroud for the second run. Interestingly, the part with speculative execution mitigations actually fared worse in N-Queens and Zlib. But it does perform better overall, especially cryptohash. Sorry about the Blowfish stat, my first run didn't grab it and I had already rebuilt my system before I realized it. I will update the table if anybody who has a CP9M01 currently installed wants to run a quick hardinfo benchmark to contribute.

Is this worth adding to the wiki? What would be an appropriate page?

26
User Zone / 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".

Pages: 1 [2]