Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
68 user(s) are online (28 user(s) are browsing Forums)

Members: 1
Guests: 67

billyfish, more...

Support us!

Headlines

Forum Index


Board index » All Posts (Falke_34)




Re: What the fastest possible x64 emulation way of OS4 today ?
Just popping in
Just popping in



Go to top


Re: Endless Sky v0.11.2 AmigaOS 4.1 Port
Just popping in
Just popping in


In the Update only changed the libopenal.a (to os4depot 1.18.2 version)

by me now sound okay

There should be logs in the game folder – please post the content.

Go to top


Re: Endless Sky v0.11.2 AmigaOS 4.1 Port
Just popping in
Just popping in


Update/Fix for Sound ist on OS4Welt Online!

Go to top


Endless Sky v0.11.2 AmigaOS 4.1 Port
Just popping in
Just popping in


Endless Sky is a 2D Space Trading and Combat Game

Homepage: https://endless-sky.github.io

Download: https://mega.nz/file/dWgVTD6Y#7Bk1lD_Y ... 1jzbIOmuJU5VddkTWpXZoJVE0

Original Thread and Updates: https://os4welt.de/viewtopic.php?t=3013

Go to top


Re: Mesa bug thread
Just popping in
Just popping in


Thanks for quick answer but
the new binary from you freezes for me as well.

and i use the AmigaPorts SDL2 (Github Download)


Edited by Falke_34 on 2026/9/24 14:07:37
Go to top


Re: Mesa bug thread
Just popping in
Just popping in


@kas1e
Thanks for the fixes and your test build. Result on my system: your own Ironwail binary freezes the whole machine too, the same way my builds do. The menu (2D) works; the freeze happens as soon as the first 3D frame is rendered (startup demo loading, or starting a new game). Since your binary works on your Polaris, this looks specific to Pitcairn / Southern Islands (GCN1) in radeonsi.

https://os4welt.de/viewtopic.php?p=55984#p55984

Go to top


Re: porting of Quakespasm
Just popping in
Just popping in


Thank you!
QuakeSpasm Mesa Port and QuakeSpasm GUI out now

Go to top


Re: Mesa bug thread
Just popping in
Just popping in


Subject: Ironwail (GL 4.3) rendering corruption / freeze on Pitcairn (radeonsi) — missing GL_ARB_buffer_storage & GL_ARB_shader_draw_parameters

System:
- Reporter 1: AmigaOne, PITCAIRN (radeonsi), Mesa 26.1.5 (git-2e7650ee6e), GL 4.3 Core
- Reporter 2: real X5000 hardware, independently confirms the issue via shell
(+map base1): loads fine, but on entering the level, textures briefly
glitch, then the screen turns blue and the whole system freezes.

Software:
- Ironwail 0.8.3-dev (Quake source port, github.com/andrei-drexler/ironwail),
cross-built for AmigaOS4/PPC, linked against native AmigaOS4 Mesa (mesa.library).

Finding:
Mesa AmigaOS4 exposes GL_ARB_bindless_texture and GL_ARB_multi_bind, but NOT
GL_ARB_buffer_storage and NOT GL_ARB_shader_draw_parameters. Verified via a
-gldebug log: Ironwail's GL_FindExtension() (gl_vidsdl.c) only logs
"FOUND: <ext>" on success — neither line appears for these two extensions.

Since Ironwail's gl_bindless_able requires BOTH GL_ARB_bindless_texture AND
GL_ARB_shader_draw_parameters together via short-circuit && (gl_vidsdl.c:1086-1091):

gl_bindless_able =
!COM_CheckParm ("-nobindless") &&
GL_FindExtension ("GL_ARB_bindless_texture") &&
GL_FindExtension ("GL_ARB_shader_draw_parameters") &&
GL_InitFunctions (gl_arb_bindless_texture_functions, false)
;

the entire bindless render path is already disabled at runtime on this
system — not because of the -nobindless command-line flag, but because the
required extension is missing. This also explains why testing -nobindless,
-nobufferstorage, -nomultibind and -noclipcontrol (individually and combined)
produced no change: those code paths were already inactive before the flags
were even applied.

The corruption (and, on real X5000 hardware, a full freeze) therefore occurs
in Ironwail's remaining non-bindless render path, so it is unrelated to the
bindless texture feature itself.

