I want to help fix wine, but how do I go about fixing a bug?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Ron
Level 1
Level 1
Posts: 7
Joined: Wed Mar 19, 2008 2:24 pm

I want to help fix wine, but how do I go about fixing a bug?

Post by Ron »

I want to help fix wine, but how do I go about fixing a bug?

I tried looking through the development section, but I wasn't sure how to do it. If say I found that when I ran a program under Wine, it showed me a certain error which was:
fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: pixel format conversion
Then what is a quick summary of how to fix it? Thank you.
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

I want to help fix wine, but how do I go about fixing a bug?

Post by L. Rahyen »

On Sunday April 6 2008 12:09:23 Ron wrote:
I want to help fix wine, but how do I go about fixing a bug?

I tried looking through the development section, but I wasn't sure how to do
it. If say I found that when I ran a program under Wine, it showed me a
certain error which was:
fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: pixel
format conversion
Then what is a quick summary of how to fix it? Thank you.
This isn't an error. And in fact in *most* cases fixmes aren't errors and
should be ignored.
In this case WINE just telling you that X11DRV_ClientSideDIBCopy in bitblt
might be faster after some optimizations in the implementation so if
performance in this function isn't important for your application you should
ignore this message.
Real error (which needs to be fixed) is when behavior of Windows program on
WINE is different than on Windows. And this is what needs to be fixed.
If you just want to help WINE Project it is good idea to start from some kind
Janitorial task or look into existing bugs ( http://bugs.winehq.org ) - maybe
you find one you can fix yourself by sending a patch to wine-patches.
Few tips: if you didn't get any feedback on your patch and it wasn't accepted
after 1-2 commit waves - ask on wine-devel why. If still no answer - just
resend it, maybe it is good but just was lost. If someone find problem(s) in
your patch - fix it and resend. In other words, sometimes patch can be
accepted quickly, sometimes after many tries.
Alternatively, you can try to find problems with applications you are using
and file bug reports - this also will help WINE Project even if you cannot
fix these problems yourself.
DARKGuy
Level 2
Level 2
Posts: 35
Joined: Mon Mar 31, 2008 8:16 pm

I want to help fix wine, but how do I go about fixing a bug?

Post by DARKGuy »

I don't have much idea but according to the error you'd have to look
at the functions related to bitblt and ClientSideDIBCopy...

On Mon, Apr 7, 2008 at 7:39 AM, Ron <[email protected]> wrote:
I want to help fix wine, but how do I go about fixing a bug?

I tried looking through the development section, but I wasn't sure how to do it. If say I found that when I ran a program under Wine, it showed me a certain error which was:
fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: pixel format conversion
Then what is a quick summary of how to fix it? Thank you.




Ron
Level 1
Level 1
Posts: 7
Joined: Wed Mar 19, 2008 2:24 pm

Post by Ron »

I just meant in general, how would one go about fixing a problem in Wine?

I read the Wine development section and it said something about debugging the program and using winedbg, but I didn't find it very clear. I have some experience in computer science, so I do know a little bit, but I just don't understand how to tweak Wine's code to fix a certain error or fixme or whatever.

Any help would be appreciated as I would like to help very badly! :)
Dan Kegel

I want to help fix wine, but how do I go about fixing a bug?

Post by Dan Kegel »

On Mon, Apr 7, 2008 at 6:18 PM, Ron <[email protected]> wrote:
I have some experience in computer science, so I do know a
little bit, but I just don't understand how to tweak Wine's
code to fix a certain error or fixme or whatever.
Sorry, you have to figure that out on your own.

I would start by looking for conformance tests that
fail on Windows, and figuring out why.
- Dan
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Ron wrote:I just meant in general, how would one go about fixing a problem in Wine?

I read the Wine development section and it said something about debugging the program and using winedbg, but I didn't find it very clear. I have some experience in computer science, so I do know a little bit, but I just don't understand how to tweak Wine's code to fix a certain error or fixme or whatever.

Any help would be appreciated as I would like to help very badly! :)
At the minimum you'll need to know C and win32api.
Then before fixing something you need to find what the problem is...
Locked