oblivion gfx problems

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
keisangi
Level 2
Level 2
Posts: 14
Joined: Wed Oct 29, 2008 3:54 am

oblivion gfx problems

Post by keisangi »

hi there,
i'm trying to play oblivion, the game installs and run fine but there's still some minor problems.

in nature (woods, mountains..), here and there, objects and texture seem to be missing.. kind of like if i used "noclip" and walking though objects.. so at time i can see though parts of a mountains, or run into a big rock , i cannot move forward any further but i cannot see that rock..
..things like that.
most of the time it's fine though.. and indoor (shops, houses) seem fine so far.

so any idea if this could be helped?
hum also, performance doesn't seems good either. it's playable but it should be faster..


here's my system info
ubuntu (jaunty beta)
wine version: 1.1.18
nvidia driver: 180.44
gfx card: nvidia 9600gt
cpu : quad core extreme
ram: 2gb

and i've setup these in the registry:
(HKEY_CURRENT_USER\Software\Wine\Direct3D):
OffscreenRenderingMode=fbo
VideoMemorySize=512
DirectDrawRenderer=fbo
UseGLSL=enable
RenderTargetLockMode=auto
Multisampling=enabled
PixelShaderMode=enabled

i don't know if all theses setting are necessary, i just tryed to follow advices i saw on appdb

tnx
keisangi
Level 2
Level 2
Posts: 14
Joined: Wed Oct 29, 2008 3:54 am

solved

Post by keisangi »

all problem solved, after i followed thoses two advices:
===============
1) setup direct3d option
===============
(HKEY_CURRENT_USER\Software\Wine\Direct3D):
"DirectDrawRenderer"="gdi"
"OffscreenRenderingMode"="fbo"
"PixelShaderMode"="enabled"
"SoftwareEmulation"="enabled"
"UseGLSL"="enable"
"VertexShaderMode"="hardware"
"VideoDescription"="NVIDIA GeForce 9600 GT"
"VideoDriver"="nv4_disp.dll"
"VideoMemorySize"="512"
RenderTargetLockMode=auto
Multisampling=enabled

source: http://appdb.winehq.org/objectManager.p ... ngId=38485

===============
2) use hdr and shader3
===============

Alternative method to get HDR working:
Another method to get HDR working is to enable SM3.0 shaders.You can do this by going into the Oblivion/Data directory and copying shaderpackage019.sdp to shaderpackage002.sdp (backup first).You also need to set bAllow30Shaders=1 in your Oblivion.ini file.
You don't need a patch with this method and I found it to be a few frames faster then using SM2.0 shaders (at least with backbuffer enabled)
(the sky turned black, then in game option, i switched to hdr and everything was finaly displayed fine)

source: http://appdb.winehq.org/objectManager.p ... ngId=38685

now back to cyrodill :)
keisangi
Level 2
Level 2
Posts: 14
Joined: Wed Oct 29, 2008 3:54 am

spoke too fast

Post by keisangi »

it seems i still have the rendering corruption.
i've found that save/exit then relaunch the game/load works.
when entering a corrupted area: save, exit the game and reload again then the area will be fine this time.
weird..
also key repeat is a problem: "xset r off" to disable it.
well, at least it's playable now.. i just have to quit /relaunch the game time to time..
may this is all old news? i don't know i've just discovered it all now.
any comment or help appreciated :)
tnx
Warren Dumortier

oblivion gfx problems

Post by Warren Dumortier »

Do you have the same problem when using OffscreenRenderingMode else than
fbo?

2009/4/5 keisangi <[email protected]>
it seems i still have the rendering corruption.
i've found that save/exit then relaunch the game/load works.
when entering a corrupted area: save, exit the game and reload again then
the area will be fine this time.
weird..
also key repeat is a problem: "xset r off" to disable it.
well, at least it's playable now.. i just have to quit /relaunch the game
time to time..

any comment or help appreciated :)
tnx





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
keisangi
Level 2
Level 2
Posts: 14
Joined: Wed Oct 29, 2008 3:54 am

Post by keisangi »

yes i tryed
OffscreenRenderingMode fbo,pbuffer,backbuffer,gdi
it seems i alway end up with corrupted outdoors areas after walking for a little while.
i tryed to ignore it, save, exit, and then reload, which works, but i found myself having to do that way too much.. each 5 or 10mn.

is this a known problem?
Cloudef
Level 4
Level 4
Posts: 138
Joined: Wed Mar 18, 2009 3:10 pm

Post by Cloudef »

This proplem wasnt in 1.1.17, this proplem came to me too at 1.1.18

Terrains got big holes in it after walking while, also some plants got weird and big :/ You could try Fallout D3D patch
keisangi
Level 2
Level 2
Posts: 14
Joined: Wed Oct 29, 2008 3:54 am

Post by keisangi »

@cloudef
thanks for letting me know..
i tryed to apply the fallout patch here:
http://bugs.winehq.org/attachment.cgi?id=17130
to wine source ( 1.1.18 )..
i decompressed sources, put the patch in source root dir and did:
patch -p1 < filename.diff
but it didn't seem to go well:
[ keisangi@gateway ]$ patch -p1 < patch
patching file dlls/wined3d/directx.c
Hunk #1 FAILED at 4247.
Hunk #2 FAILED at 4377.
2 out of 2 hunks FAILED -- saving rejects to file dlls/wined3d/directx.c.rej
patching file dlls/wined3d/wined3d_main.c
Hunk #1 FAILED at 264.
1 out of 1 hunk FAILED -- saving rejects to file dlls/wined3d/wined3d_main.c.rej
patching file dlls/wined3d/wined3d_private.h
Hunk #1 succeeded at 289 (offset 88 lines).