Question for the Mesa side:
Is the absence of GL_ARB_buffer_storage / GL_ARB_shader_draw_parameters
intentional (not yet implemented) or a detection/advertising bug? Given this
is advertised as a GL 4.3 Core driver, and both extensions are mandatory
promoted functionality in 4.3 core, could this indicate a conformance gap
worth checking?

OS4Welt Thread/Port: https://os4welt.de/viewtopic.php?p=55782#p55782

Go to top


Re: Project - hardware to run AOS4 for 35 euro on QEMU 10 + GPU  passthrough
Just popping in
Just popping in


QEmu with Voodoo 3 Emulation (ported from 86Box) (ALPHA)

https://ibb.co/9k4WdNz5

https://ibb.co/CK3XyVsP

Go to top


[DEV] VirtioVGA Driver for QEmu / AmigaOS4.1FE
Just popping in
Just popping in


With the help of AI and actually zero knowledge of programming, I once tried the VirtioVGA driver.

Update (DEV Build 5): (03/15/26)
- Archive updated
- previous bugs fixed

Bugs/Todos:
- no screen modes
- Crash during shutdown/restart
- Return code 20 at startup
- Use crash during VirtioVGA screen mode

Installation:
vtlspci nach C:
virtio.library nach Kickstart
virtiovga
.card nach Kickstart
VirtioVGA Monitorfile nach Devs
/Monitors

-device sm501
-device virtio-gpu-pci


Screenshot: https://mega.nz/file/YTYyjAjI#SRkJ5w3I ... 6i7pk3NkbtYtRHOIXuzehoRGE

Help is welcome!

Download (15.03.26): https://mega.nz/file/8Xwn0JZC#5tQ33Vjc ... nswaEe4JgZ4iw7pL4eUD2rQTE


Edited by Falke_34 on 2026/3/15 17:42:30
Go to top


Re: infinite icons theme pack
Just popping in
Just popping in


@DigitalDesigns
Ohhhh -> NO!


Great, now it works!

That would be a good reason to integrate this little library into the installer for the next version.

Go to top


Re: infinite icons theme pack
Just popping in
Just popping in


Thank you for Version 1.1! Great work!

Unfortunately, the installation doesn't work for me! No matter which version I try, I keep getting the same error message.

I tested -> Blue (Use Split and Use Full), Black (Use Split and Use Full) and now White (Use Split)

AmigaOS 4 is newly installed with Update 1 + 2, I have not made any changes to the icon information.(default 64x64)

Screen: https://ibb.co/kgDmhXps

Go to top


Re: qemu amigaos 4.1 sudo without no audio
Just popping in
Just popping in


Just a stupid question: why don’t you just use/try Ubuntu/Kubuntu/Xubuntu

"I just installed xfce+alsa-audio without pipewire."
Isn't all of this already included in your Linux? Or why are you installing all of this separately?

Unfortunately, I don't quite understand your problem.
It almost seems like you've messed something up.

As I wrote before -> Reinstall your Linux -> test the audio – it should work right away -> install QEmu and test the audio as well.


Which Linux are you using? Maybe I can test it myself.

Go to top


Re: qemu amigaos 4.1 sudo without no audio
Just popping in
Just popping in


Qemu uses what you set in the host system.
Audio example: If you set it to HDMI output in Linux, Qemu will also use that output – but you won't hear anything under AmigaOS because there are no drivers.
SPDIF is the same!
Lineout under Linux, and the sound also comes out of lineout in QEMU/AmigaOS.

What you're doing here with Alsaaudio etc. is beyond my knowledge.

For me, under Ubuntu - installed - I set the sound settings to lineout, and it works under both Linux and QEmu/AmigaOS.

Picture: https://www.directupload.eu/file/d/9042/gmgvjj6c_png.htm


Regarding graphics: If you have two full-fledged graphics cards in your computer, it's quite possible that you could use two graphics cards as a passthrough.

But that doesn't make much sense – since we only need the Radeon R9 (for example) – and if that only works in the first slot, then it can go there.
I have 1x IGP from the i5 and in the 1st PCIe slot the Radeon graphics card

I don't know much about Linux myself, but if I had problems like yours, I would reinstall it once - without reinstalling anything, test the sound under Linux - it works -> great -> start Qemu and test it as well

My QEmu PPC Build Script (Ubuntu): https://github.com/Falke3434/Buildscri ... mu-Build-Script_Ubuntu.sh

This script (for Ubuntu) shows me if IOMMU etc is enabled and the GPU

Picture: https://www.directupload.eu/file/d/9042/ukuofdrd_png.htm

