libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.08k stars 1.81k forks source link

(D3D) It takes screenshots of the menu, not the game. #5928

Closed anyputer closed 6 months ago

anyputer commented 6 years ago

First and foremost consider this:

Description

When you take screenshots using the Direct3D video driver, it takes a screenshot of the menu. It most likely happens because of the fact that it shows the game for a frame which is not long enough.

Expected behavior

It take a screenshot of the game.

Actual behavior

It takes a screenshot of the menu.

Steps to reproduce the bug

  1. Load content.
  2. Go to the quick menu.
  3. Scroll until you are at "Take Screenshot" and take a screenshot that way.

Bisect Results

I don't remember when it did work, actually.

Version/Commit

You can find this information under Information/System Information

Environment information

ghost commented 6 years ago

Is there a reason you're using the d3d driver? It is very incomplete.

anyputer commented 6 years ago

SDL2 and D3D runs a TON smoother than all of the other video drivers. I made an topic on the Libretro forums specifically for this but... no-one was able to help and no-one believed me. Quotes:

You must be the most unluckiest guy on earth then, that or you're jinxed and haunted.

RetroArch should be pretty straightforward to use and if I have a problem a fresh RetroArch installation usually fixes things in a jiffy.

It appears that nothing seems to help you, maybe you should try to re-install Windows altogether and start completely from fresh.

You're on Windows 10 Home, maybe a Windows Update caused this mess? But that would have affected standalone emulators too probably so I don't know.

It's anyone's guess at this point really.

-SigmaVirus on https://forums.libretro.com/t/libretro-cores-are-choppy-while-their-standalone-versions-are-not/12052/38

or

Assuming it doesn't work (it should)...Why? it's a fallback driver for occassions when GL doesn't work properly I don't think anyone will sink serious time into it.

-radius ( yes, fr500 ) from https://forums.libretro.com/t/add-fast-forward-to-the-sdl2-video-driver/12252

or

https://github.com/libretro/RetroArch/issues/5628 -orbea

I mean, I don't want to seem "disrespectful" ( sorry fr500 I guess )

Sorry that all the hours we put into this project as volunteers (for free) don't fulfill your expectations. -fr500 from https://github.com/libretro/melonDS/issues/14

but just claiming that I don't appreciate the work of the devs and ignoring these big issues just saddens me. I might've said something wrong here and there but... goes to sleep

inactive123 commented 6 years ago

I do agree we should try to fix this, the D3D driver should become important at a certain point, especially for Xbox/UWP purposes.

anyputer commented 6 years ago

What about the SDL2 driver? Is it going to keep being left out? I thought D3D wasn't for Linux? Lakka is a Linux distro. Lakka is choppy on PC.

ghost commented 6 years ago

@hyarsan I read through your threads and it seems you never mentioned your GPU. What do you have?

Have you tried the gdi video driver? If that driver still shows performance issues with cores, then I have to admit it's highly likely there's some gremlin in your system, either hardware or software.

Can you also post a screenshot of the first page of "Information -> System Information" from the latest nightly please?

anyputer commented 6 years ago

The GPU of this desktop that also has the choppyness ( I also have a laptop with the issue ) is NVIDIA GeForce GTX 1050. Oh and here are the specs of this desktop: desktopspecs If you want, I can also give you the specs of the laptop later that has this issue ( The threads were actually about the laptop, this desktop is new but it is equally as choppy. ) Or I can try to record it. The gdi driver is even worse. Oh, and it's awesome that you are willing to research this :D

andres-asm commented 6 years ago

I don't see how the melonDS issue is related to this at all. Quoting it seems to stir drama for no reason whatsoever.

I agree it would be cool if all the drivers were mature and fully featured but as of today, they are not. Not even Vulkan is usable for me for various technical reasons.

That said. You shouldn't have any perf issues with GL. But without being able to see it for ourselves it's hard to understand what choppiness is. Maybe take a video?

I have a PC running an i5-760 and a GTX760i and it's perfectly smooth. (I use the MMX3 intro to check for "choppyness" since it has a fast scrolling scene)

You should try the usual suspects, clean driver installation, remove any overlays (steam / discord / reshade / GFE)

Set the performance profile to max performance image

anyputer commented 6 years ago

