Gotos / CuteCapture

A 3DS capture software for linux and mac
Apache License 2.0
44 stars 6 forks source link

low framerate, display jittering #17

Open nanopone opened 2 years ago

nanopone commented 2 years ago

hey, i just tried using cutecapture on my linux machine and not only is it not managing to hit 60fps but both screens are jittering up and down. the framerate is almost certainly nothing to do with my computer. i have a ryzen 5600x and gtx 1060. more than enough to capture the ds, as it was smooth using the official ds_capture.exe on windows.

here's a video: hvbk1h.webm

Gotos commented 2 years ago

Okay, that looks super weird... And on windows everything is working fine, so this can't be an issue with the capture card or the USB cable? Your PC hardware is more than enough for cutecapture, I definitely agree with that. If it's not an issue with the hardware I'm wondering if it's a graphics driver issue or something like that... From the top of my head I can't really imagine anything else that might cause this. But I didn't look at the code in quite a while.

Can you try if the problem persists with another USB cable and make sure your graphic card drivers are up to date? And if you are using nouveau, can you check if the proprietary Nvidia driver makes a difference? If none of those things help, I'll have to take a deeper look at this - unfortunately I can't make any promises as to when I'll get around to it tho :(

nanopone commented 2 years ago

And if you are using nouveau, can you check if the proprietary Nvidia driver makes a difference?

i'm already using the proprietary nvidia drivers and using nouveau is not a option for me because i play games.

Can you try if the problem persists with another USB cable

i tried using several different usb cables and even a high quality usb 4 cable and nothing changed.

make sure your graphic card drivers are up to date?

yup, my entire system is up to date.

ghost commented 2 years ago

I can verify that I also encounter this on macOS. It's a USB-C version of the capture card, but I am using a USB 2.0 port on my MacBook Air 2015 if that information helps at all. (I'm only doing so because my beefy machine isn't around at the moment, but I certainly would have tried using this on Linux eventually, anyway.)

Can you confirm what USB versions both your capture card and the USB port are your machine are using, @nanopone? In case it is relevant at all, it could easily not be but y'know.

EDIT: Also, I'm on Monterey (12.6)

nanopone commented 2 years ago

Can you confirm what USB versions both your capture card and the USB port are your machine are using, @nanopone?

usb 3. i even used the ports on my motherboard and pci-e usb 3 card and the issue persists.

oddly enough, i tried the same console with the same cable on my fedora laptop and it works just fine? i'm very confused.

Gotos commented 2 years ago

This is confusing indeed... Unfortunately, my day job is currently super busy as I'm switching jobs. Which means, I won't really be able to take a deeper look at this in the next weeks. Plus, this might be tricky to fix without knowing how to reproduce this.

I can't really promise anything at this point in time, but once I find some time to look at this again, I definitely will. In the mean time, if anyone else is having the same problem, it might be helpful to hear about that and your setup. Maybe we can at least find something everyone having this problem has in common.

ghost commented 2 years ago

I'd be willing to provide logs if there is a means for me to do so.

nickcat03 commented 1 year ago

Hey there, having the same problem. I am on Linux Mint 20.3, with a Ryzen 3600 and an AMD Radeon RX 5600. This isn't urgent as I can use Loopy's software on Windows but I just wanted to inform here.

GimmyTomas commented 1 year ago

I strongly believe this issue arose after a firmware update that Loopy made following this discussion: https://3dscapture.com/forum/viewtopic.php?t=6325&start=10

nickcat03 commented 1 year ago

I'm happy you commented here as I remembered I commented on this thread.

I fixed this issue a bit ago by using USB 3.0. I didn't know that the USB protocol mattered when using the software. This seems to be an issue with loopys software on windows as well but with just framerate drops, so I didn't notice it there.

GimmyTomas commented 1 year ago

@nickcat03 thanks for the info! To give context to what I said: my capture card (old model, with micro USB, not sure if that's compatible with USB 3.0) had always worked fine. Then, last week I was at an event, where the tech crew connected my DS to their PC. A pop-up appeared, it was something like "Firmware needs to be updated, proceed?" and they clicked on yes. Now I came home and I found the issue above. (See: https://3dscapture.com/forum/viewtopic.php?t=6998)

nickcat03 commented 1 year ago

I have a micro usb capcard (no charging thru capcard) and a usb c capcard, both of which work perfectly fine as long as the correct port is used. The windows capture software doesnt ask for an update, so I assume I'm on the latest version.

I assume the micro usb one is the fairly easy to install capcard where its just some ribbon cable swapping. I have no idea why its giving issues though.