Giter VIP home page Giter VIP logo

Comments (13)

evouga avatar evouga commented on May 29, 2024

This is using the 2.50.2 binaries from zeldaclassic.com?

from zquestclassic.

kadogo avatar kadogo commented on May 29, 2024

Hello, I just download the last version from zeldaclassic.com to be sure and I have the same problem.

from zquestclassic.

kadogo avatar kadogo commented on May 29, 2024

Hello,

I repost to say that I have try some solution with alsa-oss but the problem is always the same.
If I run ZC 2.5.2 with wine it's working without any issues (not sure it help, but maybe).

from zquestclassic.

marcxjo avatar marcxjo commented on May 29, 2024

I can confirm this across several development builds of ZC2.50 (as far back as Build 1125), the 2.50.2 builds, and the 2.50.3rc builds on Fedora 27 x86_64. htop shows that Xorg CPU usage spikes while playing. Note that it drops significantly and audio stops stuttering as soon as I hide or minimize the window.

For what it's worth, I didn't have this issue the last time I used an all-32-bit Slackware chroot with PulseAudio installed on some of the earlier builds I have available. That would have been probably about 3 to 4 years ago. I don't have access to that kind of chroot at the moment, but I'll test when I do (probably a week or two out).

For anyone else who's interested, a 32-bit native OS or chroot environment might be a good place to start looking for a test case where this issue doesn't occur.

from zquestclassic.

marcxjo avatar marcxjo commented on May 29, 2024

Minimizing, hiding, or switching away from the ZC window's current workspace immediately causes audio to stabilize and play at a normal speed with no crackling at all. htop shows that Xorg CPU consumption goes nuts whenever the window is visible. I can easily see 100% usage on at least one core within seconds of starting a quest.

I've tested this in several environments of varying "heaviness" in terms of resource consumption and sheer graphical complexity; this is extremely noticeable and problematic on GNOME 3.26 running on both X and Wayland (where compositing is always on and the latency is significantly worse than on any other platform tested), but still non-trivial and annoying on an environment as minimal as bspwm with no compositing (though note that killing Compton immediately shows a visible and lasting improvement).

The problem is visible in every resolution, but gets worse with increasingly larger windowed resolutions. In fullscreen, the problem won't emerge for several seconds (usually 10-15), but eventually performance degrades to a level comparable with ~640x480 res.

Hope this helps provide some insight.

from zquestclassic.

marcxjo avatar marcxjo commented on May 29, 2024

I've had the chance to run a 32-bit chroot and test the results. It's the same story. Audio crackles and stutters until you hide the window or change to a workspace that doesn't show it. Xorg CPU usage goes nuts while the window is visible. This happens even on older versions from before I was able to get this working pain-free back in 2014/15-ish, so the issue may well have to do with recent versions of Xorg.

from zquestclassic.

marcxjo avatar marcxjo commented on May 29, 2024

Also worth noting is that this definitely still happens with pure ALSA. Haven't tried OSS, but I don't see much point anyway at this point. It almost certainly seems to be an Xorg issue.

from zquestclassic.

marcxjo avatar marcxjo commented on May 29, 2024

Setting vsync = 1 under [zeldadx] fixes this issue entirely for me. Interestingly enough, this works even if not using a vsync-enabled compositor, or any compositor at all.

@kadogo, check your ag.cfg and see if this helps.

At least for me, though, the Linux build is still hella slow for any res above 640x480. This just happens to address the crackly audio.

from zquestclassic.

kadogo avatar kadogo commented on May 29, 2024

@marcxjo
Sorry it took me long time to try ZC again.

I just download the latest stable version and setting vsync = 1 in ag.conf not really help for me.
I have the feeling than changing the resolution change the "cracklings" but at 640x480 it not stop crackeling.

from zquestclassic.

pirate486743186 avatar pirate486743186 commented on May 29, 2024

EDITED:
THE SOLUTION: They are missing dependencies

On ubuntu 18.04
sudo apt install libatk-adaptor:i386 libatk-bridge2.0-0:i386 libcanberra-gtk-module:i386 appmenu-gtk2-module:i386

Now, it works as intended. Some dependencies might still be missing.

-_- beh... I rebooted, and it doesn't work now....

from zquestclassic.

pirate486743186 avatar pirate486743186 commented on May 29, 2024

This dates back to December 2016. A flatpack/snap/appimage might mask the problem.

from zquestclassic.

pirate486743186 avatar pirate486743186 commented on May 29, 2024

This problem is not present in ubuntu 20.04

from zquestclassic.

connorjclark avatar connorjclark commented on May 29, 2024

Closing this for now, but when we re-release a linux build please file a new issue for any sound problems.

from zquestclassic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.