No Video in Video Game

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
yedidyah
Level 1
Level 1
Posts: 7
Joined: Sat Mar 28, 2009 10:11 am

No Video in Video Game

Post by yedidyah »

I am installing the original Stronghold Crusader when I install it using wine all seems to go well until I actually start the game then when the aspect ratio changes for the game there is no video but from what I can hear when I move my mouse everything else seems to be responding normally.

I thought it might be related to the nVidia drivers that were installed by the "hardware drivers manager" so I downloaded the current drivers from nVidia but have not installed them yet as I have to do it outside of X and I am not sure how to do that or if it is even necessary.

Is it a video card driver issue or something that can be adjusted in wine?

I am using Kubuntu Hardy Heron.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: No Video in Video Game

Post by vitamin »

yedidyah wrote:I am installing the original Stronghold Crusader when I install it using wine all seems to go well until I actually start the game then when the aspect ratio changes for the game there is no video but from what I can hear when I move my mouse everything else seems to be responding normally.
Make sure you have required video mode available.
Run 'xrandr' and verify it lists all video modes your game needs.
yedidyah
Level 1
Level 1
Posts: 7
Joined: Sat Mar 28, 2009 10:11 am

Post by yedidyah »

Thank you this is what was listed in xrandr

Screen 0: minimum 320 x 240, current 800 x 600, maximum 1024 x 768
default connected 800x600+0+0 0mm x 0mm
1024x768 50.0 51.0 52.0
832x624 53.0
800x600 54.0* 55.0 56.0 57.0
720x450 58.0
640x480 59.0 60.0 61.0 62.0
640x400 63.0
640x384 64.0
576x384 65.0
512x384 66.0 67.0 68.0
416x312 69.0
400x300 70.0 71.0 72.0 73.0
320x240 74.0 75.0 76.0

I am not sure how to test to see what the game requires.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

yedidyah wrote:I am not sure how to test to see what the game requires.
Most likely because 600x800 and above don't list 60Hz modes. This indicates you have not disable twinview in nvidia drivers.
yedidyah
Level 1
Level 1
Posts: 7
Joined: Sat Mar 28, 2009 10:11 am

Post by yedidyah »

I went to
Kmenu > System settings > Monitor & Display > Administrator mode and under the size, orientation & positioning tab the "second screen" box is not checked.
but under the hardware tab it shows 2 monitors:

Monitor #1: Plug 'n' play
Role: Primary (1)

Monitor #2: <unkown>
Role: Secondary (2)

There doesn't seem to be an option to disable twinview.

Thanks for your help and time.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

yedidyah wrote:There doesn't seem to be an option to disable twinview.
It is in xorg.conf:
Option "DynamicTwinView" "FALSE"
yedidyah
Level 1
Level 1
Posts: 7
Joined: Sat Mar 28, 2009 10:11 am

Post by yedidyah »

thank you friend for all your help
here is the contents of my xorg.conf file I listed it because I am not finding the dynamictwinview option:
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

yedidyah wrote:thank you friend for all your help
here is the contents of my xorg.conf file I listed it because I am not finding the dynamictwinview option:
Then add it.
yedidyah
Level 1
Level 1
Posts: 7
Joined: Sat Mar 28, 2009 10:11 am

Post by yedidyah »

Okay vitamin I got it thanks.
yedidyah
Level 1
Level 1
Posts: 7
Joined: Sat Mar 28, 2009 10:11 am

Post by yedidyah »

Okay what ultimately happened here is I followed vitamin's directions and added
Option "DynamicTwinView" "FALSE"

to the xorg.conf file
This worked for a while then I adjusted something in wine under the "graphics" tab. I clicked "emulate a virtual desktop", because my game was still not running right, then I put my desktop size to 1024x768.

Things went fine for a couple of days then when X started it wouldn't get out of 640X480. So I had to use my live disk and replace my xorg.conf file with one that I know worked (from my previous mistake above) that does not include:

Option "DynamicTwinView" "FALSE"

Now everything is back to normal so far.
I appreciate your assistance in this vitamin thank you. I am very grateful for all the work you guys at wine have been doing.
Locked