displaytoggle with nvidia twinview?

View: New views
3 Messages — Rating Filter:   Alert me  

displaytoggle with nvidia twinview?

by Jason alavaliant :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've got a computer with nvidia graphic cards with two monitors connected.   They are configured using nvidia twinview rather than as separate X devices.

I'm trying to configure things so that I can press a button and switch stylus between the monitors.    I've tried setting things like

xsetwacom set stylus Button2 DISPLAYTOGGLE

However pressing the button then doesn't seem to do anything.


If I reconfigure the computer to an xorg.conf that treats each head on the video card as a separate X display device the same option works.

Is there something else I need to set to make displaytoggling work when using twinview or is it just not supported?


Setting
xsetwacom set stylus Screen_No 0
or
xsetwacom set stylus Screen_No 1

does have the expected effect of locking the stylus to the named screen so the wacom driver does seem aware of the two separate displays in twinview at this level atleast.


Any help appreciated.

Thanks
-J

p.s.   I've tried several versions of linuxwacom including 0.8.4-2 all with the same result.        Distro is kubuntu 7.04 with a custom 2.6.29 kernel, nvidia drivers 177.82, 185.18.36 tried if that makes any difference.

p.p.s.   If anybody is wondering why I don't just reconfigure everything to use seperate twinview devices there are several issues which would make it a non ideal setup.   Including that the computer I'm testing on is one of 800 company computers that would all need x reconfigured if we went to seperate x display devices instead of twinview.





------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Re: displaytoggle with nvidia twinview?

by Ping@LinuxWacom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi  Jason,
 
Did you add "Twinview" and "TVResolution" to your Wacom driver option?
 
Option "Twinview" "horizontal"|"vertical"|"leftof"|"aboveof"
                   |"xinerama"|"none"
                   sets the  orientation of  TwinView to map the tablet to one
                   screen  and to be able to  move the screen  cursor from one
                   screen  to the  other  when tool  reaches  the  edge of the
                   tablet.  The cursor can be constrained in a specific screen
                   if  "ScreenNo"  option is  added.   If you  want to map the
                   tablet  to the  whole  desktop,   you  should  NOT add this
                   option. The default is "none". Note: due to historic reason,
                   "horizontal"   represents  the   "RightOf"  and  "vertical"
                   represents the "BelowOf" in acutal TwinView setup.

               Option "TVResolution" "res0,res1"
                   specifies  different  resolutions  for the  two  screens in
                   TwinView setup.  For example, if the resolution of screen 0
                   (res0) is 1024x768 and screen 1 (res1) is 1280x1024, the
                   option will be set to:
                            Option "TVResolution" "1024x768,1280x1024"

                   This option is used  only when TwinView option is not none.
   It is  unnecessary to add this  option if  your screens are
                   displaying in the same resolutions.

http://linuxwacom.sourceforge.net/index.php/howto/xsetwacom
TwinView      none|xinerama|vertical |horizontal|leftof   |aboveof
                                                        sets the mapping to TwinView. Tablet mappings applied after
                                                                     this command will be based on the new tablet orientation.
   TVResolution0 width x height           sets MetaModes option for TwinView Screen 0.
   TVResolution1 width x height           sets MetaModes option for TwinView Screen 1.
Ping
On Fri, Sep 18, 2009 at 1:29 AM, Jason alavaliant <alavaliant@...> wrote:
I've got a computer with nvidia graphic cards with two monitors connected.   They are configured using nvidia twinview rather than as separate X devices.

I'm trying to configure things so that I can press a button and switch stylus between the monitors.    I've tried setting things like

xsetwacom set stylus Button2 DISPLAYTOGGLE

However pressing the button then doesn't seem to do anything.


If I reconfigure the computer to an xorg.conf that treats each head on the video card as a separate X display device the same option works.

Is there something else I need to set to make displaytoggling work when using twinview or is it just not supported?


Setting
xsetwacom set stylus Screen_No 0
or
xsetwacom set stylus Screen_No 1

does have the expected effect of locking the stylus to the named screen so the wacom driver does seem aware of the two separate displays in twinview at this level atleast.


Any help appreciated.

Thanks
-J

