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

No internal resolution option under new video plugin #362

Open
phly95 opened this Issue Mar 16, 2016 · 9 comments

Comments

Projects
None yet
6 participants
@phly95

phly95 commented Mar 16, 2016

Is there a reason the new video plugin does not support internal resolution? Sure this is the most accurate emulator, but internal resolution would be nice.

@p1pkin

This comment has been minimized.

Show comment
Hide comment
@p1pkin

p1pkin Mar 17, 2016

Owner

it is hard (if possible) to implement within correct renderer and video RAM emulation.
current renderer made it in the way real PoverVR2 works, i.e:

  • if 'start render' signal fired - scene is rendered and resulting picture is stored into virtual video memory (which is just 8MB in case of Dreamcast) to area pointed by "Frame Buffer Write Address" hardware register.
  • at vertical blank data pointed by "Frame Buffer Read Address" fetched from virtual video memory and shown onscreen.

as you can imagine, if picture will be rendered not native (usually 640x480) but in lets say x8 higher render resolution - it becomes 8*8=64 times larger, its size will be even more than half of whole DC video memory, so if it will be stored to VRAM - it just trashes most of textures and other stuff stored there.
so, there no easy enough way to implement that "internal resolution" thing, as it was in older render plugin versions, where video system was emulated in stripped and hacky way, like in rest of other emulators.

Owner

p1pkin commented Mar 17, 2016

it is hard (if possible) to implement within correct renderer and video RAM emulation.
current renderer made it in the way real PoverVR2 works, i.e:

  • if 'start render' signal fired - scene is rendered and resulting picture is stored into virtual video memory (which is just 8MB in case of Dreamcast) to area pointed by "Frame Buffer Write Address" hardware register.
  • at vertical blank data pointed by "Frame Buffer Read Address" fetched from virtual video memory and shown onscreen.

as you can imagine, if picture will be rendered not native (usually 640x480) but in lets say x8 higher render resolution - it becomes 8*8=64 times larger, its size will be even more than half of whole DC video memory, so if it will be stored to VRAM - it just trashes most of textures and other stuff stored there.
so, there no easy enough way to implement that "internal resolution" thing, as it was in older render plugin versions, where video system was emulated in stripped and hacky way, like in rest of other emulators.

@phly95

This comment has been minimized.

Show comment
Hide comment
@phly95

phly95 Mar 17, 2016

OK, that's good you are focusing on accuracy. The most important part is that the game runs without major bugs. I do hope you use your experience with the accurate plugin and find a way around the vram issue (maybe expand vram based on IR, or set separate vram application for rendering?) But you can take your time to make sure it's polished.

phly95 commented Mar 17, 2016

OK, that's good you are focusing on accuracy. The most important part is that the game runs without major bugs. I do hope you use your experience with the accurate plugin and find a way around the vram issue (maybe expand vram based on IR, or set separate vram application for rendering?) But you can take your time to make sure it's polished.

@p1pkin

This comment has been minimized.

Show comment
Hide comment
@p1pkin

p1pkin Mar 17, 2016

Owner

maybe expand vram based on IR, or set separate vram application for rendering

yep, that's two possible options, both quite hard to implement, and both may appear incompatible (again) if/then some other currently not yet unemulated things will be implemented.

Owner

p1pkin commented Mar 17, 2016

maybe expand vram based on IR, or set separate vram application for rendering

yep, that's two possible options, both quite hard to implement, and both may appear incompatible (again) if/then some other currently not yet unemulated things will be implemented.

@phly95

This comment has been minimized.

Show comment
Hide comment
@phly95

phly95 Mar 17, 2016

Yeah, I would say focus on accuracy for now and once you get everything down, then focus on IR.

phly95 commented Mar 17, 2016

Yeah, I would say focus on accuracy for now and once you get everything down, then focus on IR.

@p1pkin

This comment has been minimized.

Show comment
Hide comment
@p1pkin

p1pkin Mar 17, 2016

Owner

honestly ? I'd say no one cares what you would say ;)

Owner

p1pkin commented Mar 17, 2016

honestly ? I'd say no one cares what you would say ;)

@psennermann

This comment has been minimized.

Show comment
Hide comment
@psennermann

psennermann Sep 23, 2016

If it's not possible to have at least a 2x IR, maybe some sort of anti-aliasing implementation would be helpful, cause nowadays a resolution of 640x480 on 20'' (and more) monitors is really too pixelated.
Other than that maybe it could be renamed "Dx11-native" (and the old one "Dx11old-hires") or something like that, otherwise people will keep on asking/complaining that there is no HD option...

psennermann commented Sep 23, 2016

If it's not possible to have at least a 2x IR, maybe some sort of anti-aliasing implementation would be helpful, cause nowadays a resolution of 640x480 on 20'' (and more) monitors is really too pixelated.
Other than that maybe it could be renamed "Dx11-native" (and the old one "Dx11old-hires") or something like that, otherwise people will keep on asking/complaining that there is no HD option...

@Hadocem

This comment has been minimized.

Show comment
Hide comment
@Hadocem

Hadocem Jun 6, 2017

If it is very difficult to implement internal resolution, then it would be possible, add a Upscale resolution ??

Hadocem commented Jun 6, 2017

If it is very difficult to implement internal resolution, then it would be possible, add a Upscale resolution ??

@RinMaru

This comment has been minimized.

Show comment
Hide comment
@RinMaru

RinMaru Jun 6, 2017

Not a dev but doesn't it already upscale?

RinMaru commented Jun 6, 2017

Not a dev but doesn't it already upscale?

@ngates87

This comment has been minimized.

Show comment
Hide comment
@ngates87

ngates87 Jun 9, 2017

Total idiot here... Would be interesting if something like this would be possible. Don't know the first thing about how to do it. Would the DC bios have to be adjusted to be able to render at a higher res?

Would be interesting if there could be a way to emulate a faster CPU and more system/vram, (like a Dreacmast Pro edition) but I suppose that would screw some games up.

Just found this interesting, because recently trying the PS2 emulator (pcsx2), it's really quite impressive how much they are able to clean up the picture quality. Something similar for DC some day, would be cool.

  • dc fanboy

ngates87 commented Jun 9, 2017

Total idiot here... Would be interesting if something like this would be possible. Don't know the first thing about how to do it. Would the DC bios have to be adjusted to be able to render at a higher res?

Would be interesting if there could be a way to emulate a faster CPU and more system/vram, (like a Dreacmast Pro edition) but I suppose that would screw some games up.

Just found this interesting, because recently trying the PS2 emulator (pcsx2), it's really quite impressive how much they are able to clean up the picture quality. Something similar for DC some day, would be cool.

  • dc fanboy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment