FMV / ,bik videos at 1fps, but gameplay at 20-30fps

Questions about Wine on Linux
Locked
avi448
Newbie
Newbie
Posts: 4
Joined: Sat May 30, 2015 3:33 pm

FMV / ,bik videos at 1fps, but gameplay at 20-30fps

Post by avi448 »

Hi there, this is my first post here, and i wanted to dedicate it to something that has been annoying me for quite some time now.

I have 2 games... Prince of Persia Sands of Time , and Prince of Persia Warrior Within.

In Sands of Time, every, and i mean it, EVERY pre-generated video ( .bik ) WILL go at 1-3fps, no matter what. Yet, during GamePlay the game goes at 20-30fps. This doesn't make sense no matter where you look at it, good thing you can skip the videos :lol: . However...

In Warrior Within, i have the very same problem, but it takes a turn to the worst, unlike Sands of Time, Warrior Within WILL crash after the "Loading Screen" and i think it is because of this. If i disable GLSL, the game won't crash, BUT the videos problems WILL persist, and there will be graphical glitches around everywhere and when i start playing, the full screen will be gray except the health indicator and some texts on-screen.

I've searched nearly all over internet, yet i don't find any solution for this, neither someone with the same problem.

If it helps, i use Wine under Manjaro Linux 32bits, i've tried with Play On Linux and Wine 1.3.3 , 1.3.4 , 1.7.42 stagging.... and such.

Thoughs on this?
avi448
Newbie
Newbie
Posts: 4
Joined: Sat May 30, 2015 3:33 pm

Re: FMV / ,bik videos at 1fps, but gameplay at 20-30fps

Post by avi448 »

someone, please :/
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: FMV / ,bik videos at 1fps, but gameplay at 20-30fps

Post by dimesio »

PlayOnLinux and wine-staging aren't supported here. Post terminal output from plain Wine 1.7.44.
avi448
Newbie
Newbie
Posts: 4
Joined: Sat May 30, 2015 3:33 pm

Re: FMV / ,bik videos at 1fps, but gameplay at 20-30fps

Post by avi448 »

Terminal output for Warrior Within:
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16B16A16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:win:EnumDisplayDevicesW ((null),0,0x32df04,0x00000000), stub!
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16B16A16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:win:EnumDisplayDevicesW ((null),0,0x32dd24,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16B16A16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:win:EnumDisplayDevicesW ((null),0,0x32ded4,0x00000000), stub!
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16B16A16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:win:EnumDisplayDevicesW ((null),0,0x32dcf4,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16B16A16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:win:EnumDisplayDevicesW ((null),0,0x32eba4,0x00000000), stub!
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16B16A16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:win:EnumDisplayDevicesW ((null),0,0x32e924,0x00000000), stub!
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16B16A16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:win:EnumDisplayDevicesW ((null),0,0x33f644,0x00000000), stub!
err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (655), rejected
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
err:xvidmode:ComputeGammaFromRamp low-biased gamma ramp (655), rejected

( and then after the "Loading Screen" the game closes )
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: FMV / ,bik videos at 1fps, but gameplay at 20-30fps

Post by lahmbi5678 »

Which graphics card or integrated chipset graphics do you have? It sounds like you have an older onboard graphics.

Do you have 3D acceleration in linux games? If you run "glxinfo | grep direct", you should see a line reading "direct rendering: YES". If you own an amd or nvidia graphics card/chipset, you could try the proprietary drivers (or the opensource one's, if you haven't installed them). With really old chipsets and proprietary amd/nvidia drivers you may run into other issues, as there are only legacy drivers from amd/nvidia.

There's a bug in wine's bugzilla with similar fixmes, https://bugs.winehq.org/show_bug.cgi?id=34871 .

This is just a guess, but a workaround could be to to set offscreen rendering to backbuffer, the simplest way to do that is to run "winetricks settings", look for orm=backbuffer, click it, click Ok and exit winetricks. If it works, it will still be slower than running under windows. In my opinion this is a bug/shortcoming in wine.
avi448
Newbie
Newbie
Posts: 4
Joined: Sat May 30, 2015 3:33 pm

Re: FMV / ,bik videos at 1fps, but gameplay at 20-30fps

Post by avi448 »

thanks for helping, unfortunaly, setting offscreen rendering to backbuffer didn't work. :/

i don't know which graphic card i have, or if it is integrated. I think it is an Intel but i don't recall which Intel was. My laptop is an Acer Aspire 5920. If that helps you.

I checked with " glxinfo | grep direct " and i do have 3D acceleration.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: FMV / ,bik videos at 1fps, but gameplay at 20-30fps

Post by lahmbi5678 »

To find out which graphics chip you have, you can use glxinfo and search for "OpenGL vendor" and "OpenGL renderer". You can also use "lspci", for more information see http://askubuntu.com/questions/72766/ho ... phics-card .

One last thing you could check is the color depth of your system and what the game expects. the linux Xservers usually run in 24bit color depth (which is equivalent to 32bit color depth under windows). To find the color depth you can use e.g. nvidia-settings (if you have nvidia hardware) or run "xwininfo" in a terminal, which will show some data (as said before, "depth:24, Truecolor" is equivalent to 32bit under windows). In the game's options dialogue you should find choices like 1280*1024*16 or 1280*1024*32.

If this doesn't help, then there's probably not much we can do for you atm. My recommendation would be to file a bug (that will help wine in the long run) and hope that a wine developer will pick it up. If you want to play the game right now, use different hardware or dualboot.

kind regards,
Locked