I tried to set the performance profile to max performance and recorded it but the result is not accurate at all. The recording functionality in RetroArch seems be producing perfectly smooth video, which doesn't demonstrate the point I'm trying to show. I guess the choppyness is more like lagspikes. I used ShareX, anyone recommend other video recording software that are accurate? Oh and the melonDS thing? Just pretend like nothing happened :D

andres-asm commented 6 years ago

A phone with a camera

On Tue, Dec 19, 2017, 7:18 AM hyarsan notifications@github.com wrote:

I tried to set the performance profile to max performance and recorded it but the result is not accurate at all. I used ShareX, anyone recommend other video recording software?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/5928#issuecomment-352733398, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpC0OASrf9skG3zjTy7kAHRF00IdjoJks5tB6mZgaJpZM4REsyn .

ghost commented 6 years ago

I second the phone camera, not really an easier way to get something semi-accurate. Since GDI doesn't work right either, I'm 90% certain it's something not related to RA. I would look into possible DPC issues http://www.resplendence.com/latencymon.

ghost commented 6 years ago

I don't see how the melonDS issue is related to this at all. Quoting it seems to stir drama for no reason whatsoever.

@fr500 Would you rather he start a new issue? I'm fine with that as long as nobody brings any drama into it. I just want to help the guy... I'd be pretty frustrated too if I had this issue across different hardware when nobody else did. You know how I seem to be cursed as well.

andres-asm commented 6 years ago

No it's fine imho to keep going here

anyputer commented 6 years ago

Nah, I didn't mean to start drama. I just wanted to make clear that I respect you and the other's work :D ❤️ I did not mean to be selfish or anything like that. I just wondered why after a month there is no response to the melonDS issue? I am not sure if the phone camera is going to work but... I'll try. I really don't want to capture anything other than the monitor lol But it is not the first time I had to do something like this... https://drive.google.com/file/d/0B9u_2OeMgmH4QmpCU2JTak5tcEk/view?usp=sharing This was back when I was installing CFW on my 3DS lol. Please try to look at the 3DS and nothing else haha. This wasn't even a phone camera, just some crappy laptop webcam. I tried it and it also looks very inaccurate. It goes "choppy" every 10 seconds I guess. The FPS is also really high. ( 60 fps woo! )

ghost commented 6 years ago

Also @hyarsan since you are on the Fall Creators Update, there is a good chance this is the biggest cause of your problems. That version in particular seems highly broken across the board for a lot of people. See here:

https://github.com/libretro/RetroArch/issues/5607

anyputer commented 6 years ago

But then how come Lakka was really choppy for me ( On another laptop ) ? And why was it choppy before the update too? ( On another laptop... ) And I thought I said it was 60 fps? ( Full speed ) ...maybe that's one of the reasons? I use full screen most of the time too. You know what? Forget what I just said.

I guess that #5607 is the issue here! No weird choppyness when I use full screen! :) Is #5607 talking about the frame rate? If not, then that's the real issue! I dunno, first that needs to be fixed. That core i7 laptop has really bad frame rates ( Probably because it has a ton of shiz installed ) Not sure about Lakka though. But why is D3D and sdl2 smooth in windowed mode? I'll keep playing in Fullscreen GL for the time being and if I see something go wrong, I'll tell you.

ghost commented 6 years ago

I have no idea. But we do need some video proof to understand just what "choppy" means. We're all scratching our heads over here.

anyputer commented 6 years ago

I feel like #5607 is more important first. So far full screen seems to work perfect, at least on this device. And if you really want inaccurate video for some reason, here you go: https://1drv.ms/v/s!AvB-c2zUfIalrAvVoAPPL7RXN2ep ( It's not as bad as it looks )

ghost commented 6 years ago

https://forums.libretro.com/t/libretro-cores-are-choppy-while-their-standalone-versions-are-not/12052

The same guy?

On Wed, Dec 20, 2017 at 7:03 AM, hyarsan notifications@github.com wrote:

I feel like #5607 https://github.com/libretro/RetroArch/issues/5607 is more important first. So far it seems to have fixed it, at least on this device... in full screen of course.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/5928#issuecomment-352913540, or mute the thread https://github.com/notifications/unsubscribe-auth/AWPDto9XYyrDFuC9ntNJvIsZoiBerw0Jks5tCEC8gaJpZM4REsyn .

anyputer commented 6 years ago

Yeah, Flooder is me.

sonninnos commented 6 months ago

Closing since it does not seem to be happening anymore.