..:: PCSX2 Forums ::..

Full Version: GSdx
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563
(09-25-2012, 08:40 PM)5247846 Wrote: [ -> ]GSdx needs a "force progressive scan" option!

Because of the different ways interlation works inside GS between games compared to how it works on other consoles like GC/Wii or even PSOne it would result to things like poorer visual quality, speedups/slowdowns or even crash the game. I want it aswell but I know it's not possible atleast without a terrible brainstorm.
Do whatever Xploder HDTV Player did?
Those tools change the timings and therefore break games.
We'll look into nicer interlace options when redoing that part of GSdx.

(09-25-2012, 07:18 PM)VIRGIN KLM Wrote: [ -> ]Hey, dunno if anyone thought of it but I have an idea for better visual results with internal resolution multiplication at zero speed cost.
I pretty like always use it:
http://forums.pcsx2.net/Thread-Kingdom-H...#pid262030

The idea was to reduce alignment artefacts by scaling using a multiplier of the original resolution.
This didn't turn out working too well once you go over x2 though, so we left the manual resolution option available.
(09-26-2012, 02:39 PM)rama Wrote: [ -> ]Those tools change the timings and therefore break games.
We'll look into nicer interlace options when redoing that part of GSdx.


The idea was to reduce alignment artefacts by scaling using a multiplier of the original resolution.
This didn't turn out working too well once you go over x2 though, so we left the manual resolution option available.

The auto offset patch works quite well though, getting nice alignment for all multipliers. Too bad the patch for offset of custom resolutions has some meh side effect.

@VIRGIN KLM: If I remember correctly, the scale multipliers ain't per area but per axis. So doing a x2 actually gives you a x4 surface; maybe that's where the less requirements come from. Looks cool nonetheless.
(09-25-2012, 08:56 PM)VIRGIN KLM Wrote: [ -> ]Because of the different ways interlation works inside GS between games compared to how it works on other consoles like GC/Wii or even PSOne it would result to things like poorer visual quality, speedups/slowdowns or even crash the game. I want it aswell but I know it's not possible atleast without a terrible brainstorm.

what a brainstorm? if the crtc is in interlaced mode you just use a internal and in that case virtual frame buffer with twice as much scanlines for both frames and output direct without the interlace shader - which is progressive then. dunno about the coordinate system for the rasterizer tho, but usually it's just doubling y-resolution to perform the progressive rendering stretch when rasterizing. not when blitting to crt.
(09-26-2012, 05:38 PM)xstyla Wrote: [ -> ]what a brainstorm? if the crtc is in interlaced mode you just use a internal and in that case virtual frame buffer with twice as much scanlines for both frames and output direct without the interlace shader - which is progressive then. dunno about the coordinate system for the rasterizer tho, but usually it's just doubling y-resolution to perform the progressive rendering stretch when rasterizing. not when blitting to crt.

Yes but this does not apply to all games. As you said it's -usually- doubling y resolution in a game, not always. Add on top of that that there are games that use more than one method between their vmodes or even worse there are games that switch vmodes inside gameplay (cutscenes, gameplay, CGI videos) which makes it a real pain to attempt such thing without breaking tons of others, though if such thing could be done it would mean crisper visuals.

EDIT: Just forgot to mention that if it was that simple, you would be able to do it on real PS2 hardware using 2 syscalls, but apparently seeing GSMode Selector and Xploder HDTV projects it looks like it's not universaly possible with a simple method but even worse, faking such thing may give progressive output but it's not real and even then it's gamebreaking.
you could track what gs input registers are used or check other components like the ipu to decide when it's video. means building a lil approximate game state machine. so it might apply only on 3d. this might work... maybe. tho.. deinterlacing video would maybe make it look a lil better too. lil blocky but without lines. but it can't use the framebuffer hack. so it's a lil complicated switch. yep.

and... omg lol. @klm. that progressive hack has got so nothing todo with the real hardware. ofc this not possible to hack in the ingame code or on the real ps2. this a plugin output hack purely for the purpose of better looking emulation. you can't override that on the real hardware due it's limitations and the game's fixed implementation.
(09-27-2012, 06:04 PM)xstyla Wrote: [ -> ]and... omg lol. @klm. that progressive hack has got so nothing todo with the real hardware. ofc this not possible to hack in the ingame code or on the real ps2. this a plugin output hack purely for the purpose of better looking emulation. you can't override that on the real hardware due it's limitations and the game's fixed implementation.

Yes you can, using 2 undocumented syscalls but the problem is that it' not game universal and there are tons of other issues it will cause which is not worth the hussle in a real PS2 hardware. If it's a game that don't have these issues, most possibly the developers already offer you the option in the game settings. The problem is that there are so many things chained from resolution to framerate to refresh rate to framebuffer (and the list goes on) that messing with one breaks the whole thing.
yeh. okay. i got it. you wanna know better huh? Laugh but you know what?... i know some of the pitfalls hacking that on the restricted fixed hardware myself. easy thing - you output the interlaced framebuffers as progressive directly, but it ends up blocky if you don't increase the framebuffer's y-resolution. if you do increase it, you end up with decreases texture buffer size - leading to texture buffer manager mismatches breaking things. the vsync timing - actually all the base timing - goes nuts cause the frames take longer to render and... and... and...

still this thread is about the plugin. and in there you can bypass that all with internal virtual specs. the possibilities are endless. so... Wink
Now you set it correct. No, in no way I mean to sound like a smarta** or a mr. know it all but I just echo some stuff that have been discussed dozen times and I went on searching myself. I just want to add that there are games that are depended from those timmings and buffer sizes that incase it has spare room it increases the texture quality and once it goes nearly to full it uses poorer textures and all that realtime. I bet you know some games that do that from experience, imagine that 1/3rd of PS2 games do this mechanism atleast one time. What happens when you try to immitate or block that mechanism in emulator level? Mess...
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563