vfio-check.sh:
#!/bin/bash
# VFIO host sanity check: IOMMU support + GPU-containing groups

set -u  # don't use -e so greps that find nothing don't abort

# --- helpers ---------------------------------------------------------------
have() { command -v "$1" >/dev/null 2>&1; }

read_klog() {
  if 
have journalctl; then journalctl -k -b 0 2>/dev/null
  
else dmesg 2>/dev/null
  fi
}

trim() { sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'; }

# --- 1) CPU vendor + boot flags -------------------------------------------
CPU_VENDOR="$(
  (lscpu 2>/dev/null | awk -F: '/Vendor ID/{print $2}' | trim) ||
  (grep -m1 'vendor_id' /proc/cpuinfo 2>/dev/null | awk '{print $3}')
)"
[ -z "${CPU_VENDOR}" ] && CPU_VENDOR="(unknown)"

CMDLINE="$(cat /proc/cmdline 2>/dev/null || echo '')"
HAS_INTEL_FLAG=$(echo "$CMDLINE" | grep -q 'intel_iommu=on' && echo yes || echo no)
HAS_AMD_FLAG=$(echo "$CMDLINE" | grep -q 'amd_iommu=on' && echo yes || echo no)
HAS_PT_FLAG=$(echo "$CMDLINE" | grep -q 'iommu=pt' && echo yes || echo no)

# --- 2) Kernel log signals ------------------------------------------------
KLOG="$(read_klog)"

DISABLED_MSG=$(echo "$KLOG" | egrep -i 'IOMMU.*disabled by BIOS|DMAR:.*disabled|AMD-Vi:.*disabled' || true)
ENABLED_MSG=$(echo "$KLOG" | egrep -i 'DMAR: IOMMU enabled|AMD-Vi:.*IOMMU.*enabled|IOMMU: .*enabled' || true)
IR_MSG=$(echo "$KLOG" | egrep -i 'Interrupt remapping enabled' || true)

# --- 3) IOMMU groups presence --------------------------------------------
GROUPS_DIR="/sys/kernel/iommu_groups"
GROUP_COUNT=0
if [ -d "$GROUPS_DIR" ]; then
  GROUP_COUNT
=$(find "$GROUPS_DIR" -mindepth 1 -maxdepth 1 -type d 2>/dev/null | wc -l | awk '{print $1}')
fi

# Heuristic: active if groups exist (>0). Logs help explain state.
IOMMU_ACTIVE="no"
[ "$GROUP_COUNT" -gt 0 ] && IOMMU_ACTIVE="yes"

# --- 4) Report summary ----------------------------------------------------
echo "=== IOMMU Summary ==="
echo "CPU vendor           : $CPU_VENDOR"
echo "Kernel cmdline       : $CMDLINE"
echo "Boot flags           : intel_iommu=$HAS_INTEL_FLAG  amd_iommu=$HAS_AMD_FLAG  iommu=pt=$HAS_PT_FLAG"
echo "Groups directory     : $GROUPS_DIR  (exists: $([ -d "$GROUPS_DIR" ] && echo yes || echo no))"
echo "IOMMU group count    : $GROUP_COUNT"
echo "Kernel says enabled  : $([ -n "$ENABLED_MSG" ] && echo yes || echo no)"
echo "Interrupt remapping  : $([ -n "$IR_MSG" ] && echo yes || echo no)"
echo "Kernel says disabled : $([ -n "$DISABLED_MSG" ] && echo yes || echo no)"
echo "IOMMU ACTIVE?        : $IOMMU_ACTIVE"
echo

if [ -
n "$ENABLED_MSG" ]; then
  
echo "--- Kernel enable lines ---"
  
echo "$ENABLED_MSG"
  
echo
fi
if [ -n "$DISABLED_MSG" ]; then
  
echo "--- Kernel disable lines ---"
  
echo "$DISABLED_MSG"
  
echo
fi

# --- 5) Original: list only GPU-containing groups -------------------------
echo "=== GPU-Containing IOMMU Groups ==="
if [ ! -d "$GROUPS_DIR" ] || [ "$GROUP_COUNT" -eq 0 ]; then
  
echo "(no IOMMU groups found)"
else
  declare -
A GPU_COUNT_BY_GROUP=()
  
group_warnings=()

  for 
