nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   twinview+play a game ?! = impossible ? (http://www.nvnews.net/vbulletin/showthread.php?t=11386)

stronger_faster 05-07-03 12:41 PM

twinview+play a game ?! = impossible ?
 
hi,

i have configured twin view, all works good

exept : games and mplayer

the problem is they run on the two screen at the same time

first screen is 1024*768 and slave is 640*480 (dont support more :( )

i like to use the second screen to survey some logs or chats


what can i do to have a game workin in fullscreen on first display same for mplayer ?

i have tested without twinview (two xscreen section etc) the problem is that use all my memory and gnome is slow

i have best perf with twinview ...


any idea plz ?? :)

stronger_faster 05-07-03 12:42 PM

debian SID
gnome 2.2
kernel 2.4.20

FluoDude 09-04-03 09:28 AM

me 2
 
I have same problem, I switch config filles , but I am looking for a more proffesional sollution.

Mandrake 9.2 rc1
geforce 4200

an other problem I have is no sound in my game (army ops) I do in XMMS , and I don't run my Gnome sound server
when the game starts I hear a verry short static on
my speakers

modules.conf :

probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-ohci ehci-hcd usb-uhci
alias eth0 8139too
#alias sound-slot-0 snd-via82xx
#above snd-via82xx snd-pcm-oss
alias /dev/nvidia* nvidia

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias sound-slot-0 snd-via82xx
above snd-via82xx snd-pcm-oss

alien999999999 09-04-03 12:28 PM

did you mean you use xinerama?

better not use xinerama,

xine (video-player) has some configuration with xinerama...

dittohead 09-04-03 01:32 PM

The problem is rooted in the way twinview works.

Because twinview fools your os into thinking it's just a double wide screen (in my case 2560x1024) Any applications that load would span both monitors, without really knowing you're running twin monitors.

So twinview fakes standard xinerama hints to your window manager and to apps. However certain apps are coded to over ride certain window manager hints, which in turn can either make the app work correctly, or incorrectly.

Blender for example is coded to hint the WM to get rid of borders and to go full screen. It works great for my purpose of dual screens.

Mplayer or full screen games get the impression from X that you've got one double wide screen, so the app nests it's self in the center of the two screens, thinking that it's only one. This is a feature believe it or not, but it's rotten one if you've got two screens.

Mplayer for example runs full screen borderless across both screens.

As of right now, the only thing you can do is create a seperate config file, or seperate layout and just restart your x-server everytime you want to play a game, or watch something.

It's quite a pain, but there's currently no way to have an app communitate with the drivers to say it wants to be on one screen, not both.

alien999999999 09-04-03 02:24 PM

does xinerama give you the ability to work a screen seperatly?

and can you not get a metamode like this? : "1024x768,1024x768;1024x768,null" for example

then just by pressing CTRL-ALT-KP_PLUS you'd go single-monitor and can play games on one screen...? (maybe you'd need the randr extension, I'm not sure)


All times are GMT -5. The time now is 08:45 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.