Author Topic: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions  (Read 95488 times)

obesebear

  • Administrator
  • No life
  • *
  • Posts: 3233
  • Karma: 111
    • View Profile
Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« on: 2011-01-28 15:05:14 »
Let's get it started!  Thanks again, Aali, for all your hard work.

Actually, let me start by asking why all the modifications to .7 instead of a .8 release?

This is not the latest version of Aali's driver. Please see http://forums.qhimm.com/index.php?topic=11992.0 for the next release. - Bosola
« Last Edit: 2011-06-18 22:12:20 by Bosola »

Aali

  • No life
  • *
  • Posts: 1197
  • Karma: 115
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #1 on: 2011-01-28 15:47:22 »
This was mostly a bugfix release to wrap up the 0.7 series. 0.8 will be alot more revolutionary than that ;)

DLPB

  • No life
  • *
  • Posts: 9117
  • Karma: 275
  • For I realized that God's a young man, too.
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #2 on: 2011-01-28 15:54:07 »
 8)  class

Terid__K

  • Insane poster
  • *
  • Posts: 387
  • Karma: -3
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #3 on: 2011-01-28 19:08:21 »
Can't test it right now, but from the notes it sounds like a sweet release. I'm curious though, what was causing the random crashing in FF7?


Aali

  • No life
  • *
  • Posts: 1197
  • Karma: 115
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #4 on: 2011-01-28 19:16:41 »
The random crash could happen if you managed to trigger a certain sequence of fancy special effects in battle. Basically the driver would leave some data in an invalid state and if that data was later used in a certain way it would crash.

Terid__K

  • Insane poster
  • *
  • Posts: 387
  • Karma: -3
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #5 on: 2011-01-28 19:27:26 »
That makes sense. At least in my case, it always crashed in the middle of a battle.

That sure is a relief, I don't have to worry about saving all the time now.


Timber

  • Insane poster
  • *
  • Posts: 362
  • Karma: 0
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #6 on: 2011-01-29 07:41:51 »
Thanks for the new release Aali. :D

Here is a bug list from my testing (Win7 32bit, Core i7 860, Nvidia GTX 470 with 266.58 drivers).

New bug:
On FF8, the 'finger' cursor appears semi-transparent when selecting a target.

Older bugs:
- On FF7, Jenova SYNTHESIS and Bizarro Sephiroth appear duplicated after casting the spell 'Pandora's Box'.
- The 'battle swirl' on FF8 still just appears as thin black lines.
- On FF8, show_fps doesn't work.
- FF8 appears faster than usual, I checked with Fraps and it says 31/32fps, and battles are 16fps.
- On FF8, Squall doesn't have a shadow on the world map.
- At the very start of FF8, when Elone talks to Squall, you can't see the glass.
- In battle, there appears to be feint blue boxes around the 'dust' that is kicked up when Squall runs.

Terid__K

  • Insane poster
  • *
  • Posts: 387
  • Karma: -3
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #7 on: 2011-01-29 09:19:28 »
Err, the movies are too dark now. It appears they are playing on standard range when they are supposed to be full range.

On better news though, AAC playback has been fixed.

FF8: Battle swirl is indeed working, but the Boss battle swirl looks odd. Diablos' bats/Blind smoke are still invisible most of the times (sometimes they are visible).

EDIT: Seems that turning off fancy transparency fixes the latter (invisible bats/blind).

« Last Edit: 2011-01-29 09:43:51 by TeridKane »

Aali

  • No life
  • *
  • Posts: 1197
  • Karma: 115
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #8 on: 2011-01-29 11:29:37 »
TeridKane:
Playing a standard range movie as full range would make it too dark, the other way around will make it too bright. What are you comparing to?

Timber:
All very difficult issues that I'm painfully aware of :)

Terid__K

  • Insane poster
  • *
  • Posts: 387
  • Karma: -3
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #9 on: 2011-01-29 12:24:55 »
TeridKane:
Playing a standard range movie as full range would make it too dark, the other way around will make it too bright. What are you comparing to?

I think you got it backwards. A full range movie played in standard range will be too dark, while the opposite will be too bright. The former is happening here.

Maybe the range flag isn't correct in the movie files (yeah, I think that's precisely the issue).


Aali

  • No life
  • *
  • Posts: 1197
  • Karma: 115
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #10 on: 2011-01-29 12:51:45 »
Depends on how you look at it :)
Dark areas will be too dark and bright areas will be too bright.
Still, what are you comparing to and which movie are we talking about?

Terid__K

  • Insane poster
  • *
  • Posts: 387
  • Karma: -3
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #11 on: 2011-01-29 13:07:26 »
What am I comparing to? The originals, I guess. And this is the opening I'm talking about (from the FMV Restoration mod).


Aali

  • No life
  • *
  • Posts: 1197
  • Karma: 115
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #12 on: 2011-01-29 14:27:30 »
Play the same file in a respectable media player, find a noticeable difference and we'll talk :)

Terid__K

  • Insane poster
  • *
  • Posts: 387
  • Karma: -3
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #13 on: 2011-01-29 15:17:49 »
I guess I'll just use the previous yuv.frag. That one worked fine for me.

Just for reference though:

How it looks in-game:


How it should look:


« Last Edit: 2011-01-29 15:26:31 by TeridKane »

DLPB

  • No life
  • *
  • Posts: 9117
  • Karma: 275
  • For I realized that God's a young man, too.
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #14 on: 2011-01-29 16:26:59 »
How does it look originally, with the original opening with non aali driver?  The top picture actually looks correct as the black is black.