g in "$GROUPS_DIR"/*; do
    [ -d "$g" ] || continue
    group_num=$(basename "$g")
    gpu_found=false
    device_lines=""
    non_gpu_non_bridge=false
    gpu_count_in_this_group=0

    for d in "$g"/devices/*; do
      [ -e "$d" ] || continue
      pci_addr=$(basename "$d")
      # -nns prints class code [XXXX] and vendor:device [vvvv:dddd]
      line=$(lspci -nns "$pci_addr" 2>/dev/null || echo "$pci_addr (unlisted)")
      device_lines+="$line"$'\n'

      # Extract first [...] which is the class code, e.g. 0300, 0302, 0403, 0604, 0600
      class_code=$(echo "$line" | awk -F'[][]' '{print $2}')

      # Detect GPUs / 3D controllers and their HDA audio functions
      if echo "$line" | grep -qE 'VGA compatible controller|3D controller'; then
        gpu_found=true
        gpu_count_in_this_group=$((gpu_count_in_this_group+1))
      fi

      # Allowlist: 0300(VGA), 0302(3D), 0403(HDA audio), 0600(host bridge), 0604(PCI bridge)
      case "$class_code" in
        0300|0302|0403|0600|0604) : ;;
        *) non_gpu_non_bridge=true ;;
      esac
    done

    if $gpu_found; then
      echo "IOMMU Group $group_num:"
      echo "$device_lines"

      # Track GPUs per group
      GPU_COUNT_BY_GROUP["$group_num"]=$gpu_count_in_this_group

      # Warn if unexpected devices share the group with the GPU
      if $non_gpu_non_bridge; then
        group_warnings+=("WARN: Group $group_num contains non-GPU, non-audio, non-bridge devices (consider different slot/CPU root complex or ACS).")
      fi
    fi
  done

  # Post-checks
  # 1) Each GPU should be alone (one GPU per group)
  shared_groups=()
  for gnum in "${!GPU_COUNT_BY_GROUP[@]}"; do
    if [ "${GPU_COUNT_BY_GROUP[$gnum]}" -gt 1 ]; then
      shared_groups+=("$gnum")
    fi
  done

  if [ "${#shared_groups[@]}" -gt 0 ]; then
    echo
    echo "WARN: Multiple GPUs share these IOMMU groups: ${shared_groups[*]} (prefer one GPU per group for VFIO)."
  fi

  # 2) Any non-bridge co-residents?
  if [ "${#group_warnings[@]}" -gt 0 ]; then
    echo
    printf "%s\n" "${group_warnings[@]}"
  fi
fi


This script enters everything that is needed for IOMMU into the respective files
setup_iommu_vfio.sh
#!/bin/bash

# Skript zur Aktivierung von IOMMU und Konfiguration von VFIO für PCI Passthrough

set -e  # Bei Fehler abbrechen

# --- Schritt 1: GRUB anpassen ---
echo "Backup von /etc/default/grub wird erstellt..."
cp /etc/default/grub /etc/default/grub.bak

echo "Ändere GRUB_CMDLINE_LINUX_DEFAULT..."
sed -i 's/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on iommu=pt"/' /etc/default/grub

echo "GRUB-Konfiguration aktualisiert."

# --- Schritt 2: vfio.conf erstellen ---
VFIO_CONF_PATH="/etc/modprobe.d/vfio.conf"

echo "Backup von $VFIO_CONF_PATH (falls vorhanden)..."
if [ -f "$VFIO_CONF_PATH" ]; then
    cp 
"$VFIO_CONF_PATH" "$VFIO_CONF_PATH.bak"
    
echo "Backup erstellt unter $VFIO_CONF_PATH.bak"
fi

echo "Erstelle neue vfio.conf mit gewünschten Optionen..."

cat > "$VFIO_CONF_PATH" <<EOF
options vfio
-pci ids=1002:6810,1002:aab0
softdep drm pre
: vfio-pci
softdep snd_hda_intel pre
: vfio-pci
blacklist radeon
blacklist amdgpu
EOF

echo "vfio.conf wurde erstellt."

# --- Schritt 3: GRUB aktualisieren ---
echo "Aktualisiere GRUB..."
update-grub

# --- Schritt 4: initramfs aktualisieren ---
echo "Aktualisiere initramfs..."
update-initramfs -u

echo "✔ Alle Änderungen wurden durchgeführt."
echo "🔁 Bitte starte dein System neu, damit alles wirksam wird."


Edited by Falke_34 on 2025/9/14 10:59:21
Edited by Falke_34 on 2025/9/14 11:00:40
Go to top


Re: qemu amigaos 4.1 sudo without no audio
Just popping in
Just popping in


I don't know what kind of problems you're having with QEmu/AmigaOS and audio.

What kind of exotic sound chip does your motherboard have, or what kind of motherboard is it?

For example, I have a Z170x gaming 7 with a SoundCore3d sound chip onboard with Ubuntu 25.04.
LineOut works perfectly in QEmu and AmigaOS (AC97). SPDIF doesn't work!

I can't get the sound chip out of the IOMMU group, so I can't test the Soundcore chip directly under AmigaOS (if there is a suitable driver).


My QEmu Startfile:
sudo qemu-system-ppc -M amigaone -m 2048 -rtc base=localtime -accel tcg \
-bios /home/falke34/Schreibtisch/QEmu/AmigaOne/u-boot-amigaone.bin \
-vga none -display sdl \
-device rtl8139,netdev=net0 -netdev user,id=net0 \
-device vfio-pci,host=01:00.0,bus=pci.0,x-vga=on,multifunction=on \
-device vfio-pci,host=01:00.1,bus=pci.0 \
-device bochs-display \
-device usb-mouse \
-drive format=raw,file=/dev/sda \
-serial stdio

You could remove, for example: -device vfio-pci,host=01:00.1,bus=pci.0 since this is the sound of the graphics card.
Outputting sound via the graphics card and HDMI will probably not be possible under AmigaOS. I highly doubt there are drivers for that.

You can passthrough for AmigaOS 4:
- Graphic cards (only GPU, not the Soundpart)
- Soundcards PCI/PCIe see here: https://www.amigans.net/modules/newbb/ ... id=156680#forumpost156680
- USB Mouse, Keyboard and Gamepad
- Network Cards PCI/PCIe?

Of course, you should make sure that there are also drivers for AmigaOS 4.1

Example (USB gamepad):
-Microsoft Sidewinder Pro is recognized and appears to be working.
Prefs/AmigaInput shows it.
-Retroflag Classic USB gamepad: Not displayed or recognized in Prefs/AmigaInput.

Here is a small compatibility List: https://www.acube-systems.biz/compatibility/compatibility_41.php


Edited by Falke_34 on 2025/9/14 9:23:04
Edited by Falke_34 on 2025/9/14 9:27:54
Edited by Falke_34 on 2025/9/14 9:36:47
Edited by Falke_34 on 2025/9/14 9:38:15
Go to top


Re: Kyvos was updated
Just popping in
Just popping in


@white
"The problem is the audio doesn't work."

S/PDIF doesn't work, but line out works.

S/PDIF works under Linux but not with QEMU and AmigaOS 4.1.

Tested with onboard sound on a Z170X Gaming7 with Creative Soundcore 3D


@walkero
Could you add/enable GPU passthrough to the Linux version?

Go to top


Re: Kyvos was updated
Just popping in
Just popping in


Thanks for the GUI!
Here's everything in one place, ideal for beginners!

I also wrote a few GUIs a while back, but they didn't get much attention:

QEmu AmigaOS4 GUI (Windows/Linux)
https://github.com/Falke3434/QEmu-PPC- ... 1.1/QEmu.AmigaOS4.GUI.zip

Pegasos2 und AmigaOne Kickstart Creator (Windows)
https://github.com/Falke3434/QEmu-PPC-GUI

Buildscript-QEmu-PPC (Powershell Windows)
https://github.com/Falke3434/Buildscript-QEmu-PPC

Go to top


Re: VFIO passthrough results
Just popping in
Just popping in


QEmu 10 + GPU Passthrough on Ubuntu:

My System:
- Intel Core i5-7500 (LGA1151)
- Gigabyte Z170X Gaming 7 (IGP)
- 16GB DDR4 Ram
- Sapphire R9 270X 2GB
- IGP Intel HD Graphics 630

GfxBench2D - with R9 270x 2G
http://hdrlab.org.nz/Benchmark/GfxBench2D/Result/2942

GfxBench2D - with HD6950 1G
http://hdrlab.org.nz/Benchmark/GfxBench2D/Result/2943

Quake 2 with R9 270x:

640x480 GL4ES Fullscreen
- 40.2 fps

800x600 GL4ES Fullscreen
- 40.3 fps

1024x768 GL4ES Fullscreen
- 38.5 fps

1920x1080 GL4ES Fullscreen
- 36.3 fps

Go to top



TopTop




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project