http://bugs.winehq.org/show_bug.cgi?id=28250
Summary: Strange polygon in Wine 1.3.27 but not in Wine 1.3.0 Product: Wine Version: 1.3.27 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dalanmao89@gmail.com
I played the game PAL4 (仙剑奇侠传4. See http://chinesepaladin.org/tag/pal4 and http://www.gamersky.com/Soft/200708/9540.shtml for description of the game) under Wine 1.3.27 and Wine 1.3.0 and I discovered the following problem:
1. My laptop is Intel i915 graphic card with intel-dri 7.11-2 and xf86-video-intel 2.15.0-2 driver. I have tried playing the game with NVideo driver and Wine 1.3.27 has no strange polygon problem. So I suspect the bug is Intel i915 graphic card related!
2. Under Wine 1.3.0, there is no strange polygon display problem. See wine-1.3.0.png in the wine-bug-report.7z. The log file is attached as wine-bug-report.cmp in the 7zip archive.
3. Under Wine 1.3.27 (even earlier versions such as 1.3.23 if I am not mistaken), strange polygon display problem occur. See wine-1.3.27a.png (S3TC disable) and wine-1.3.27b.png (S3TC enable with driconf) in the wine-bug-report.7z. The log file is attached as wine-bug-report.log in the 7zip archive.
Details about my laptop:
1. Running the software:
cd ~/.wine/drive_c/SoftStar/PAL4 LC_ALL=zh_CN.GBK wine PAL4.exe -opengl
2. My distro is ArchLinux 32 bit and 64 bit:
Linux mylinux 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011 i686 Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz GenuineIntel GNU/Linux
3. The gcc version is
Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/lto-wrapper Target: i686-pc-linux-gnu Configured with: /build/src/gcc-4.6-20110819/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libssp --disable-libstdcxx-pch --enable-checking=release Thread model: posix gcc version 4.6.1 20110819 (prerelease) (GCC)
http://bugs.winehq.org/show_bug.cgi?id=28250
--- Comment #1 from liaohaohui dalanmao89@gmail.com 2011-09-02 00:50:47 CDT --- Created an attachment (id=36202) --> (http://bugs.winehq.org/attachment.cgi?id=36202) Polygon appearing strangely with Wine 1.3.27 but not with 1.3.0
http://bugs.winehq.org/show_bug.cgi?id=28250
--- Comment #2 from liaohaohui dalanmao89@gmail.com 2011-09-02 00:52:34 CDT --- Created an attachment (id=36203) --> (http://bugs.winehq.org/attachment.cgi?id=36203) No strange polygon when running with Wine 1.3.0
http://bugs.winehq.org/show_bug.cgi?id=28250
--- Comment #3 from liaohaohui dalanmao89@gmail.com 2011-09-02 00:53:28 CDT --- Created an attachment (id=36204) --> (http://bugs.winehq.org/attachment.cgi?id=36204) Log file for Wine 1.3.27
http://bugs.winehq.org/show_bug.cgi?id=28250
--- Comment #4 from liaohaohui dalanmao89@gmail.com 2011-09-02 00:53:58 CDT --- Created an attachment (id=36205) --> (http://bugs.winehq.org/attachment.cgi?id=36205) Log file for Wine 1.3.0
http://bugs.winehq.org/show_bug.cgi?id=28250
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|Strange polygon in Wine |Game PAL4: strange polygon |1.3.27 but not in Wine | |1.3.0 |
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru 2011-09-02 01:24:23 CDT --- Please post the results of your regression testing: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=28250
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #6 from Jerome Leclanche adys.wh@gmail.com 2011-11-02 05:17:42 CDT --- - Does this still happen in wine-1.3.31? - Are you able to run the regression test? - Is the game downloadable for free somewhere?
http://bugs.winehq.org/show_bug.cgi?id=28250
--- Comment #7 from liaohaohui dalanmao89@gmail.com 2012-01-28 04:44:38 CST --- When I tried wine-1.3.37 today, the problem still persist. Then I searched for Wine OpenGL problem for Intel graphics chip and I found:
http://www.youtube.com/watch?v=-iHQDEDpf-o
Apparently Hitman 3 has a similar problem I faced and the following suggestion:
For WINE 1.3.23 and up use: export MESA_EXTENSION_OVERRIDE="-GL_EXT_texture_sRGB_decode -GL_ARB_draw_elements_base_vertex -GL_ARB_map_buffer_range"
solved my problem. Now I used the following script to run PAL4:
export MESA_EXTENSION_OVERRIDE="-GL_EXT_texture_sRGB_decode -GL_ARB_draw_elements_base_vertex -GL_ARB_map_buffer_range" LC_ALL=zh_CN.GBK wine PAL4.exe
May be wine developers can issue warnings to Intel GMA users?
So now it is obvious that because Wine 1.3.0 did not implement some of the above features, so it works fine for PAL4 whereas later versions have problem because of the implementation.
Thanks for everyone's effort!
http://bugs.winehq.org/show_bug.cgi?id=28250
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2012-01-28 07:19:54 CST --- (In reply to comment #7)
Apparently Hitman 3 has a similar problem I faced and the following suggestion:
For WINE 1.3.23 and up use: export MESA_EXTENSION_OVERRIDE="-GL_EXT_texture_sRGB_decode -GL_ARB_draw_elements_base_vertex -GL_ARB_map_buffer_range"
solved my problem. Now I used the following script to run PAL4:
Do you really need all three of those? Regardless, that probably makes it a bug in the Intel driver, please report to https://bugs.freedesktop.org/.
http://bugs.winehq.org/show_bug.cgi?id=28250
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #9 from joaopa jeremielapuree@yahoo.fr 2012-03-31 23:31:06 CDT --- Henri said it is a driver bug. So, it can be closed as INVALID.
http://bugs.winehq.org/show_bug.cgi?id=28250
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |UPSTREAM
--- Comment #10 from Austin English austinenglish@gmail.com 2012-04-01 02:06:45 CDT --- (In reply to comment #9)
Henri said it is a driver bug. So, it can be closed as INVALID.
No, UPSTREAM
https://bugs.winehq.org/show_bug.cgi?id=28250
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=28250
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
--- Comment #12 from Austin English austinenglish@gmail.com --- This was inadvertently caught up in my unclosed bugs filter. NOTOURBUG should only be closed when fixed upstream.
Setting back to RESOLVED NOTOURBUG.
Sorry for the spam.