Also, aali, Luksy has an issue..  crashes before the game can load from the save screen.

App log and crash dump here >

https://docs.google.com/leaf?id=0B1JH_wU1qqN4ODVhZTlmYzItOTFhYy00NmUxLWJkODktMDFhZDY3NGJhMWQ0&sort=name&layout=list&num=50
« Last Edit: 2011-01-29 16:33:42 by DLPB »

Aali

  • No life
  • *
  • Posts: 1197
  • Karma: 115
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #15 on: 2011-01-29 16:49:54 »
Thats more like it.

The following shader looks good but the math doesn't really work out; 16 (0.0625) should be subtracted from the Y component in the non-full range case but if I do that its way too dark.

Code: [Select]
#version 110

uniform sampler2D y_tex;
uniform sampler2D u_tex;
uniform sampler2D v_tex;

uniform bool full_range;

const mat3 mpeg_rgb_transform = mat3(
1.164,  1.164,  1.164,
0.0,   -0.392,  2.017,
1.596, -0.813,  0.0
);

const mat3 jpeg_rgb_transform = mat3(
1.0,  1.0,   1.0,
0.0, -0.343, 1.765,
1.4, -0.711, 0.0
);

void main()
{
float y = texture2D(y_tex, gl_TexCoord[0].st).x;
float u = texture2D(u_tex, gl_TexCoord[0].st).x - 0.5;
float v = texture2D(v_tex, gl_TexCoord[0].st).x - 0.5;
vec3 yuv_color = vec3(y, u, v);
vec4 rgba_color;

if(full_range) rgba_color = vec4(jpeg_rgb_transform * yuv_color, 1.0);
else rgba_color = vec4(mpeg_rgb_transform * yuv_color, 1.0);

gl_FragColor = rgba_color;
}

Aali

  • No life
  • *
  • Posts: 1197
  • Karma: 115
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #16 on: 2011-01-29 17:21:23 »
Also, aali, Luksy has an issue..  crashes before the game can load from the save screen.

App log and crash dump here >

...

Looks alot like a driver bug, try updating. If that doesn't work maybe you can work around it by turning off/on texture compression.

Terid__K

  • Insane poster
  • *
  • Posts: 387
  • Karma: -3
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #17 on: 2011-01-29 19:52:41 »
How does it look originally, with the original opening with non aali driver?  The top picture actually looks correct as the black is black.

There's no difference at all in the black levels of both pictures. What's different is the other colors (they can get darker, unlike black).

And it's supposed to look like the second picture in-game (more details being visible should be a good indication). That would be full range.

Like I said before though, the yuv.frag from 0.7.9b works fine for me, since it's always in full range.

« Last Edit: 2011-01-29 19:54:14 by TeridKane »

myst6re

  • Freak
  • *
  • Posts: 514
  • Karma: 57
  • Light King of the Savegame - Field Master
    • View Profile
    • WikiSquare
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #18 on: 2011-01-29 19:55:52 »
Okay so, ff8 does not launch, it crashes after eidos logo. Normally this is not because of my data changes, because the version 0.7.9b works well.

crash.dmp+app.log

Aali

  • No life
  • *
  • Posts: 1197
  • Karma: 115
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #19 on: 2011-01-29 20:16:51 »
Oh thats a nice one, something must be just a tiny bit off, everything looks okay but I can't reproduce it since I can't get past the intro FMV without french data files. I'm not sure how to proceed with that, the crash.dmp was not helpful at all.

myst6re

  • Freak
  • *
  • Posts: 514
  • Karma: 57
  • Light King of the Savegame - Field Master
    • View Profile
    • WikiSquare
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #20 on: 2011-01-29 20:47:09 »
Oh... What can I do to help you?

DLPB

  • No life
  • *
  • Posts: 9117
  • Karma: 275
  • For I realized that God's a young man, too.
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #21 on: 2011-01-29 22:35:27 »
Yeah it is this dodgy monitor... its crap.

Aali

  • No life
  • *
  • Posts: 1197
  • Karma: 115
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #22 on: 2011-01-30 00:39:10 »
Okay so, ff8 does not launch, it crashes after eidos logo. Normally this is not because of my data changes, because the version 0.7.9b works well.

Okay, found it and fixed it :)
The same problem affects all versions of FF8, its not a problem with the french version. Its pseudo-random but there's no workaround :-\

:EDIT:
Timber: show_fps (and any other text output) doesn't work with the low-res font.
« Last Edit: 2011-01-30 00:45:23 by Aali »

Vgr

  • Global moderator
  • No life
  • *
  • Posts: 2206
  • Karma: 33
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #23 on: 2011-01-30 01:56:16 »
So considering my PM was useless? ;D

Timber

  • Insane poster
  • *
  • Posts: 362
  • Karma: 0
    • View Profile
Re: Aali's driver [v 0.7.10b] Help/Bugs/Suggestions
« Reply #24 on: 2011-01-30 05:54:44 »
Timber: show_fps (and any other text output) doesn't work with the low-res font.

Oh, right you are. You know I totally forgot about the high res font - I'm so used to ignoring the built in Graphics config section because of your driver :P

I re-checked my FPS using this, the results are the same as FRAPS, 31/32 in field, 16 in battle.

Quote from: Aali
Added limited modpath support for FF8. (Only some textures can be replaced)

How about world map textures?