http://bugs.winehq.org/show_bug.cgi?id=15495
Summary: Lineage 2: Gracia - Part1: DirectX 9.0 error Product: Wine Version: 1.1.5 Platform: PC URL: http://forum.l2german.net/ OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: oleaut32 AssignedTo: wine-bugs@winehq.org ReportedBy: c_korn@gmx.de CC: dank@kegel.com
Created an attachment (id=16413) --> (http://bugs.winehq.org/attachment.cgi?id=16413) Error message of lineage2
Hello, I try to run Lineage 2: Gracia-Part1.
L2 crashes most of the time at startup with this error message (attached).
In version 1.0~rc3 L2 started after some tries so I decided to do a regression test.
This was the test: If L2 started twice out of 20 tries then it was good. If L2 did not start out of 20 tries it was bad. If L2 started once I repeated the test.
This is the regression I got: 3fa578220e848a930bfa4aa2124fa3ad08c80bf7 is first bad commit commit 3fa578220e848a930bfa4aa2124fa3ad08c80bf7 Author: Dan Kegel dank@kegel.com Date: Thu Jun 5 17:30:32 2008 -0700
oleaut32/tests: VariantInit() isn't enough, you have to give a value, too.
:040000 040000 cdc70a04bcfc6a81d8128087c8600ce99dd90ca6 a328e033fa5abbb650949cfe5f1f424df49ba80e M dlls
http://bugs.winehq.org/show_bug.cgi?id=15495
Christoph Korn c_korn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #1 from Christoph Korn c_korn@gmx.de 2008-10-02 09:14:15 --- Created an attachment (id=16415) --> (http://bugs.winehq.org/attachment.cgi?id=16415) Lineage 2: AGP warning
Independent of the error occurs or not there is this warning at each start.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #2 from Christoph Korn c_korn@gmx.de 2008-10-02 09:16:33 --- Created an attachment (id=16416) --> (http://bugs.winehq.org/attachment.cgi?id=16416) Console output of wine when L2 crashes
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #3 from Christoph Korn c_korn@gmx.de 2008-10-02 09:20:54 --- I also updated DirectX following this article: http://howto.landure.fr/gnu-linux/install-directx-9-0c-on-linux-using-wine
I used this Version of DirectX (Redistributable): http://www.computerbase.de/downloads/software/betriebssysteme/directx/
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #4 from Dan Kegel dank@kegel.com 2008-10-02 09:51:54 --- The patch you point to only changes the test suite, so it can't be the cause of the failure.
Can you reproduce the problem with a fresh install of the game (i.e. cd $HOME mv .wine .wine.old and then install the game)?
The console output sounds like it's a gameguard problem, see http://boards.lineage2.com/showthreaded.php?Cat=0&Number=805558&page... http://boards.lineage2.com/showthreaded.php?Cat=0&Number=805460&page...
Wine doesn't support gameguard yet, sorry.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #5 from Christoph Korn c_korn@gmx.de 2008-10-02 10:26:21 --- I did all tests in a clean wine dir.
The error remains.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #6 from Christoph Korn c_korn@gmx.de 2008-10-02 11:38:12 --- Also this client has GameGuard disabled.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #7 from Austin English austinenglish@gmail.com 2008-10-02 13:17:17 --- Can you try reverting that patch?
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #8 from Christoph Korn c_korn@gmx.de 2008-10-02 13:53:49 --- Created an attachment (id=16422) --> (http://bugs.winehq.org/attachment.cgi?id=16422) Revert of 3fa578220e848a930bfa4aa2124fa3ad08c80bf7
This is my revert patch.
But I don't think this has something to do with the bug.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #9 from Christoph Korn c_korn@gmx.de 2008-10-02 14:06:59 --- When are those tests run btw?
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #10 from Dan Kegel dank@kegel.com 2008-10-02 14:18:03 --- What tests?
This bug report seems confused and of little value, maybe we should figure out what the confusion is via email, close this one, and open a new one.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #11 from Christoph Korn c_korn@gmx.de 2008-10-02 14:23:06 --- Why is it of little value?
I tried to submit all necessary information. I just was intrested at what time such tests are run. (oleaut32/tests such e.g.)
Although I do not think the regression I found is the right one but it was difficult to decide if git-bisect good or bas was right.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #12 from Christoph Korn c_korn@gmx.de 2008-10-02 14:31:19 --- I reverted the patch but wine-1.1.5 cannot run L2 out of 20 tries.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #13 from Dan Kegel dank@kegel.com 2008-10-02 14:33:16 --- Almost none of the comments in this bug are useful. Regression testing is hard, especially for bugs that don't reproduce reliably.
There may be a real bug here, but it's hard to learn anything about it from this report.
The conformance tests are run whenever new patches are considered, and daily. See http://test.winehq.org and http://wiki.winehq.org/ConformanceTests
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #14 from Christoph Korn c_korn@gmx.de 2008-10-02 14:39:39 --- Then just say what useful information you require!
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #15 from Austin English austinenglish@gmail.com 2008-10-02 14:43:53 --- (In reply to comment #14)
Then just say what useful information you require!
Rerun the regression test. When you've found the patch, try reverting it. If the app then works, you've found the right patch.
If the bug doesn't always show, test the app a few times before saying git bisect good/bad.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #16 from Christoph Korn c_korn@gmx.de 2008-10-02 14:49:00 --- That is exactly what I did but it turned out the wrong regression.
Another point is that I am not quite sure if it is really a regression.
I only noticed that in wine-0.9.61 the game runs more often that in wine-1.1.5.
After some testing I found that the regression has to be between wine-1.0~rc3 (good) and wine-1.0~rc4 (bad).
So I will rerun the regression test...
http://bugs.winehq.org/show_bug.cgi?id=15495
Christoph Korn c_korn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com Component|oleaut32 |directx-d3d
--- Comment #17 from Christoph Korn c_korn@gmx.de 2008-10-02 18:35:53 --- Finally I got the right regression: d60ece20b5fc43ba1e1132ad6d60f48104c081bd is first bad commit commit d60ece20b5fc43ba1e1132ad6d60f48104c081bd Author: Stefan Dösinger stefan@codeweavers.com Date: Tue Aug 26 15:17:09 2008 -0500
wined3d: Implement secondary color in the arbfp ffp pipeline.
:040000 040000 ed4c8b071c462edb8a7f6e1093d249113fd1ede9 f61d097a95c38d63189db4473d7604efc6b7b10b M dlls
Reverting this patch from current HEAD makes L2 run three times in a row (I actually only tested three times ;-)
http://bugs.winehq.org/show_bug.cgi?id=15495
Christoph Korn c_korn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16422|0 |1 is obsolete| |
--- Comment #18 from Christoph Korn c_korn@gmx.de 2008-10-02 18:36:30 --- Created an attachment (id=16432) --> (http://bugs.winehq.org/attachment.cgi?id=16432) The bisect log
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #19 from Christoph Korn c_korn@gmx.de 2008-10-02 18:39:10 --- Created an attachment (id=16433) --> (http://bugs.winehq.org/attachment.cgi?id=16433) Revert of d60ece20b5fc43ba1e1132ad6d60f48104c081bd
This is the revert patch I used to make L2 run. (From this commit http://source.winehq.org/git/wine.git/?a=commit;h=d60ece20b5fc43ba1e1132ad6d...)
As you can see I had also to remove the call to state_arb_specularenable() in line: @@ -3019,7 +3001,6 @@
This call was not in the official commit.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #20 from Christoph Korn c_korn@gmx.de 2008-10-03 06:55:16 --- Created an attachment (id=16445) --> (http://bugs.winehq.org/attachment.cgi?id=16445) minimal patch that makes L2 run
http://bugs.winehq.org/show_bug.cgi?id=15495
Christoph Korn c_korn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=15495
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16413|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=15495
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16416|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=15495
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16432|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #21 from Christoph Korn c_korn@gmx.de 2008-10-03 09:37:01 --- I wanted to test which line in state_arb_specularenable() is causing the crash.
But unfortunately, L2 only runs when this minimal patch (attached before) is applied. But then the function is not used at all, when I'm right.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #22 from Christoph Korn c_korn@gmx.de 2008-10-04 06:44:04 --- I have did some testing with the official client. (http://www.fileplanet.com/190432/190000/fileinfo/Lineage-2---Chaotic-Throne:...)
The summary: * Both clients crash (error message in first post) when they are run with wine-1.1.5
* Both clients run when wine is compiled with this patch: http://bugs.winehq.org/attachment.cgi?id=16445
* Both clients crash when changing the game resolution (default is: 800x600)
http://bugs.winehq.org/show_bug.cgi?id=15495
Neo Drexx neo-drexx@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #23 from Neo Drexx neo-drexx@gmx.de 2008-10-04 06:52:01 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #24 from Christoph Korn c_korn@gmx.de 2008-10-04 10:25:06 --- Created an attachment (id=16463) --> (http://bugs.winehq.org/attachment.cgi?id=16463) Official L2 client directly after changing the resolution from 800x600 to 1024x800
I have to correct myself: There is a difference between the L2German Client and the official client:
* The official client does not crash directly after changing the resolution. The screen after changing the resolution is attached. But when I exit the client and restart it then the client also crashes with the DirectX error. (It also crashes when the resolution is set in the option.ini instead of ingame.)
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #25 from Christoph Korn c_korn@gmx.de 2008-10-04 12:42:14 --- I have found a workaround for this:
1. Get l2encdec to decrypt the l2.ini http://dstuff.l2wh.com/ 2. Decrypt the l2.ini file: l2encdec.exe -s L2.ini myL2.ini 3. Edit the decrypted myL2.ini: Find these lines: UseHardwareTL=True UseHardwareVS=True and change to: UseHardwareTL=False UseHardwareVS=False 4. Start L2 with: WINEDEBUG=-all wine l2.exe -INI=myL2.ini (myL2.ini has to be in system subdir of L2)
My patch has not to be applied to make L2 run with this modified l2.ini.
It runs fine with current wine-1.1.5 when the l2.ini is modified like this.
So is this a bug in wine? Or are there just some functions missing?
http://bugs.winehq.org/show_bug.cgi?id=15495
Nexus hozzan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hozzan@gmail.com
--- Comment #26 from Nexus hozzan@gmail.com 2008-10-12 15:02:19 --- (In reply to comment #25)
I have found a workaround for this:
- Get l2encdec to decrypt the l2.ini http://dstuff.l2wh.com/
- Decrypt the l2.ini file: l2encdec.exe -s L2.ini myL2.ini
- Edit the decrypted myL2.ini: Find these lines: UseHardwareTL=True UseHardwareVS=True and change to: UseHardwareTL=False UseHardwareVS=False
- Start L2 with: WINEDEBUG=-all wine l2.exe -INI=myL2.ini (myL2.ini has to be in system subdir of L2)
My patch has not to be applied to make L2 run with this modified l2.ini.
It runs fine with current wine-1.1.5 when the l2.ini is modified like this.
So is this a bug in wine? Or are there just some functions missing?
This workarround me help to run LineageII C5 (i disable only "UseHardwareVS"). I try to test on Wine 1.1.6.
Very thanks ...
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #27 from Christoph Korn c_korn@gmx.de 2008-10-13 16:18:50 --- As I have heard this DirectX bug occurs when some versions of NVIDIA drivers are used and disappears when different versions are used.
So is this a driver issue or a wine bug?
My video card (NVIDIA Quadro NVS 140M) should support T&L.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #28 from Nexus hozzan@gmail.com 2008-10-14 05:54:19 --- (In reply to comment #27)
As I have heard this DirectX bug occurs when some versions of NVIDIA drivers are used and disappears when different versions are used.
So is this a driver issue or a wine bug?
My video card (NVIDIA Quadro NVS 140M) should support T&L.
I have nVidia GF 9800GTX from Asus. T&L is supported from GF2 and above. I think this is a bug. If i have disable use this feature in game, it is improve stability and certain.
http://bugs.winehq.org/show_bug.cgi?id=15495
Christoph Korn c_korn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch, regression |
http://bugs.winehq.org/show_bug.cgi?id=15495
Henrikas heniuz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |heniuz@gmail.com
--- Comment #29 from Henrikas heniuz@gmail.com 2009-01-05 13:06:54 --- Yes, thanks, it really helps to bypass the error message. What about of being stuck at loading screen ? (process turns into zombie or client crash). Problem with modified client?
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #30 from Christoph Korn c_korn@gmx.de 2009-01-05 15:38:04 --- Do you mean this bug? http://bugs.winehq.org/show_bug.cgi?id=16738
http://bugs.winehq.org/show_bug.cgi?id=15495
Roman Mamedov roman@rm.pp.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roman@rm.pp.ru
--- Comment #31 from Roman Mamedov roman@rm.pp.ru 2009-03-20 11:52:05 --- I have found that the game starts up normally (or "there is an order of magnitudes higher chance to not get the error") when there is the "Low Detail" setting enabled in the game.
It can be set in game's "System/Option.ini", as IsKeepMinFrameRate=True in the [Video] section.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #32 from Roman Mamedov roman@rm.pp.ru 2009-03-20 11:53:50 --- Forgot to mention that the above observation was made on ATI's cards, both Radeon HD3870 with fglrx and Radeon X800GT with Mesa.
http://bugs.winehq.org/show_bug.cgi?id=15495
chris_kandi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chris_kandi@hotmail.com
--- Comment #33 from chris_kandi@hotmail.com 2009-07-07 03:12:56 --- i have 2 noob questions 1. where do i write the WINEDEBUG=-all wine l2.exe -INI=myL2.ini command, and 2. how do i install this patch???
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #34 from Christoph Korn c_korn@gmx.de 2009-07-07 03:19:12 --- 1. Enter the command in your shell. What OS do you use? 2. You don't need to patch wine.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #35 from chris_kandi@hotmail.com 2009-07-07 06:04:01 --- (In reply to comment #34)
- Enter the command in your shell. What OS do you use?
- You don't need to patch wine.
i use ubuntu 9.04. and what to you mean by shell? (totally linux NOOB).
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #36 from Christoph Korn c_korn@gmx.de 2009-07-07 06:19:43 --- (In reply to comment #35)
(In reply to comment #34)
- Enter the command in your shell. What OS do you use?
- You don't need to patch wine.
i use ubuntu 9.04. and what to you mean by shell? (totally linux NOOB).
Press Alt+F2 and enter gnome-terminal.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #37 from chris_kandi@hotmail.com 2009-07-07 10:01:50 --- is it possible to write a complete guide about this, because i want like crazy to play lineage, and i always stuck in that directx error.and because i fail to do right the gnome-terminal code. i can't even instal git from the downloaded file... :(
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #38 from Christoph Korn c_korn@gmx.de 2009-07-07 10:05:21 --- (In reply to comment #37)
is it possible to write a complete guide about this, because i want like crazy to play lineage, and i always stuck in that directx error.and because i fail to do right the gnome-terminal code. i can't even instal git from the downloaded file... :(
I already wrote a guide in this comment: http://bugs.winehq.org/show_bug.cgi?id=15495#c25 Please be more precise about where your problem is.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #39 from chris_kandi@hotmail.com 2009-07-07 10:33:47 --- ok. i modified l2.ini to myl2.ini and put it in the system folder. in shell when i put " WINEDEBUG=-all wine l2.exe -INI=myL2.ini" i get this error
Could not open location 'file:///home/jediknight/WINEDEBUG=-all%20wine%20l2.exe%20-INI=myL2.ini'
that's my one problem.
the other one is that i want to add the patch but i either know the way or have the necessary programs to do it.
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #40 from Dan Kegel dank@kegel.com 2009-07-07 10:43:50 --- Comment 25 says no patch needed.
For the record, though, the FAQ does say how to apply patches; see http://wiki.winehq.org/FAQ#head-7ed3c3163e2b932ee2030a48f9c5e553dc41817b
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #41 from Christoph Korn c_korn@gmx.de 2009-07-07 10:45:35 --- (In reply to comment #39)
ok. i modified l2.ini to myl2.ini and put it in the system folder. in shell when i put " WINEDEBUG=-all wine l2.exe -INI=myL2.ini" i get this error
Could not open location 'file:///home/jediknight/WINEDEBUG=-all%20wine%20l2.exe%20-INI=myL2.ini'
that's my one problem.
the other one is that i want to add the patch but i either know the way or have the necessary programs to do it.
Ok, you need basic knowledge about how to use a shell.
For now just open the gnome terminal and change the directory with "cd" to lineage's system directory. There run: WINEDEBUG=-all wine l2.exe -INI=myL2.ini
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #42 from chris_kandi@hotmail.com 2009-07-07 11:08:13 --- so the command should look like this: file:///home/jediknight/.wine/drive_c/Program Files/Lineage II/system WINEDEBUG=-all wine l2.exe -INI=MyL2.ini
sorry for the continuous questions
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #43 from chris_kandi@hotmail.com 2009-07-19 00:51:01 --- ok so i managed to run the command but nothing happened
http://bugs.winehq.org/show_bug.cgi?id=15495
Jan Zerebecki jan.wine@zerebecki.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16422|application/octet-stream |text/plain mime type| | Attachment #16422|0 |1 is patch| |
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #44 from Austin English austinenglish@gmail.com 2010-07-23 15:49:46 --- This is your friendly reminder that there has been no bug activity for a year. Is this still an issue in current (1.2 or newer) wine
http://bugs.winehq.org/show_bug.cgi?id=15495
--- Comment #45 from Nexus hozzan@gmail.com 2010-07-24 04:10:09 --- (In reply to comment #44)
This is your friendly reminder that there has been no bug activity for a year. Is this still an issue in current (1.2 or newer) wine
On my installation (ubuntu 10.04 x64, wine 1.2), this problem does not show. Thank you for the tackle.
http://bugs.winehq.org/show_bug.cgi?id=15495
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #46 from Dan Kegel dank@kegel.com 2010-07-24 08:24:24 --- Reported fixed. If someone still has the problem, we can reopen.
http://bugs.winehq.org/show_bug.cgi?id=15495
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #47 from Alexandre Julliard julliard@winehq.org 2010-07-30 12:55:54 --- Closing bugs fixed in 1.3.0.