All the news that fits, we print.
This is the 337 issue of the Wine Weekly News publication. Its main goal is to explain some updates from this weeks 0.9.52 release. It also serves to inform you of what's going on around Wine. Wine is an open source implementation of the Windows API on top of X and Unix. Think of it as a Windows compatibility layer. Wine does not require Microsoft Windows, as it is a completely alternative implementation consisting of 100% Microsoft-free code, but it can optionally use native system DLLs if they are available. You can find more info at www.winehq.org
This week, 100 posts consumed 131 K. There were 41 different contributors. 21 (51%) posted more than once. 22 (53%) posted last week too. The top 5 posters of the week were:
|
News: Wine 0.9.52 Released | Archive | |
---|---|---|
Wine Release
Wine 0.9.52 release with some noteworthy fixes (more on these further in this WWN). But first, the Julliard short log: This is release 0.9.52 of Wine, a free implementation of Windows on Unix. What's new in this release: - Improved graphics tablet support. - Support for RPC context handles. - Fixes for some longstanding screen depth issues. - Implementation of "My Network Places" shell folder. - Lots of bug fixes. Tablet support and the screen depth issues will be covered in more detail in this issue of the WWN. |
Bug #2680 (24/32 bit depth reporting) Fixed | Archive | |
---|---|---|
Bit Depth
"Wine Bug #2680: Wine should report 32bit color depth instead of 24bit" Colors are stored by the computers with different formats and different numbers of bits (1s and 0s) per color and per pixel (bpp). There also exists the concept of "bit depth" which is the total number of bits actually used for the RGB colors. The problem is that often times a bit depth of 24 bits (8 bits per color) will often be reported as 32 BPP because its actually stored as 32 bits. The extra 8 bits are sometimes used for alpha data. X naturally reports 16/24 bit depth, even though sometimes it uses 32 bits. 24 bits is the actual amount of data stored and is what X reports. Windows apps however, often expect a bpp of 32 to be reported. This would seem like a simple fix, just report 32 whenever we have 24 set. However throughout the GDI code there was an assumption that bpp == depth. This has only recently been fixed by Stefan Dösinger allowing the reporting change to go through; fixing the bug. Huzzah!
I sent a patch that should fix those issues, and it was committed today. Can
you try it with current git? I do NOT mean 0.9.51, this is one commit wave
older, but the current git code from today.
Thus far I havn't seen any (regressions) however this fix was just published with Wine 0.9.52. So we'll keep an eye out! |
Tablet Pen/Eraser/Pressure support | Archive | |
---|---|---|
wintab.dll
Jeremy White has done a lot of work recently to restore support for tablet input within wine. His biggest test bed was in Photoshop, and getting all the different kinds of input working correctly in there. After what must have been at least 30 patches he writes in with the following summary of progress of wintab.dll.
Hi Folks,
1. We should strip out devices like mice and such. Otherwise, anyone with more than 1 mouse is going to appear to have a tablet with 1 cursor. A simple exclusion of devices without 'Wacom' or stylus/cursor/eraser in either their name or type should suffice. .. Finally, from a 'big picture' perspective, wintab.dll could really use some serious love. Further, it's a fairly straight forward process. This would make a really good beginner project. You just need a tablet, mostly. I think the appropriate next step is for someone to write a comprehensive tablet test utility, to run both on Windows and to compare under Wine. That's the next step imho. Jeremy was also gracious enough to go through the previous wintab.dll todo list and check off the fixed issues
> *No eraser. Haven't yet cracked what enables the eraser. Should be fixed. ... > ***In Photoshop 6. > *Can only get tablet data in desktop mode: This is because the tablet > context is attached to the desktop. Which generates/receives no wine > events outside desktop mode. > * Eraser and pen pressure working. *But* to get them working, you must > have 3 XInput devices listed in your XF86Config file, They need to be > the last entries in the "ServerLayout" section and the following order ... This should be fixed. > 1. Improve configuration of wintab. > ... > 4. Unicodify Done, I think. > 2. How Painter detects the eraser. > Have 3 possibilities > i. Windows can detect an eraser, and sends specific messages. > (I'm sure I've seen this, but can't work out where!) > ii. Only works if tablet and cursors are named correctly. > (Probably linked to wacom tablets only). > iii. I've missed something It's all the cursor number; 0 is 'puck', 1 is 'stylus', and 2 is 'eraser'. Cheers, Jeremy White |
Wine as root and SOCK_RAW | Archive | |
---|---|---|
ICMP
ICMP , Internet Control Message Protocol, is built into the Linux Kernel and is used in part by WINE. For most things there is no trouble using ICMP as a normal user (hence things like ping can mostly be run by everybody). However, you'll notice certain internet actions (such as ping -f, flood) require super-user privileges as they could be used for malicious purposes. Inevitably some windows applications will require a normal usage of ICMP and hence will not need access to the parts of ICMP that require superuser (in particular, SOCK_RAW ) and some will need these privileges. This results in some unfortunate users being yelled at to run WINE as root: I tried to update the Ocean application as outlined in bug 8332 and got a message from the console stating I needed to be running as root for ICMP to work.
I should re-iterate before I continue, it is NOT
recommended to ever run WINE as root. The policy of only giving privileges as necessary is important. So to be clear: we strongly recommend against running Wine as root. But you sometimes need to run Wine as root in order to do certain things on Linux, e.g. open raw sockets. The solution: don't run applications that want to do those things, or take it up with the Linux kernel developers. Now if that were the end of the story, this wouldn't be a very helpful WWN article now would it? Saulius Krasuckas has written in with some solutions (mostly involving patching the kernel) to this problem that don't require you to run wine as root.
Well, there are already patches which modifies it in one way or another.
I refer to "man 7 capabilities" or web resources [1]-[3]. Some of
approaches may be abandoned already, but I see recent discussion [4] on
this and by [5] I judge SELinux already can handle this task.
|
Game slowdowns? GLSL and ARB Shaders | Archive | |
---|---|---|
Speeding up older games
On some games you may have noticed some slowdowns since wine 0.9.49. If you recall, as highlighted by WWN 333, it was in this release that wine now uses GLSL shaders by default (the regkey UseGLSL = enabled by default). GLSL shaders allow for the use of modern shading techniques which is needed for many more modern games. However, GLSL shaders have some added complexity in compiling/linking and can be slower than ARB. WINE devs will continue to mature and speed up the GLSL code, however for games which have experienced slowdowns with GLSL enabled that don't need modern shading effects it may be wise to set UseGLSL = disabled for improved performance. |
AppDB Application Status Changes | Archive | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AppDB
*Disclaimer: This list of changes is automatically generated by information entered into the AppDB. These results are subject to the opinions of the users submitting application reviews. The WINE community does not guarantee that even though an application may be upgraded to 'Gold' or 'Platinum' in this list, that you will have the same experience and would provide a similar rating.
Updates by App Maintainers
Updates by the Public
|
All Kernel Cousin issues and summaries are copyright their original authors, and distributed
under the terms of the
GNU General Public License,
version 2.0.