..:: 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
Just wanted to sign in and say, I've done some testing with Grandia III, long term testing that is. Now, in Grandia III we all know that during some in-game cut-scenes Grandia III punishes graphics cards, for what appears to be no reason. Using the old scaling methods, I can run 3x scaling without my frames dropping below 55 when these demanding for no reason cut-scenes happen, but with the new scaling method, I drop down to 20 and have a hard time recovering....

I had a theory yesterday while I was playing Kinetica that this new scaler method, although increases graphical fidelity, might punish graphic cards more. Just a tip, because I think it actually does, but depends on the game. Grandia III, for those cut-scenes, gets hit hard, and for Kinetica, memory usage increases slightly, but I haven't done a 5-10 hour test for it yet.
The scaling build I uploaded last night, was intended really, only for doing some test comparisons tbh. I wouldn't really go using it fulltime or anything like that. I'll be looking into the scaling again tonight, to see if there's a proper alternative to the default hardcoded values.
Just wanted to mention it. May as well as use it fulltime for games that don't mind it.
(01-20-2014, 11:40 PM)Asmodean Wrote: [ -> ]I dunno about that >.<, but all the same. I'm obviously honoured and will help out how I can Smile
----

KrossX: Yeah, I've been testing that myself. GSdx is reporting the same output res as before, but I've been monitoring GPU load to try and see if that's the only culprit, but it doesn't seem to be as simple as that. I've not had enough time today to look into it properly though. I was bleary eyed at like 5am last night when I uploaded the test build >.<

#edit: typos

Congratulations! Laugh


GPUDrawingEnvironment is properly initialized on creation, so I would guess it really is just 320x240. That could be tested replacing (m_base_width * 4), (m_base_height * 3) with 1280, 720. It would explain the extra burden on gpu.

The problem with GS is that for framebuffers you know the width but not the height. To get a similar display rect would be the DISPLAY1/2 regs but, you get height in pixels but width in clocks. I guess width would be easier from the framebuffer regs.

I dunno what numbers you could get, but might be worth the try.

Sidenote: Would separated scalers be worth it? For with and height separated.
Yeah, that's worth looking into. Also, bear with me, and I'll edit this and upload two test screens in a minute, just compiling two builds.

#Edit: Yar - tested it, and your right. I took the multipliers out of base width/height and tested it. Then retested with 320, 240. Same results (same frame rect size is displayed). I had bloody tested this already, but I stupidly used the first values in the GetDisplayRect() w/h arrays (256, 240). So when I tested it, I didn't end up getting the same results. So I didn't end up thinking it was the same lol *facepalm*

I'll keep looking into it anyway. I still think there's a better way of doing it.

#Edit2: Oh, and Thanks Laugh

----
#Edit3: (last edit for this post, I swear >.<) I don't seem to be getting the same results using 1280, and 720, though. See the screens below. You may need to view in fullscreen to see properly, I dunno.

Using Width & Height vars
[attachment=48363]
Using 1280 & 720
[attachment=48364]

The second one is still blurrier (?)
I had to zoom in to 225% to really notice the difference, yeah 2nd one is blurrier, but just. Shadows are sharper as is everything else in the Width & Height version. It's a lot harder to notice at default 100% zoom.

Edit:I cropper the pictures above so the difference can be noticed easily.

Width & Height

[Image: widthheightfwdtx.jpg]

1280 x 720

[Image: 1280x720xcsop.jpg]
Code:
-            m_width = 640 * m_upscale_multiplier; // 512 is also common, but this is not always detected right.
-            m_height = 512 * m_upscale_multiplier; // 448 is also common, but this is not always detected right.
+            m_width = (m_base_width * 4) * m_upscale_multiplier; // 512 is also common, but this is not always detected right.
+            m_height = (m_base_height * 3) * m_upscale_multiplier; // 448 is also common, but this is not always detected right.

m_base_width and m_base_height are always 320 and 240 so....I don't see the point of pulling that value from GPUDrawingEnvironment with all those extra included headers. You're basically just changing the base from 640x512 to 1280x720. Which is probably part of the reason that it looks better; you're basically doubling the "meaning" of scaling - ie. 2x upscaling is actually closer to 3 or 4x upscaling

The new "base" resolution however is 16:9 unlike the previous 5:4 ratio, which is a good change

edit: and it looks like you already noticed this lol >_>
Yeah, I had noticed as much. I failed at tested it last night (probably because it was like 5am lol), as I mentioned above, I had used the first two w/h vals in GetDisplayRect arrays to check if it was only using those, so it didn't produce the same results. So I said I'd do up a test build so I could go to sleep >.<

Edit: Side note though - you gave me an idea. Kind of separate to what I'm working on regarding the scaling atm, but: I think it could possible be a good idea to have a conditional outside of there for the width/height base values, to check if the selected aspect ratio is set to 4:3, or 16:9, and (if it sticks to using hardcoded vals) adjust the values based on the user selection. Chances are - if they're using the 16:9 aspect option, they've probably got the game widescreen patched. It's currently using 4:3 base values for a 16:9 output (if selected), which isn't really ideal.
How about just a printf to the console? You know, having the original method, asmodean's method and the (320x240) 1280x720 test. Then printf all the width/height results in one line.

*is too lazy to do it cuz he has to compile everything*

As for custom aspect ratio scaling, that's why I was thinking if it was worth it to have separate scaling.
mm....but I mean this stuff is not really that important because the user can just put in a "custom" resolution and see whatever works best for their particular game, all we're really doing is adjusting the definition of 2x upscaling, 3x upscaling, etc.
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