Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Red Artifacting On Textures When Post-Processing is On #51

Open
2 tasks done
skcb64 opened this issue Feb 4, 2024 · 2 comments
Open
2 tasks done

[BUG] Red Artifacting On Textures When Post-Processing is On #51

skcb64 opened this issue Feb 4, 2024 · 2 comments
Labels
Bug Something isn't working
Milestone

Comments

@skcb64
Copy link

skcb64 commented Feb 4, 2024

Validations

  • I have checked for similar bug reports and could not find any.
  • I have tested and confirmed that this is an issue in an official branded build.

Describe the bug

When post-processing is toggled on (in Session or Creator), the model is covered in bright red artifacts of some kind. The artifacting is random and seems to change whenever the application is restarted--sometimes it's worse, sometimes better.
image
image
The artifacts persist in streamed views of the window on Discord and OBS (using Window Capture).

Reproduction

  1. Load a puppet in Inochi Session or Creator.
  2. Toggle post-processing to "on".
  3. Observe varying levels of weird glitch effect.

System Architecture

x86_64

Operating System

Linux

Version

0.8.3

Logs

System Information System:
Kernel: 6.5.0-15-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
Type: Desktop Mobo: ASRock model: B550M Pro4 serial: UEFI: American Megatrends LLC. v: P3.20 date: 09/27/2023
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: charge: 55% (should be ignored) status: Discharging
CPU:
Info: 6-core model: AMD Ryzen 5 4500 bits: 64 type: MT MCP arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
Speed (MHz): avg: 1091 high: 3242 min/max: 400/4208 cores: 1: 3242 2: 400 3: 400 4: 3059 5: 3192 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 bogomips: 86244
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: XFX Pine driver: amdgpu v: kernel pcie: speed: 2.5 GT/s lanes: 16 ports: active: DP-1,DP-2,HDMI-A-1 empty: DP-3,DVI-D-1 bus-ID: 01:00.0 chip-ID: 1002:67df
Device-2: Jieli USB PHY 2.0 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-4.4:10 chip-ID: 1224:2a25
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 5760x1080 s-dpi: 96
Monitor-1: DisplayPort-0 mapped: DP-1 pos: primary,center model: Acer K242HYL res: 1920x1080 dpi: 93 diag: 604mm (23.8")
Monitor-2: DisplayPort-1 mapped: DP-2 pos: primary,left model: ASUS VP228 res: 1920x1080 dpi: 102 diag: 546mm (21.5")
Monitor-3: HDMI-A-0 mapped: HDMI-A-1 pos: right model: Sharp HDMI res: 1920x1080 dpi: 55 diag: 1016mm (40")
OpenGL:
renderer: AMD Radeon RX 580 Series (radeonsi polaris10 LLVM 15.0.7 DRM 3.54 6.5.0-15-generic) v: 4.6 Mesa 23.3.1 - kisak-mesa PPA direct render: Yes
Audio:
Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: XFX Pine driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aaf0
Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 06:00.1 chip-ID: 1002:1637
Device-3: AMD Family 17h HD Audio vendor: ASRock driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3
Device-4: C-Media JLAB TALK GO MICROPHONE type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2:2 chip-ID: 0d8c:1008
Device-5: Jieli USB PHY 2.0 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-4.4:10 chip-ID: 1224:2a25
Sound Server-1: ALSA v: k6.5.0-15-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0 chip-ID: 10ec:8168 IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac:
Bluetooth:
Device-1: Broadcom BCM20702A0 Bluetooth 4.0 type: USB driver: btusb v: 0.8 bus-ID: 1-7.2:7 chip-ID: 0a5c:21e8
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: bt-v: 2.1 lmp-v: 4.0 sub-v: 220e
Drives:
Local Storage: total: 3.76 TiB used: 1.25 TiB (33.2%)
ID-1: /dev/nvme0n1 vendor: Transcend model: TS128GMTE110S size: 119.24 GiB speed: 31.6 Gb/s lanes: 4 serial: temp: 43.9 C
ID-2: /dev/sda vendor: Western Digital model: WD40EZAZ-00SF3B0 size: 3.64 TiB speed: 6.0 Gb/s serial:
Partition:
ID-1: / size: 116.34 GiB used: 38.1 GiB (32.7%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 486 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
ID-3: /home size: 3.58 TiB used: 1.21 TiB (33.7%) fs: ext4 dev: /dev/sda1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 50.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 748
Repos:
Packages: 3104 apt: 3072 flatpak: 20 snap: 12
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/1password.list
1: deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https: //downloads.1password.com/linux/debian/amd64 stable main
No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
1: deb https: //repo.radeon.com/amdgpu/23.20/amdgpu/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/lunarg-vulkan-1.3.268-jammy.list
1: deb https: //packages.lunarg.com/vulkan/1.3.268 jammy main
2: deb-src https: //packages.lunarg.com/vulkan/1.3.268 jammy main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com victoria main upstream import backport
2: deb http: //mirrors.accretive-networks.net/ubuntu jammy main restricted universe multiverse
3: deb http: //mirrors.accretive-networks.net/ubuntu jammy-updates main restricted universe multiverse
4: deb http: //mirrors.accretive-networks.net/ubuntu jammy-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/qbittorrent-team-qbittorrent-stable-jammy.list
1: deb [arch=amd64 signed-by=/etc/apt/keyrings/qbittorrent-team-qbittorrent-stable-jammy.gpg] https: //ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/rocm.list
1: deb [arch=amd64] https: //repo.radeon.com/amdgpu/23.20/rocm/apt/5.7 jammy main
Active apt repos in: /etc/apt/sources.list.d/spotify.list
1: deb http: //repository.spotify.com stable non-free
Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
1: deb [arch=amd64] https: //repo.vivaldi.com/stable/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/code stable main
Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
1: deb [arch=amd64 i386] https: //dl.winehq.org/wine-builds/ubuntu jammy main
Info:
Processes: 373 Uptime: 24m Memory: 30.25 GiB used: 4.27 GiB (14.1%) Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 5.8.4 inxi: 3.3.13

Additional Context

I sent a model to one of my friends, whose laptop is apparently weaker graphically than my desktop, and who also runs on Ubuntu (but not Mint), and she didn't experience the same issue.

@skcb64 skcb64 added Bug Something isn't working Triage PR/Issue needs to be triaged. labels Feb 4, 2024
@LunaTheFoxgirl LunaTheFoxgirl removed the Triage PR/Issue needs to be triaged. label Feb 4, 2024
@LunaTheFoxgirl LunaTheFoxgirl added this to the 0.9 milestone Feb 4, 2024
@BareTuna
Copy link

BareTuna commented Mar 3, 2024

Hey! I have the same issue. Figured I'd add my info too in case it helps.

Application Logs
[INFO] Inochi Session v0.8.3, args=[]
[INFO] Lua support initialized. (Statically linked for now)
[INFO] Scanning plugins at /home/tuna/.config/inochi-session/plugins...
[ERR ] Could not start texture sharing, it will be disabled. Is the library missing?
System and Graphics info
$ inxi --system --graphics --extra 3 --filter -y 1
System:
  Kernel: 6.6.20-1-lts
    arch: x86_64
    bits: 64
    compiler: gcc
      v: 13.2.1
  Desktop: KDE Plasma
    v: 5.27.10
    tk: Qt
      v: 5.15.12
    wm: kwin_wayland
  Distro: Arch Linux

Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    vendor: Sapphire
    driver: amdgpu
      v: kernel
    arch: RDNA-2
    pcie:
      speed: 16 GT/s
      lanes: 16
    ports:
      active: DP-2,HDMI-A-1
      empty: DP-1,DP-3
    bus-ID: 03:00.0
    chip-ID: 1002:73df
    class-ID: 0300
  Display: wayland
    server: X.org
      v: 1.21.1.11
      with: Xwayland
        v: 23.2.4
    compositor: kwin_wayland
    driver:
      X:
        loaded: modesetting
        unloaded: vesa
        alternate: fbdev
      dri: radeonsi
      gpu: amdgpu
    d-rect: 3840x1080
    display-ID: 0
    Monitor-1: DP-2
      pos: primary,left
      res: 1920x1080
      size: N/A
      modes: N/A
    Monitor-2: HDMI-A-1
      pos: right
      res: 1920x1080
      size: N/A
      modes: N/A
  API: EGL
    v: 1.5
    hw:
      drv: amd radeonsi
    platforms:
      device: 0
        drv: radeonsi
      device: 1
        drv: swrast
      surfaceless:
        drv: radeonsi
      wayland:
        drv: radeonsi
      x11:
        drv: radeonsi
      inactive: gbm
  API: OpenGL
    v: 4.6
    compat-v: 4.5
    vendor: amd mesa
      v: 24.0.2-arch1.1
    glx-v: 1.4
    direct-render: yes
    renderer: AMD Radeon RX 6700 XT (radeonsi navi22 LLVM 16.0.6 DRM 3.54 6.6.20-1-lts)
    device-ID: 1002:73df
    display-ID: :1.0
  API: Vulkan
    v: 1.3.276
    layers: 4
    surfaces: xcb,xlib,wayland
    device: 0
      type: discrete-gpu
      hw: amd
      driver: mesa radv
      device-ID: 1002:73df
EGL Info
$ eglinfo -B
GBM platform:
eglinfo: eglInitialize failed

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.0.2-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.0.2-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0.2-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.0.2-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.0.2-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0.2-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.0.2-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.0.2-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0.2-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.0.2-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.0.2-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.54, 6.6.20-1-lts)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0.2-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.0.2-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.0.2-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0.2-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
Packages + Versions

I could be missing a package maybe?

$ pacman -Q mesa sdl2 freetype2 egl-wayland
mesa 1:24.0.2-1
sdl2 2.30.0-1
freetype2 2.13.2-1
egl-wayland 2:1.1.13-1

Other notes:

  • Switching between Wayland (Kwin 5.27) and Xorg didn't seem to make a difference.
  • It happens in Inochi Creator for me too.
  • Issue didn't seem to happen on laptop (Debian with intel igpu)
  • I can test intel integrated GPU in the same device to see if it makes a difference (I'll test this a bit later)

If i missed other helpful info let me know!

@LunaTheFoxgirl
Copy link
Member

Hey! I have the same issue. Figured I'd add my info too in case it helps.
Application Logs
System and Graphics info
EGL Info
Packages + Versions

Other notes:

* Switching between Wayland (Kwin 5.27) and Xorg didn't seem to make a difference.

* It happens in Inochi Creator for me too.

* Issue didn't seem to happen on laptop (Debian with intel igpu)

* I can test intel integrated GPU in the same device to see if it makes a difference (I'll test this a bit later)

If i missed other helpful info let me know!

Thanks for the report, the issue is related to some quirks with the AMD graphics driver and is a regression. I will be looking in to fixing it soon.

@LunaTheFoxgirl LunaTheFoxgirl modified the milestones: 0.9, 0.8 Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants