Poor performance after setcap

Questions about Wine on Linux
Locked
Metalgrid
Newbie
Newbie
Posts: 3
Joined: Thu May 16, 2013 4:59 pm

Poor performance after setcap

Post by Metalgrid »

Hello!
I'm using an application that sends pings along other stuff and it's working great after adding raw socket capabilities as instructed from the wiki.

Code: Select all

sudo setcap cap_net_raw+epi /usr/bin/wine-preloader
sudo setcap cap_net_raw+epi /usr/bin/wineserver
After issuing the above commands it works great, but for some strange reason the performance in World of Warcraft dropped down to a couple of FPS.
After removing the capabilities with

Code: Select all

sudo setcap cap_net_raw-epi /usr/bin/wine-preloader
sudo setcap cap_net_raw-epi /usr/bin/wineserver
the performance is back to the normal 60 FPS.

System info:

Code: Select all

Slackware64 14.1
wine-1.7.15 (self-built, Wine 64 enabled, apps are 32bit)
winetricks not used
Any hints on how to debug the issue are welcome. Thanks!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Poor performance after setcap

Post by dimesio »

Possibly related to this bug: http://bugs.winehq.org/show_bug.cgi?id=35291.
Locked