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

CLAP version of Prisma renders at 50% #1

Closed
amadeusp opened this issue May 21, 2023 · 4 comments
Closed

CLAP version of Prisma renders at 50% #1

amadeusp opened this issue May 21, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@amadeusp
Copy link

Issue

On my system, the CLAP version of Prisma renders at half the size of the VST3 version.

Steps to reproduce

  • Place the CLAP version of Prisma on a track and open its UI.

Expected behavior

  • Both, the VST3 and the CLAP version would render at the same size.

App information

  • Bitwig Studio: Flathub 4.4.10
  • Ardour: Flathub 7.4.0
  • Prisma: Could not find any version information

System information

System:
  Kernel: 6.3.3-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.3-x86_64
    root=UUID=2b7072e2-76a6-42f5-83c2-2ab80366d449 rw
    cryptdevice=UUID=0547c112-bbd6-43c9-8e23-ad3207afedf1:luks-0547c112-bbd6-43c9-8e23-ad3207afedf1
    root=/dev/mapper/luks-0547c112-bbd6-43c9-8e23-ad3207afedf1
    resume=/dev/mapper/luks-b3063d16-3277-4725-89a2-14f079d36d79
    udev.log_priority=3
    bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash
    amd_pstate.shared_mem=1 amd_pstate=passive
  Desktop: GNOME v: 43.5 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 44.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 21D4CTO1WW v: ThinkPad Z16 Gen 1
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21D4CTO1WW serial: <superuser required> UEFI: LENOVO
    v: N3GET55W (1.55 ) date: 03/06/2023
Battery:
  ID-1: BAT0 charge: 59.2 Wh (89.4%) condition: 66.2/72.0 Wh (91.9%)
    volts: 17.2 min: 15.5 model: SMP 5B10W51887 type: Li-poly serial: <filter>
    status: discharging cycles: 117
  Device-1: wacom_battery_0 model: Wacom HID 52F5 serial: N/A charge: 0%
    rechargeable: yes status: N/A
Memory:
  System RAM: available: 14.9 GiB used: 9.38 GiB (62.9%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 PRO 6650H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3+ gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
    family: 0x19 (25) model-id: 0x44 (68) stepping: 1 microcode: 0xA404102
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 3699 high: 4564 min/max: 400/4564 boost: enabled scaling:
    driver: amd-pstate governor: performance cores: 1: 3268 2: 4564 3: 3268
    4: 4564 5: 3266 6: 4564 7: 3268 8: 3268 9: 3268 10: 3267 11: 3265 12: 4564
    bogomips: 79085
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Rembrandt [Radeon 680M] vendor: Lenovo driver: amdgpu v: kernel
    arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3,
    DP-4, DP-5, DP-6, DP-7 bus-ID: 64:00.0 chip-ID: 1002:1681 class-ID: 0300
    temp: 45.0 C
  Device-2: IMC Networks Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:2 chip-ID: 13d3:8219
    class-ID: fe01 serial: <filter>
  Device-3: IMC Networks Integrated IR Camera driver: N/A type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:2 chip-ID: 13d3:8222
    class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: Samsung 0x4165 built: 2021 res: 3840x2400 dpi: 284
    gamma: 1.2 size: 344x215mm (13.54x8.46") diag: 406mm (16") ratio: 16:10
    modes: max: 3840x2400 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: AMD Radeon Graphics (rembrandt
    LLVM 15.0.7 DRM 3.52 6.3.3-1-MANJARO) direct-render: Yes
Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 64:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_pci_acp6x v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 64:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 64:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.3.3-1-MANJARO status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.70 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    vendor: Lenovo driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 01:00.0 chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2 chip-ID: 0489:e0d9
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-0547c112-bbd6-43c9-8e23-ad3207afedf1 maj-min: 254:0
    type: LUKS dm: dm-0 size: 937.18 GiB
  Components:
  p-1: nvme0n1p2 maj-min: 259:2 size: 937.18 GiB
  Device-2: luks-b3063d16-3277-4725-89a2-14f079d36d79 maj-min: 254:1
    type: LUKS dm: dm-1 size: 16.39 GiB
  Components:
  p-1: nvme0n1p3 maj-min: 259:3 size: 16.39 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 416.6 GiB (43.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVL21T0HCLR-00BL7
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: CL2QGXA7 temp: 45.9 C
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 937.18 GiB size: 921.39 GiB (98.32%)
    used: 416.55 GiB (45.2%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-0547c112-bbd6-43c9-8e23-ad3207afedf1 label: N/A
    uuid: 2b7072e2-76a6-42f5-83c2-2ab80366d449
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 47.2 MiB (15.8%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: FEEC-51B2
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.39 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-b3063d16-3277-4725-89a2-14f079d36d79 label: swap
    uuid: f204fe9e-1387-44d5-b256-f0e540591fd7
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-4:2 info: IMC Networks Integrated Camera type: video
    driver: uvcvideo interfaces: 3 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 13d3:8219 class-ID: fe01 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 3 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-2:2 info: Foxconn / Hon Hai Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 0489:e0d9 class-ID: e001 serial: <filter>
  Hub-4: 3-3:3 info: Genesys Logic Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 3-3.4:4 info: Shenzhen Goodix USB2.0 MISC type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 27c6:658c class-ID: ef00 serial: <filter>
  Hub-5: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-6: 5-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 5-1:2 info: IMC Networks Integrated IR Camera type: video
    driver: N/A interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 13d3:8222 class-ID: 0e02 serial: <filter>
  Hub-7: 6-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-8: 7-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-9: 8-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-10: 9-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-11: 10-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 46.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
  Fan Speeds (RPM): fan-1: 2666 fan-2: 2418
Info:
  Processes: 389 Uptime: 1h 53m wakeups: 29148 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
  Packages: 1173 pm: pacman pkgs: 1083 libs: 311 tools: gnome-software,pamac
  pm: flatpak pkgs: 90 Shell: sh default: Zsh v: 5.9 running-in: kgx
  inxi: 3.3.27

Screen grab

Screenshot from 2023-05-20 09-33-57

@unplugred unplugred self-assigned this May 21, 2023
@unplugred unplugred added the bug Something isn't working label May 21, 2023
@unplugred
Copy link
Owner

Probably related to this free-audio/clap-juce-extensions#56
I assume It's due to poor DPI support for Mac, and increasing or lowering the DPI in the display settings might solve the problem.
going to check whether I can reproduce the bug in Windows and then forward the ticket to the CLAP team.

Regarding my plugins, I am currently in the process of rewriting my rendering engine to be more flexible and fully support resizable windows for all plugins.
That would take a while but will be coming eventually.

@amadeusp
Copy link
Author

@unplugred That sounds amazing! Thanks!

@unplugred
Copy link
Owner

commit 6662b84 solves some plugins that break due to this issue.
specifically prisma might have better antialiasing, and crmbl which was broken due to this bug is now functional.
that being said, the plugins will still remain smaller than their vst3 counterpart on high dpi.

it seems some plugins are still broken in clap after closing and reopening the ui, specifically red bass, plastic funeral, pisstortion and mpaint.

@unplugred
Copy link
Owner

all plugins have been updated with scalable ui via right click menu.
additionally, the original issue was resolved by clap developers.

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

2 participants