http://bugs.winehq.org/show_bug.cgi?id=32096
Bug #: 32096
Summary: drawStridedSlow can be more efficient
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: guillaum.bouchard(a)gmail.com
Classification: Unclassified
Hi,
Recently I noticed that World of Warcaft is far more slow on d3d9 mode than
using the OpenGL mode on my computer (pentium 4 and geforce 5 fx).
Unfortunately the OpenGL mode is unusable since last WoW update (bug is inside
WoW, not wine)
D3D mode is slower because an important amount of the primitives are rendered
using drawStridedSlow (dlls/wined3d/drawprim.c) which generates a lot of opengl
call (here, 600K calls compared to 12K in OpenGL mode).
It appears that if the computer can handle vertex array (ie:
glDrawElements/glDrawArrays/gl[Vertex|Color|TexCoords|Fog]Pointer and
glClientActiveTexture) the number of openGL call can be dramatically reduced,
leading to an important increase in FPS (8 to 25 in important city in WoW).
On my computer, I hacked inside drawStritedSlow and I have only one issue, the
format of color is packed in BGRA, which is not compatible with the format
awaited by glColorPointer. This can be fixed using the extension
ARB_vertex_array_BGRA, which is unfortunately not available on my computer. I
solved this issue by looping over each vertex and building a custom array in
memory that I submitted to glColorPointer. I got approximately the same FPS
increase using this approach.
My conclusions here are that the fallback to drawStridedSlow is a bit extreme
and in most case unnecessary. In my configuration everything works except the
conversion from the d3d BGRA format for color in RGBA. This part can be easily
done in software to create a suitable color array. Also, I did not dig inside
the shader code of wined3d, but perhaps this conversion can be simply
implemented as a swizzle in the custom vertex shader. (am I right guessing that
wined3d does not uses the default shader of the fixed pipeline ?).
So this bug report is more a way of opening the discussion. I see many options
to improve the situation:
a) Tweak the heuristics which detects and fallbacks to drawStridedSlow. If
necessary implements the needed conversions in software. But this will not
generates OpenGL function call and will increase performance a bit
b) Tweak the vertex shader to do the conversion in the vertex shader, I think
it is our best option
c) Tweak drawStridedSlow to still rely on vertex array when possible (I have an
example of code which is doing this. I'm playing WoW with this since 3 days
without any issue and with a FPS increase of 200%). I don't think that honestly
it is the good idea.
d) do something else. Because I did not read anything else than the
drawStritedSlow function, I may have missed something important.
I'm motivated to help in the DX -> GL code. I'm a skilled C and GL coder, I
don't know DX, but can learn enough. Thank you for reading.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35360
Bug ID: 35360
Summary: Crimson3: crashes when dragging symbol on design
screen
Product: Wine
Version: 1.7.10
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: sammyizimmy(a)gmail.com
Classification: Unclassified
Created attachment 47167
--> http://bugs.winehq.org/attachment.cgi?id=47167
crash backtrace
Wine crashes when I drag a symbol from the palette to the design screen
in Crimson 3.0 build 548.001
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34075
Bug #: 34075
Summary: Mouse must be held down to be visible
Product: Wine
Version: 1.6-rc3
Platform: Other
OS/Version: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winemac.drv
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ipickert55(a)gmail.com
Classification: Unclassified
Created attachment 45302
--> http://bugs.winehq.org/attachment.cgi?id=45302
Wine Log of starting steam and playing the game
I believe that this is a regression, however, i have no clue how to run a
regression test on a mac so I am just submitting this bug. It looks like this
bug had been solved in X11, so I think that this is related to the macdriver.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22546
Summary: Error Snelstart after loading
Product: Wine
Version: 1.1.42
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: wvanreede(a)live.nl
Created an attachment (id=27653)
--> (http://bugs.winehq.org/attachment.cgi?id=27653)
errorlog+ backtrace snelstart error
after snelstart loads, it asks for script55. with winetricks i installed
script56.
after that the app crashed.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37562
Bug ID: 37562
Summary: Skype opens apps.skype.com on every start
Product: Wine
Version: 1.7.31
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: t.artem(a)mailcity.com
Distribution: Red Hat
Most likely there's something missing in Wine so Skype cannot change the state
of "apps.skype.com has already been shown".
P.S. Make sure you deleted login.cab before trying to debug this issue (proper
HTML support is not yet there, see bug 28457).
Skype version: 6.21.32.104
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30721
Bug #: 30721
Summary: .NET 3.x/4.x WPF based installers/apps require
windowscodecs.dll BmpFrameDecode_GetColorContexts
Product: Wine
Version: 1.5.4
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: windowscodecs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
another one ...
--- snip ---
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.Windows.Markup.XamlParseException: Cannot convert string
'/Microsoft.PowerShell.GPowerShell;component/NewFile.png' in attribute
'EnabledImageSource' to object of type 'System.Windows.Media.ImageSource'. The
method or operation is not implemented. Error at object
'Microsoft.Windows.PowerShell.Gui.Internal.ImageButton' in markup file
'Microsoft.PowerShell.GPowerShell;component/mainwindow.xaml'. --->
System.NotImplementedException: The method or operation is not implemented.
at MS.Internal.HRESULT.Check(Int32 hr)
at System.Windows.Media.Imaging.BitmapFrameDecode.get_ColorContexts()
at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame
frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions,
BitmapCacheOption cacheOption, BitmapPalette palette)
at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapFrameDecode..ctor(Int32 frameNumber,
BitmapSourceSafeMILHandle sourceHandle, BitmapCreateOptions createOptions,
BitmapCacheOption cacheOption, BitmapDecoder decoder)
at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder
decoder, ReadOnlyCollection`1 frames)
at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri
baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions,
BitmapCacheOption cacheOption)
at
System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext
context, CultureInfo culture, Object value)
at
System.ComponentModel.TypeConverter.ConvertFromString(ITypeDescriptorContext
context, CultureInfo culture, String text)
...
--- snip ---
$ wine --version
wine-1.5.4-185-g6c51c1b
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=36155
Bug ID: 36155
Summary: valgrind shows a leak whenever using a virtual desktop
Product: Wine
Version: 1.7.17
Hardware: x86
OS: Linux
Status: NEW
Keywords: download, source, testcase
Severity: normal
Priority: P2
Component: programs
Assignee: wine-bugs(a)winehq.org
Reporter: austinenglish(a)gmail.com
==27721== 208 bytes in 1 blocks are definitely lost in loss record 445 of 645
==27721== at 0x7BC4C735: notify_alloc (heap.c:255)
==27721== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716)
==27721== by 0x5EF852D: query_screens (xinerama.c:128)
==27721== by 0x5EF88A5: xinerama_init (xinerama.c:196)
==27721== by 0x5EF2737: process_attach (x11drv_main.c:574)
==27721== by 0x5EF2BB4: DllMain (x11drv_main.c:693)
==27721== by 0x5F02FC6: __wine_spec_dll_entry (dll_entry.c:40)
==27721== by 0x7BC52FC0: ??? (loader.c:138)
==27721== by 0x7BC555FE: MODULE_InitDLL (loader.c:1068)
==27721== by 0x7BC5597C: process_attach (loader.c:1157)
==27721== by 0x7BC585E2: LdrLoadDll (loader.c:2129)
==27721== by 0x7B85A79A: load_library (module.c:933)
==27721== by 0x7B85A908: LoadLibraryExW (module.c:990)
==27721== by 0x7B85AA4D: LoadLibraryW (module.c:1032)
==27721== by 0x525BE16: load_desktop_driver (driver.c:76)
==27721== by 0x525BFA2: load_driver (driver.c:98)
==27721== by 0x525D283: loaderdrv_CreateDesktopWindow (driver.c:741)
==27721== by 0x52CC28B: GetDesktopWindow (win.c:2090)
==27721== by 0x55D64FE: get_display_driver (driver.c:101)
==27721== by 0x55D65B8: DRIVER_load_driver (driver.c:122)
==27721==
just about every test shows this:
[austin@localhost logs]$ grep -c DRIVER_load_driver 2014-04-27-20.29.log
503
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=23151
Summary: Mass Effect 2: in intro video, Miranda's eyes are
solid white
Product: Wine
Version: unspecified
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P2
Component: directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Created an attachment (id=28794)
--> (http://bugs.winehq.org/attachment.cgi?id=28794)
screenshot - wine
Only happens in one part. The dialog is around "But Shepard...they'll follow
him. He's a hero, a bloody icon." and "But he's just one man."
I'll attach screenshots on windows and wine.
Terminal output is:
fixme:d3d:debug_d3dformat Unrecognized 875710020 (as fourcc: DF24)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(875710020) in the
format lookup table
fixme:d3d:debug_d3dformat Unrecognized 1111774798 (as fourcc: NVDB)
WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1111774798) in the
format lookup table
fixme:d3d:swapchain_init Add OpenGL context recreation support to
context_validate_onscreen_formats
Note: The wine screenshot had a small delay from Shutter, so there's a line
across it where two frames merged. That's not in the game, but you can see the
eye problem in it.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27349
Summary: SafeDisc v2.x API entry analyzer flags Wine's
user32.dll as "bad" (too many exports with PIC loads
in prolog code) (SimCity 4, ...)
Product: Wine
Version: 1.3.21
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: user32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
many games (and some apps) have dependency on "meta" bug 219 "Programs refuse
to run because of safedisc copy-protection" which just bad (not even targeting
specific version).
I bought some games for few bucks just to have a look at some copy protections.
Though I will probably never play them ;-)
Collecting/tracking affected games/apps for this _specific_ issue here
(applicable appdb entries should have bug 219 dependency removed in favor of
this one).
The root cause was already targeted by bug 10273 ("satisfy SafeDisc 2.x
heuristic API analyzer by "adjusting" API exports/entry statistics of wine
builtins (affects e.g. adobe photoshop)") ...
That bug was closed a long time ago because it ought to work for various SD 2.x
apps/games (unfortunately also depending on wine build environment/host gcc).
I rejected the idea of reviving that bug and instead created a new one,
targeting the affected core dll.
Game: "SimCity 4"
A quick scan with "ProtectionID" reveals:
--- snip ---
-=[ ProtectionID v0.6.4.0 JULY]=-
(c) 2003-2010 CDKiLLER & TippeX
Build 07/08/10-17:57:05
Ready...
Scanning -> H:\.wine\drive_c\Program Files\Maxis\SimCity 4\Apps\SimCity 4.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 7971630 (079A32Eh)
Byte(s)
[x] Warning - FileAlignment seems wrong.. no solution calculated (using NULL)
-> File has 746286 (0B632Eh) bytes of appended data starting at offset 06E4000h
[File Heuristics] -> Flag : 00000000000000000100000100000111 (0x00004107)
[!] Safedisc v2/v3/v4 [unknown version] detected !
[i] Appended data contents....
...
[CompilerDetect] -> Visual C++ 6.0
- Scan Took : 0.262 Second(s)
--- snip ---
We can do better ...
The string "BoG_" is well known for detection of SafeDisc versions.
--- snip ---
$:~/.wine/drive_c/Program Files/Maxis/SimCity 4/Apps$ xxd -g 4 SimCity\ 4.exe |
grep "BoG_" -A 2
0006fd0: 00000000 426f475f 202a3930 2e302621 ....BoG_ *90.0&!
0006fe0: 21202059 793e0000 00000000 00000000 ! Yy>..........
0006ff0: 00000000 02000000 50000000 0a000000 ........P.......
--- snip ---
0x02000000 -> 2
0x50000000 -> 90
0x0a000000 -> 10
So this is SafeDisc v2.90.10 protection.
By debugging this game I came to conclusion there is still a problem with the
API entry statistics.
$ wine --version
wine-1.3.21-26-ge6ee2c1
$ gcc --version
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
For the meaning of the table just read up some comments in bug 10273
kernel32 user32 gdi32 condition (cx < threshold)
--------------------------------------------------------------------
c1: 0x43 0x55 0x50 0x5F
c2: 0x23 *0x41 0x39 0x3C
c3: 0x00 0x00 0x00 0x5A
* = threshold exceeded -> bad
Basically the majority of exported user32 API entries have PIC register load
code within range of first 8 opcode bytes of entry which is treated as
trampoline (= high c2 value).
--- snip ---
...
.text:0001D847 __i686_get_pc_thunk_bx proc near
.text:0001D847 mov ebx, [esp+0]
.text:0001D84A retn
.text:0001D84A __i686_get_pc_thunk_bx endp
...
API entry:
.text:0003735C push ebp
.text:0003735D mov ebp, esp
.text:0003735F push ebx
.text:00037360 sub esp, 34h
.text:00037363 call __i686_get_pc_thunk_bx
.text:00037368 add ebx, 0AEC8Ch
...
--- snip ---
Kernel32 gets the good looking stats because it forwards various stuff to
ntdll, letting compiler produce different function prolog code (= not having
PIC register load in first place).
As already mentioned in the other bug, unimpl. stubs also help to improve stats
because they have 8 NOPs on entry.
I've tweaked user32 again a bit just to pass the threshold - there are various
ugly methods one bad as the other ;-|
A method without adding unimpl. stubs or stack protector code (unreliable
because cookie code can be inserted _after_ PIC code) and keeping -fPIC is to
convince the compiler to use the 6 byte opcode for reserving stack space, e.g.
"subl $xxx, %esp" with a 32-bit immediate (0x81,0xEB,<32 bit immediate>).
Good targets are stubs and functions that make use of FIXME/TRACE.
There are lots of them that can be tweaked this way (= no performance penalty),
improving entry stats.
Result: games work out of the box without the need of No-CD patches.
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=36977
Bug ID: 36977
Summary: Magic: The Gathering – Duels of the Planeswalkers 2015
crashes after few frames of intro sequence
Product: Wine
Version: 1.7.21
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: otigkd(a)gmail.com
Created attachment 49100
--> http://bugs.winehq.org/attachment.cgi?id=49100
crash log
os: Gentoo x86
installed trough steam.
a few seconds of loding/intro is played, then crashes
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=35698
Bug ID: 35698
Summary: Nuance PDF Create! 5 installer (part of OmniPage 17)
reports 'Error code: 154 - Get ServerPolicy failed'
(IGroupPolicyObject, CLSID
{ea502722-a23d-11d1-a7d3-0000f87571e3})
Product: Wine
Version: 1.7.13
Hardware: x86
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
as the summary says.
The failure seems non-critical and the message box can be dismissed.
The sub-installer can be separately run for testing:
--- snip ---
$ pwd
/mnt/iso/PDFCreate5/System32/PDFCreate
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant wine ./setup.exe >>
~/Downloads/log2.txt 2>&1
...
003f:Call ole32.CoCreateInstance(00b2e33c,00000000,00000001,00b2e324,00b2e334)
ret=008d881a
003f:trace:ole:CoCreateInstance (rclsid={ea502722-a23d-11d1-a7d3-0000f87571e3},
pUnkOuter=(nil), dwClsContext=00000001,
riid={ea502723-a23d-11d1-a7d3-0000f87571e3}, ppv=0xb2e334)
003f:trace:ole:CoGetClassObject CLSID:
{ea502722-a23d-11d1-a7d3-0000f87571e3},IID:
{00000001-0000-0000-c000-000000000046}
003f:Call
KERNEL32.FindActCtxSectionGuid(00000001,00000000,00000004,00b2e33c,00b2e11c)
ret=7eac14e4
003f:Ret KERNEL32.FindActCtxSectionGuid() retval=00000000 ret=7eac14e4
003f:Call ntdll.RtlInitUnicodeString(00b2e030,00b2e082
L"CLSID\\{EA502722-A23D-11D1-A7D3-0000F87571E3}") ret=7eabb537
003f:Ret ntdll.RtlInitUnicodeString() retval=00b2e030 ret=7eabb537
003f:Call ntdll.NtOpenKey(00b2e07c,00020019,00b2e038) ret=7eabb553
003f:Ret ntdll.NtOpenKey() retval=c0000034 ret=7eabb553
003f:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7eabb55e
003f:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7eabb55e
003f:err:ole:CoGetClassObject class {ea502722-a23d-11d1-a7d3-0000f87571e3} not
registered
003f:err:ole:CoGetClassObject no class object
{ea502722-a23d-11d1-a7d3-0000f87571e3} could be created for context 0x1
003f:Ret ole32.CoCreateInstance() retval=80040154 ret=008d881a
003f:Call user32.MessageBoxA(00000000,00b2e1e8 "CoCreateInstance \n Error code:
154",00901348 "Get ServerPolicy failed",00000000) ret=008d8eee
--- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/aa374235%28v=VS.85%29.aspx
Here is a blog entry which talks about it, with some code example:
http://magicmao.wordpress.com/2011/08/05/changing-group-policy-by-c-coding/
$ wine --version
wine-1.7.13-118-g0eb6265
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38066
Bug ID: 38066
Summary: Memento Mori (Numen: Contest of Heroes): mouse buttons
don't work (needs native dinput8)
Product: Wine
Version: 1.7.36
Hardware: x86
URL: http://www.4players.de/4players.php/download_info/Down
loads/Download/50673/Memento_Mori/Deutsche_Demo.html
OS: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: directx-dinput
Assignee: wine-bugs(a)winehq.org
Reporter: gyebro69(a)gmail.com
Distribution: ---
Created attachment 50710
--> https://bugs.winehq.org/attachment.cgi?id=50710
terminal output
Keyboard is working in the game because I can skip the intro videos by pressing
<Esc> and I can move the mouse pointer when the menu appears. Mouse buttons
however are not registered thus I can't select a menu option.
'winetricks dinput8' is a workaround.
I know of another game from the same publisher that also needs native dinput8
otherwise mouse buttons don't work: Numen: Contest of Heroes.
To test the demo you need to install native d3dx9_36 and Windows Media Player 9
or 10.
wine-1.7.36-28-ga679cae
Fedora 21
XOrg 1.16.3
XFCE 4.10
Memento_Mori_DEMO_setup_GERMAN.exe
md5sum: 8eda283807d43ad2a058c397efde7725
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35320
Bug ID: 35320
Summary: wine crash in MSVCRT__mbstowcs_l regarding locale, &
other minor locale related problems
Product: Wine
Version: 1.7.10
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcrt
Assignee: wine-bugs(a)winehq.org
Reporter: htl10(a)users.sourceforge.net
Classification: Unclassified
Created attachment 47106
--> http://bugs.winehq.org/attachment.cgi?id=47106
The file needed to cause the crash.
from r project (http://www.r-project.org/)
http://cran.ma.imperial.ac.uk/bin/windows/base/R-2.15.3-win.exe
After installing, running:
./wine ~/.wine/drive_c/Program\ Files/R/R-2.15.3/bin/R.exe
Then, at the R console prompt, type (having put the attached file at /tmp/1.R):
Sys.setlocale("LC_CTYPE", "Chinese")
source('z:/tmp/1.R', encoding='UTF8')
wine immediately crashes with:
--------------------------------------
wine: Unhandled page fault on read access to 0x00000000 at address 0x7eda29af
(thread 0030), starting debugger...
...
Backtrace:
=>0 0x7eda29af MSVCRT__mbstowcs_l+0x5f(wcstr=<couldn't compute location>,
mbstr=<couldn't compute location>, count=<couldn't compute location>,
locale=<couldn't compute location>)
[/home/Nobak-Hin-Tak/tmp-git/wine/dlls/msvcrt/mbcs.c:2140] in msvcrt
(0x0440a168)
1 0x7eda2b06 MSVCRT_mbstowcs+0x35(wcstr="as a &Metafile CTRL+W",
mbstr=0x0(nil), count=0x64)
[/home/Nobak-Hin-Tak/tmp-git/wine/dlls/msvcrt/mbcs.c:2161] in msvcrt
(0x0440a198)
2 0x6355b525 in rgraphapp (+0x1b524) (0x00030046)
0x7eda29af MSVCRT__mbstowcs_l+0x5f
[/home/Nobak-Hin-Tak/tmp-git/wine/dlls/msvcrt/mbcs.c:2140] in msvcrt: movzbl
0x0(%eax),%eax
2140 if(mbstr[size] == '\0')
...
----------------------------------------
I assume this info in the backtrace should be enough to address the crash.
FYI, the slightly unusual procedure is because under R under Vista in an
English locale doesn't like to plot graphs with non-latin annotations/texts.
The above procedure when used under Vista on British English windows would
result in R displaying an almost empty plot with a chinese title. Native R on
linux does not need the setlocale part to plot utf8-based texts.
Also R on Vista accepts 'Sys.setlocale("LC_CTYPE", "Chinese_China.950")'. I
only realized that trying to set traditional chinese [950] in a simplified
chinese region [china] is wrong when it is rejected on linux; but R on Vista
accepts this.
------------
Warning message:
In Sys.setlocale("LC_CTYPE", "Chinese_China.950") :
OS reports request to set locale to "Chinese_China.950" cannot be honored
------------
When R is running on Vista, it reports the locale as "English_United
Kingdom.1252".
But under Linux (in en_GB.utf8 locale), R warns of
-----------
During startup - Warning messages:
1: Setting LC_TIME=en_GB.utf8 failed
2: Setting LC_MONETARY=en_GB.utf8 failed
-----------
So three locale related issue:
- a crash in msvcrt
- R under Vista accepts "Chinese_China.950" but R under wine does not.
- there are locale-related warning messages from R on start up when running
under wine.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38402
Bug ID: 38402
Summary: glDebugMessageCallback is broken
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: opengl
Assignee: wine-bugs(a)winehq.org
Reporter: chris.kcat(a)gmail.com
Distribution: ---
According to the KHR_debug extension spec, the function glDebugMessageCallback
takes a function pointer callback with the type:
typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const GLchar* message,
const void* userParam);
https://www.opengl.org/registry/specs/KHR/debug.txt
In particular, it notes that the function callback uses the same calling
convention as the other GL functions. The problem is that on Windows, GL uses
the stdcall calling convention, while on Linux it uses cdecl. Wine's
glDebugMessageCallback thunk passes the callback through as-is, so the system's
libGL tries to call an stdcall function as though it was cdecl, causing it to
crash upon returning.
Another problem is that the spec says:
"When DEBUG_OUTPUT_SYNCHRONOUS is disabled, the driver is optionally allowed to
concurrently call the debug callback routine from potentially multiple threads,
including threads that the context that generated the message is not currently
bound to."
meaning the callback can be called on threads other than the one OpenGL is
being used on. This is a problem because it may be called on one or more
internal driver threads that were not created using the Windows API, and if the
callback function tries to do anything that relies on Windows-related thread
information, it won't be there.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35504
Bug ID: 35504
Summary: LibreOffice installation creates two wrong files
Product: Wine
Version: 1.7.10
Hardware: x86
URL: http://sourceforge.net/projects/libreoffice.mirror/fil
es/LibreOffice%204.2.0/LibreOffice_4.2.0_Win_x86.msi/d
ownload
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msi
Assignee: wine-bugs(a)winehq.org
Reporter: t.artem(a)mailcity.com
Classification: Unclassified
After installing LibreOffice_4.2.0_Win_x86.msi in Wine two illicit files can be
found:
C:\Win\System\msvcp100.dll
C:\Win\System\msvcr100.dll
$ sha1sum LibreOffice_4.2.0_Win_x86.msi
0c306a717aff4499b0abe2d2e3caaa63c62dfa0a LibreOffice_4.2.0_Win_x86.msi
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20104
Summary: Fujiprint/Fotokasten albums cannot be created due to
missing richtext query interface
Product: Wine
Version: 1.1.29
Platform: PC
URL: http://www.fotokasten.de/index.php?ftkPage=static&ftkV
iew=ftksoftware
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: richedit
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: cweiske(a)cweiske.de
Running the "fotokasten" photo album creation software fails to create certain
photo books with the following error:
> fixme:richedit:fnTextSrv_QueryInterface Unknown interface:
> {01c25500-4268-11d1-883a-3c8b00c10000}
> fixme:richedit:fnTextSrv_OnTxInplaceDeactivate 0x3a1e8e0: STUB
How to reproduce:
1. Run software
2. Click on tab "Fotobücher"
3. Click on "Fotobücher" icon
4. Click on "Fun"
5. Click on "Fun A4"
6. A loading window appears but is hidden soon after.
When using Fotobücher->Fotobücher->Soft->A4, the richtext window has not to be
shown, and I get to the next window (meaning it works without richtext).
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10913
Summary: start.exe doesn't support optional process title
argument
Product: Wine
Version: CVS/GIT
Platform: Other
URL: http://jedit.org
OS/Version: other
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: wine-programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Running real Java apps under the latest Sun win32 JRE on Wine
seems like a fine stress test, even though in many
cases users should run with the Linux JRE instead.
The Sun JRE and jEdit install ok, but jedit has many startup problems.
Here's the first one.
Invoking it with the batch file provided by jEdit fails.
Here's what's in the batch file:
start "jEdit startup" "c:\windows\system32\javaw.exe" -Xms64M -Xmx192M -jar
"C:\Program Files\jEdit\jedit.jar" -reuseview %*
And here's what happens when you run it:
$ cd ~/.wine/drive_c/Program Files/jEdit
$ ~/wine-git/wine cmd /c jedit.bat
fixme:exec:SHELL_execute flags ignored: 0x00000500
trace:process:CreateProcessW app (null) cmdline L"jEdit startup
c:\\windows\\system32\\javaw.exe -Xms64M -Xmx192M -jar \"C:\\Program
Files\\jEdit\\jedit.jar\" -reuseview"
trace:process:find_exe_file looking for L"jEdit"
trace:process:find_exe_file Trying native exe
L"c:\\windows\\system32\\jEdit.exe"
...
trace:process:find_exe_file Trying built-in exe L"c:\\windows\\system32\\jEdit
startup.exe"
...
trace:process:find_exe_file looking for L"jEdit startup
c:\\windows\\system32\\javaw.exe -Xms64M -Xmx192M -jar \"C:\\Program
Files\\jEdit\\jedit.jar\" -reuseview"
Application could not be started, or no application associated with the
specified file.
ShellExecuteEx failed: File not found
So it seems that start takes an optional process title argument.
Sure enough,
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en…
documents it.
Who knew?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31644
Bug #: 31644
Summary: glMapBufferRange is extremely slow while playing
Resident Evil 5 ( happens only on nvidia binary driver
)
Product: Wine
Version: 1.5.12
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: tizbac2(a)gmail.com
Classification: Unclassified
Calls to glMapBufferRange are extremely slow on nvidia drivers with resident
evil 5, if this should be reported to nvidia instead just close it
over 90% of frame time is taken by glMapBufferRange
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38488
Bug ID: 38488
Summary: Wrong taces in functions *_invalidate_location
Product: Wine
Version: 1.7.41
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: isakov-sl(a)bk.ru
Distribution: ---
I got a plenty of messages like
fixme:d3d:wined3d_debug_location Unrecognized location flag(s) 0xfffffc00.
fixme:d3d:wined3d_debug_location Unrecognized location flag(s) 0xfffffc00.
fixme:d3d:wined3d_debug_location Unrecognized location flag(s) 0xfffffc00.
fixme:d3d:wined3d_debug_location Unrecognized location flag(s) 0xfffffc00.
It rises because the function wined3d_volume_invalidate_location() is used
with reversed parameter
For example dlls/wined3d/device.c:
wined3d_volume_invalidate_location(dst_volume, ~WINED3D_LOCATION_TEXTURE_RGB);
The function assumed location and not ~location.
-----
void wined3d_volume_invalidate_location(struct wined3d_volume *volume, DWORD
location)
{
TRACE("Volume %p, clearing %s.\n", volume,
wined3d_debug_location(location));
volume->locations &= ~location;
TRACE("new location flags are %s.\n",
wined3d_debug_location(volume->locations));
}
-----
Here wined3d_debug_location() will message like above.
Same about wined3d_resource_invalidate_location(struct wined3d_resource
*resource, DWORD location)
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18496
Summary: BREW simulator always shows a black display
Product: Wine
Version: 1.1.21
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: jon.dufresne(a)gmail.com
Tested with wine-1.1.21
I am attempting to use the Qualcomm BREW simulator under wine. After
installing, I attempted to run the example applets. The application launches
and I am able to select an applet directory, but the simulated device's screen
always shows black and not the usual list of icons that represent available
applets.
The BREW simulator installer is found here:
https://brewx.qualcomm.com/bws/content/gi/products/sdk/3.1/en/3.1.5.179/ins…
Steps to reproduce:
1. Download and install BREW SDK simulator
2. Run simulator
3. Use menu to selec "File->Change Applet Dir..."
4. Navigate to c:/Program Files/BREW 3.1.5/sdk/examples/
5. Hit "OK"
6. Notice screen is black
Expected results:
Under windows, the BREW simulator will show a listing of the available BREW
applets (one for each *.mif file in the directory chosen). This list appears as
a series of icons inside the device's display area.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15703
Summary: LEGO Star Wars controller options
Product: Wine
Version: 1.1.6
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: infernux(a)web.de
Going to "Controller Options" freezes the game, pressing "Esc" does not make it
playable again.
I don't know what other information / logs would be helpful, if you need
anything specific just say so.
This only affects the _first_ of the two games - but the 2nd seems to have a
different input system anyway (requires xinpit1_2.dll for example).
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19777
Summary: Ad Astra game runs very slow glBlitFramebuffer
Product: Wine
Version: 1.1.26
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: chrisyate+wine(a)gmail.com
CC: chrisyate+wine(a)gmail.com
Ad Astra is a free space flight sim available at www.a-astra.com.
The game runs (as in starts) successfully, with a clean .wine prefix folder.
However once it enters 3D mode the disk starts to grind, wine spits out lots of
fixmes and the program runs slowly with fps around 3, max maybe 5. The
following is output, over and over until you stop the game.
<quote>
fixme:d3d:stretch_rect_fbo >>>>>>>>>>>>>>>>>
GL_INVALID_FRAMEBUFFER_OPERATION_EXT (0x506) from glBlitFramebuffer() @
device.c / 6532
fixme:d3d:state_ckeyblend Render state WINED3DRS_COLORKEYBLENDENABLE not
implemented yet (repeated 6 times)...
</quote>
My System is Athlon XP2400+, a NVidia 6200 clone (the Zotac with 256Mb), 1.5Gb
ram. Unfortunately I can't confirm whether it would work on my machine if I
was running Windows natively. Any other info, please ask.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21023
Summary: SetupDiOpenDevRegKey() returns wrong HKEY
Product: Wine
Version: 1.1.34
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: setupapi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mdealencar(a)gmail.com
Created an attachment (id=25222)
--> (http://bugs.winehq.org/attachment.cgi?id=25222)
bug example
In a Windows XP system SetupDiOpenDevRegKey() returns the "Device Parameters"
HKEY under the device instance corresponding to the supplied (DeviceInfoSet,
&DeviceInfoData) pair.
Wine's SetupDiOpenDevRegKey() returns the device instance HKEY instead.
The relevant registry keys are not created by Wine, so I had to import them
from a Windows XP system
Example:
Windows HKEY returned corresponds to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_0451&Pid_6951\5&5a20206&0&1\Device
Parameters
Wine HKEY returned corresponds to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_0451&Pid_6951\5&5a20206&0&1
The attached registry patches and source code enable the reproduction of the
bug.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.