Shearing in screenshots of DirectX?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
IBBoard
Level 1
Level 1
Posts: 7
Joined: Fri Mar 21, 2008 5:20 am

Shearing in screenshots of DirectX?

Post by IBBoard »

I'm trying to take screenshots of the Dawn of War game through Wine. The game runs fine and under Windows it has a built-in screenshot function that dumps a JPEG to a sub-folder.

Under Wine the game never gets the print screen request because Compiz or Metacity hijack the signal first and start Gnome-Screenshot. Sometimes the screenshot is okay, but other times the screenshot has shearing/artifacting it in, presumably because the trooper in the game moved before the screenshot app could copy the whole image buffer.

If I change the key bindings so that nothing is intercepting the print screen then I do get a screenshot in the folder as expected, but it is pure black and so isn't very useful.

Is there any way to get screenshots from DirectX games under Wine that doesn't involve repeatedly taking the screenshot until I get one without shearing?

If it makes a difference I've got a Radeon X800XL with the latest official FGLRX drivers installed and I'm running 0.9.56 from the Fedora repos on F8.

Thanks.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Shearing in screenshots of DirectX?

Post by vitamin »

IBBoard wrote:I'm trying to take screenshots of the Dawn of War game through Wine. The game runs fine and under Windows it has a built-in screenshot function that dumps a JPEG to a sub-folder.

Under Wine the game never gets the print screen request because Compiz or Metacity hijack the signal first and start Gnome-Screenshot. Sometimes the screenshot is okay, but other times the screenshot has shearing/artifacting it in, presumably because the trooper in the game moved before the screenshot app could copy the whole image buffer.

If I change the key bindings so that nothing is intercepting the print screen then I do get a screenshot in the folder as expected, but it is pure black and so isn't very useful.

Is there any way to get screenshots from DirectX games under Wine that doesn't involve repeatedly taking the screenshot until I get one without shearing?

If it makes a difference I've got a Radeon X800XL with the latest official FGLRX drivers installed and I'm running 0.9.56 from the Fedora repos on F8.

Thanks.
Please file a bug about this. This problem been fixed long time ago for all the games I've tried. However this is with nvidia card and no compiz. Try disabling beryl/compiz before running Wine.
IBBoard
Level 1
Level 1
Posts: 7
Joined: Fri Mar 21, 2008 5:20 am

Post by IBBoard »

Okay, will do.

As for disabling compiz, I have tried dropping back to Metacity and I'm fairly sure it still did it. I'll run another few tests just to make sure. The only other potential problem is that because I'm using the newer FGLRX drivers then I'm also using AIGLX. I'm not sure if that'll have an effect or not.
IBBoard
Level 1
Level 1
Posts: 7
Joined: Fri Mar 21, 2008 5:20 am

Post by IBBoard »

Locked