so maybe i'm using outdated patch ? is there a new one ?
what could i do? just remove 1.1.18 and install 1.1.17 instead would be ok ? or i would still need to apply a patch ?
keisangi
Level 2
Level 2
Posts: 14
Joined: Wed Oct 29, 2008 3:54 am

Post by keisangi »

i just tryed wine 1.1.18 then 1.0.1 and finally wine 1.1.17
all the same..
i made few screenshots here:
http://keisangi.free.fr/oblivion/

that's what i get..
Cloudef
Level 4
Level 4
Posts: 138
Joined: Wed Mar 18, 2009 3:10 pm

Post by Cloudef »

I had exactly same problems, but my terrain problem seems to be fixed i dunno why :/ i think its the fallout 3 patch (And it should apply that way, atleast for me)

I still get the same trees tho. Have you tried other graphic settings in oblivion? Also enable sm 3 shaders?
keisangi
Level 2
Level 2
Posts: 14
Joined: Wed Oct 29, 2008 3:54 am

Post by keisangi »

i just noticed someone updated the d3d patch so it could work with wine 1.1.18.. i patched and compiled a freshly downloaded wine1.1.18 sources.
but the problem is still there in both fallout3 and oblivion.
now thanks to that patch fallout3 can run but both have the same problem:

the outdoor missing terrains and corrupted trees.

cloudef are you using an nvidia card? which one? which driver?
what distro are you using?
could you paste your regedit info ?

this problem will drive me nuts ;)
Cloudef
Level 4
Level 4
Posts: 138
Joined: Wed Mar 18, 2009 3:10 pm

Post by Cloudef »

I'm using Ubuntu Hardy (8.4)
I have Nvidia 8600GT 512mt
Intel Quad Core 6600

Now that i think of i think i atleast solved the terrain issue with updating to nVidia beta drivers (Which are much faster btw)
The driver version is 185.13.

My regedit,
Image
Yeah also thanks im gonna update my fallout 3 patch now =)
I really dont know why these problems occured.. There wasnt none at start then came the terrain problem but it gone away and the tree problem still presents.
DL
Level 3
Level 3
Posts: 70
Joined: Fri Jun 27, 2008 7:47 pm

Post by DL »

I'd say the corrupted trees is a nvidia driver problem.I remember wine-1.1.13 and wine-1.1.15 working fine, but they no longer work now.I'm using nvidia-driver 185.19.I'll test older driver versions when I get the chance.
keisangi
Level 2
Level 2
Posts: 14
Joined: Wed Oct 29, 2008 3:54 am

Post by keisangi »

thanks for the help everyone
i've been trying with nvidia driver 180.19 and wine 1.1.19
and it seems all the gfx corruption is gone :)
i've just tryed for 10mn but ..

i'll do some more testing and report back here
Warren Dumortier

oblivion gfx problems

Post by Warren Dumortier »

2009/4/10 keisangi <[email protected]>:
thanks for the help everyone
i've been trying with nvidia driver 180.19 and wine 1.1.19
and it seems all the gfx corruption is gone :)
i've just tryed for 10mn but ..

i'll do some more testing and report back here





You mean latest Wine fixed the problem? Saw that there were a lot of
Direct3D clean-ups...
keisangi
Level 2
Level 2
Posts: 14
Joined: Wed Oct 29, 2008 3:54 am

Post by keisangi »

@Warren
yes, with latest wine (1.1.19) all problems are gone...
i've been playing oblivion for few hours and everything's fine now.
nomore corrupted tree or missing terrains :)
hdr light, ultrahigh settings, 1280x1024, distant landscapes max etc ..
way to go wine ! :)
all the advantages of windows without the annoyances..
now i can finally enjoy this title
Cloudef
Level 4
Level 4
Posts: 138
Joined: Wed Mar 18, 2009 3:10 pm

Post by Cloudef »

The only problem is that the FPS in oblivion is horrible. I have a bleeding edge computer and i can barely get 20FPS. Hopefully when Fallout 3 starts working Oblivion gets FPS boost.
Sephiroth
Level 2
Level 2
Posts: 36
Joined: Fri Mar 27, 2009 4:57 pm

Post by Sephiroth »

That sounds low. Have you done the multithreading tweaks in Oblivion? I get 30fps in 1280x1024 with detail sliders around 3/4 of the way up, and I have an old P4/3.20GHz (32bit/HT) with an AGP8X 7800GS graphics card. If you want the tweaks I used to achieve this, let me know since they should boost performance of the game whether you're in Wine or Windows.
User avatar
Daemon
Level 4
Level 4
Posts: 101
Joined: Wed Nov 12, 2008 2:24 pm

Post by Daemon »

Cloudef wrote:The only problem is that the FPS in oblivion is horrible. I have a bleeding edge computer and i can barely get 20FPS. Hopefully when Fallout 3 starts working Oblivion gets FPS boost.
http://www.tweakguides.com/Oblivion_1.html
Cloudef
Level 4
Level 4
Posts: 138
Joined: Wed Mar 18, 2009 3:10 pm

Post by Cloudef »

Ive tried those tweaks, none has helped.
My specs are:
OS: Ubuntu Hardy (8.4)
GPU : Nvidia 8600GT 512mt
CPU : Intel Quad Core 6600
RAM : 4gt
Locked