[Bug 1098] Neverwinter Nights is slow

Wine Bugs wine-bugs at winehq.com
Wed Jun 25 15:21:11 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1098





------- Additional Comments From z_god at wanadoo.nl  2003-25-06 15:21 -------
Bug comments restored from Gmane.org: 
 
When running a game (Neverwinter Nights or even NIVDIA's (windows) Treemark) 
with the following options: 
--debugmsg +x11drv 
I get the following line error: 
warn:x11drv:X11DRV_XF86DGA2_Init disabling XF86DGA2 (insufficient 
permissions?) 
 
I have set all permissions to /dev/mem completely open and added myself to the 
"mem" user group (and set back the original rights to /dev/mem, when doing the 
latter). 
So there should be sufficient permissions. 
 
Searching in the internet gave only one other reference 
(http://cwrulug.cwru.edu/pipermail/sigunix/2002-August/001065.html) 
to this 
problem, but there was no answer to the problem. I emailed that person but I 
didn't recieve a reply yet. 
So I hope somebody here can solve this bug. 
 
I took the following steps to install all things needed: 
 
I use Mandrake 9.0 with XFree86 4.2.1 . 
I have installed all Mesa-packages. After that I installed NVIDIA's 1.0-3123 
drivers for my Geforce2 MX400 and made changes in XF86Config-4. 
I enabled Alsa. 
And I simply compiled Wine20021007 (downloaded tarball from 
http://source.winehq.org/source/ANNOUNCE). 
 
 
------- Additional Comments From johane <at> lysator.liu.se  2002-11-29 03:08 ------- 
I have this with the same XFree86 version, but I use Slackware. 
The q is, is it Wine or us? I haven't checked here yet, but can you run any DGA 
programs, like mplayer in DGA mode? 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-11-29 10:34 ------- 
Ok, running as root doesn't give this problems. (But doesn't make my 
NeverwinterNights faster ;(  ) 
 
But chmod-ding the devices 
mem, kmem, nvidia0 and nvidiactl 
to 777 doesn't help. 
To where does wine want more permissions? 
 
 
------- Additional Comments From johane <at> lysator.liu.se  2002-12-02 07:51 ------- 
Could you give your XFree86 start log?  It should be in /var/log. I have 
forgotten the exact name, but you should recognise it when you see it. 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-12-07 15:08 ------- 
Created an attachment (id=346)
 --> (http://bugs.winehq.com/attachment.cgi?id=346&action=view) 
my XFree86 start log 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-12-07 15:13 ------- 
I added my latest xfree86 log file: 
 12/07/02 15:08 my XFree86 start log   (text/plain) 
 
I did look at it too, but couldn't find any. 
Thanks for the help. 
 
But the problem is, it probably doesn't have anything to do with XFree86. 
Since running as root doesn't give the DGA2-problem. 
But I still have the problem with a slow running game, but not a slow running 
NVidia-Treemark. 
 
 
------- Additional Comments From andi <at> rhlx01.fht-esslingen.de  2002-12-07 15:44 
------- 
In Linux 2.4, you need to be *root* to access /dev/(k)mem (and thus use DGA). 
Simply giving proper user permissions does NOT suffice :-(( 
(I really wonder who changed this behaviour for 2.4, and why the hell they were 
thinking it's better...) 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-12-09 11:42 ------- 
Ok, thanks Andreas. 
I use winesetuptk to change the configuration of my wine. 
I tested the speed differences with DGA2, running as root, and without, running 
as  user even choosing for "X shared memory" or none of them. 
There were no speed differences. 
 
Johan if you also wanted to find out why my Neverwinter Nights might be so slow, 
please go on. But if its about the DGA2 problem, then close this bug. 
 
Thanks anyway! 
 
 
------- Additional Comments From johane <at> lysator.liu.se  2002-12-12 05:06 ------- 
Could you describe the 'feel' of Neverwinter Nights and give a ddraw debug output? 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-12-13 04:06 ------- 
I assume I can get a ddraw debug output by running wine with 
--debugmsg +ddraw 
But I don't get the command 
wine nwn.exe --debugmsg +ddraw 
to output into a file. I tried "| file" and "> file". But it doesn't work, I 
did 
it once, but it took me quite a while to succeed. 
Could you tell me how to do this? 
 
Ok about the 'feel'. 
As soon as the game starts (loaded a savegame) then the sound is allright and 
the graphics look fine. 
But I only get about 1 frame per 1-5 seconds. 
And giving commands to my character doesn't really work if you don't know which 
object is currently selected. I use hardware mouse, so I know where I click, 
because the mousecursor moves allright. 
 
 
------- Additional Comments From johane <at> lysator.liu.se  2002-12-13 07:08 ------- 
If you run bash you can use 2>filename. 
 
The output of glxinfo before running the game would also be interesting. 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-12-13 10:08 ------- 
Created an attachment (id=357)
 --> (http://bugs.winehq.com/attachment.cgi?id=357&action=view) 
output of glxinfo 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-12-13 10:09 ------- 
Created an attachment (id=358)
 --> (http://bugs.winehq.com/attachment.cgi?id=358&action=view) 
output of running game in wine with "--debugmsg +ddraw" 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-12-13 10:14 ------- 
Hmm, I might have been wrong about performance of the game. 
This time for the first I observed that sound seems to go in steps too, together 
with the update of the view. 
The background music goes fine though. 
 
 
 
Ps. 
What are you planning to do about the ""DGA not accessable in newer kernels""? 
Not that I found any speeddifferences. 
 
 
------- Additional Comments From andi <at> rhlx01.fht-esslingen.de  2002-12-13 11:53 
------- 
Hmm, direct rendering is enabled, so it's not a graphics setup problem. 
 
 
------- Additional Comments From johane <at> lysator.liu.se  2002-12-16 06:51 ------- 
Hmm. Please do --debugmsg=+ddraw,+opengl,+d3d 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-12-16 17:18 ------- 
Created an attachment (id=361)
 --> (http://bugs.winehq.com/attachment.cgi?id=361&action=view) 
--debugmsg=+ddraw,+opengl,+d3d  unpacked 55MB! 
 
 
------- Additional Comments From b_enny <at> hotmail.com  2002-12-16 17:22 ------- 
Boy, have fun with that!; 55MB plain text when unpacked... (2.5 MB zipped) 
I hope the mime-type is right. application/zip was also a possibility, but I 
simply choose the binary option. 
 
It seems a Linux Client for NeverwinterNights will be out in a month or so. 
So I won't need wine anymore. But the problem still exists. 
Very 'hmm' indeed. 

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list