p.s.   I've tried several versions of linuxwacom including 0.8.4-2 all with the same result.        Distro is kubuntu 7.04 with a custom 2.6.29 kernel, nvidia drivers 177.82, 185.18.36 tried if that makes any difference.

p.p.s.   If anybody is wondering why I don't just reconfigure everything to use seperate twinview devices there are several issues which would make it a non ideal setup.   Including that the computer I'm testing on is one of 800 company computers that would all need x reconfigured if we went to seperate x display devices instead of twinview.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Re: displaytoggle with nvidia twinview?

by Jason alavaliant :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've tried both with TwinView and TVResolution set and with them both not set.

Neither seemed to have any effect on displaytoggle working.


Twinview correctly works on 0.8.4 mapping to one screen at a time with the correct screen mapping.

incidentally there seems to be some regression with nvidia twinview and the twinview option with 0.8.4-2  when I tried it using the 'horizontal' option the screen got split vertically instead...

-J


On Sat, Sep 19, 2009 at 3:35 AM, Ping <pinglinux@...> wrote:
Hi  Jason,
 
Did you add "Twinview" and "TVResolution" to your Wacom driver option?
 
Option "Twinview" "horizontal"|"vertical"|"leftof"|"aboveof"
                   |"xinerama"|"none"
                   sets the  orientation of  TwinView to map the tablet to one
                   screen  and to be able to  move the screen  cursor from one
                   screen  to the  other  when tool  reaches  the  edge of the
                   tablet.  The cursor can be constrained in a specific screen
                   if  "ScreenNo"  option is  added.   If you  want to map the
                   tablet  to the  whole  desktop,   you  should  NOT add this
                   option. The default is "none". Note: due to historic reason,
                   "horizontal"   represents  the   "RightOf"  and  "vertical"
                   represents the "BelowOf" in acutal TwinView setup.

               Option "TVResolution" "res0,res1"
                   specifies  different  resolutions  for the  two  screens in
                   TwinView setup.  For example, if the resolution of screen 0
                   (res0) is 1024x768 and screen 1 (res1) is 1280x1024, the
                   option will be set to:
                            Option "TVResolution" "1024x768,1280x1024"

                   This option is used  only when TwinView option is not none.
   It is  unnecessary to add this  option if  your screens are
                   displaying in the same resolutions.

http://linuxwacom.sourceforge.net/index.php/howto/xsetwacom
TwinView      none|xinerama|vertical |horizontal|leftof   |aboveof
                                                        sets the mapping to TwinView. Tablet mappings applied after
                                                                     this command will be based on the new tablet orientation.
   TVResolution0 width x height           sets MetaModes option for TwinView Screen 0.
   TVResolution1 width x height           sets MetaModes option for TwinView Screen 1.
Ping
On Fri, Sep 18, 2009 at 1:29 AM, Jason alavaliant <alavaliant@...> wrote:
I've got a computer with nvidia graphic cards with two monitors connected.   They are configured using nvidia twinview rather than as separate X devices.

I'm trying to configure things so that I can press a button and switch stylus between the monitors.    I've tried setting things like

xsetwacom set stylus Button2 DISPLAYTOGGLE

However pressing the button then doesn't seem to do anything.


If I reconfigure the computer to an xorg.conf that treats each head on the video card as a separate X display device the same option works.

Is there something else I need to set to make displaytoggling work when using twinview or is it just not supported?


Setting
xsetwacom set stylus Screen_No 0
or
xsetwacom set stylus Screen_No 1

does have the expected effect of locking the stylus to the named screen so the wacom driver does seem aware of the two separate displays in twinview at this level atleast.


Any help appreciated.

Thanks
-J

p.s.   I've tried several versions of linuxwacom including 0.8.4-2 all with the same result.        Distro is kubuntu 7.04 with a custom 2.6.29 kernel, nvidia drivers 177.82, 185.18.36 tried if that makes any difference.

p.p.s.   If anybody is wondering why I don't just reconfigure everything to use seperate twinview devices there are several issues which would make it a non ideal setup.   Including that the computer I'm testing on is one of 800 company computers that would all need x reconfigured if we went to seperate x display devices instead of twinview.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss