Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-26-11, 09:23 AM   #1
cova
Registered User
 
Join Date: Mar 2005
Posts: 25
Default Laptop, dual monitor, twinview: no easy way out

Hy guys, after searching, googling and trying several thigs I guess I need some help, even a link to some useful documentation (that I've not read ) will be most welcome.
Problem:
I'm using a HPElitebook 8440p with NVIDIA GPU NVS 3100M , nvidia drivers 270.41.03, X.Org X Server 1.10.1 (with queue patch to avoid lockups), gentoo 64bit platform.
I usually have two different monitors attached (different resolution) but often I have to disconnect one monitor and use the laptop with only his LCD or attach it to a different monitor.
Right now I'm using twinview option and all works fine, besides the fact that I'm unable, no matter what, to tell xorg to rescan and/or be aware of a monitor change, unless I restart xorg. As you can understand this is pretty cumbersome.
I don't require any auto detection when a monitor is detected or disconnected; I've tried to activate HP WMI to detect fn+f4 (monitor output), activated acpid and placed
Option "EnableACPIHotkeys" "true" but I'm unable to tell xorg to rescan or twinview to manage properly a monitor change situation. I could be enough to find a command or something else that could be scripted and activated by some key combination, but so far I've had no success.
right now my configuration is the following, that allows me to work fine (laptop LCD is the primary monitor, otherwise the toolbar management becomes a nightmare) once I have monitor connected at x startup.
I'll be glad to anyone able to give me some hints on how to sort this out, it is really annoyng. I know that this topic has been discussed a lot but I failed to find a solution, no matter how hard I tried.


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Option "Xinerama" "0"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/xorg-x11/extensions/"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVS 3100M"
Option "AllowDDCCI" "true"
Option "RegistryDwords" "EnableBrightnessControl=1"
Option "EnableACPIHotkeys" "true"
Option "DPMS" "FALSE"
EndSection


Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-3"
Option "metamodes" "CRT: nvidia-auto-select +1600+0, DFP: nvidia-auto-select +0+0"
Option "DPI" "96 x 96"
SubSection "Display"
Depth 24
EndSubSection
EndSection
cova is offline   Reply With Quote
Old 04-26-11, 09:50 AM   #2
jolan
Registered User
 
Join Date: Apr 2011
Posts: 3
Default Re: Laptop, dual monitor, twinview: no easy way out

Hi,

Unfortunately the binary drivers don't support XRandR 1.2 which is needed for monitor hotplugging support.
jolan is offline   Reply With Quote
Old 04-27-11, 01:45 AM   #3
cova
Registered User
 
Join Date: Mar 2005
Posts: 25
Default Re: Laptop, dual monitor, twinview: no easy way out

Quote:
Originally Posted by jolan View Post
Hi,

Unfortunately the binary drivers don't support XRandR 1.2 which is needed for monitor hotplugging support.
Ouch. This means "no monitor hotplugging on nvidia linux laptop"? Seems quite incredible... no workarounds/tricks or whatever?
I can't believe that in Nvidia someone can really think that is acceptable.

Right now I'm using nouveau, works for me: it's way from perfect ant it's slow, but at least it has monitor hotplugging....
cova is offline   Reply With Quote
Old 04-27-11, 04:30 AM   #4
ppurka
Registered User
 
Join Date: May 2005
Posts: 39
Default Re: Laptop, dual monitor, twinview: no easy way out

Why don't you use disper ( http://willem.engen.nl/projects/disper/ )? Launch it when the acpi event (Fn+F4) occurs. That would be a scriptable solution.

Monitor hotplugging is very much allowed, as long as you have DynamicTwinview active (by default it is active). If you use the GUI nvidia-settings, then also you should be able to dynamically (de-)activate any attached monitor.

Oh yes, in my usage, till date I haven't missed anything from xrandr-1.2 while using nvidia-drivers.
ppurka is offline   Reply With Quote
Old 04-27-11, 07:27 AM   #5
cova
Registered User
 
Join Date: Mar 2005
Posts: 25
Default Re: Laptop, dual monitor, twinview: no easy way out

Quote:
Originally Posted by ppurka View Post
Why don't you use disper ( http://willem.engen.nl/projects/disper/ )? Launch it when the acpi event (Fn+F4) occurs. That would be a scriptable solution.

Monitor hotplugging is very much allowed, as long as you have DynamicTwinview active (by default it is active). If you use the GUI nvidia-settings, then also you should be able to dynamically (de-)activate any attached monitor.

Oh yes, in my usage, till date I haven't missed anything from xrandr-1.2 while using nvidia-drivers.
Many thanks for the hint, I'll try that. Basically, since I have DynamicTwinView active, I should be able to switch without using xrandr, If I read correctly.
I'll give also a try to disper: many thanks for the help.
cova is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:06 PM.


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