openSUSE Forums > Hardware > Laptop » Laptop External Monitor Support

Go Back   openSUSE Forums > Hardware > Laptop
Forums FAQ Members List Search Today's Posts Mark Forums Read


Laptop Questions about laptop hardware and laptop specific software (power management )

Reply
Page 1 of 3 1 23
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-Oct-2009, 14:30
Puzzled Penguin
 
Join Date: Jul 2008
Posts: 13
jbhardman hasn't been rated much yet
Default Laptop External Monitor Support

I'm looking for suggestions on using openSUSE on my laptop. I work in an office and use an external monitor and my laptop screen 90% of the time. Usually about 3 - 4 times a day I have to take my laptop to go to a meeting. So, I unplug the monitor and off I go.

With linux, my system does not recognize that I have unplugged this extra monitor. The results are that anything I had on that extra monitor stay on that extra monitor, even though it's not there. Plus, I can mouse to the left and be controlling dead space.

Is there anyway to get linux to auto-detect that I have unplugged my external monitor and move all windows back to the laptop screen?

BTW, I have NVIDIA GeForce 9400M.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 16-Oct-2009, 17:22
Wise Penguin
 
Join Date: Jun 2008
Location: NZ
Posts: 1,849
deano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura about
Default Re: Laptop External Monitor Support

If you don't mind a simple manual approach, then consider using xrandr. I guess you could create a simple script with the required xrandr command. Then make that exectuable, and link it to an icon, so that clicking on it, executes it.

To get a list of display devices

xrandr -q

Based on the external display name (VGA for example), it should be able to issue a command like

xrandr --output VGA --off

This reference may be useful to you.
Reply With Quote
  #3 (permalink)  
Old 07-Nov-2009, 15:24
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,743
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Laptop External Monitor Support

Quote:
Originally Posted by deano_ferrari View Post
If you don't mind a simple manual approach, then consider using xrandr. .
Further to the link you provided, I stumbled across an old year 2007 explanation of this: XRandR – finally, simple monitor configuration for Linux « Adrian’s Thoughts

Back in 2007, only the open source Intel, Radeon, and nv drivers supported XRandR-1.2; neither the ATI nor the nVidia proproprietary drivers supported. Its now two years later and I'm curious as to its state. Do the proprietary drivers now support it?

3 months ago I did with with dual-head mode under sax2, which I made a note of here: Using external display and slide projector - openSUSE Forums

I have two days of meetings coming up in 5 weeks, with lots of presentations and myself having to coordinate/support most of it. Hence I'm keen to find out fairly soon as to the best approach for me to adopt. I'll probably have to take the laptop into work next week, and start playing around with a projector with it.

I like the xrandr approach, and I'm curious to see if it works with the proprietary fglrx driver.
Reply With Quote
  #4 (permalink)  
Old 09-Nov-2009, 14:12
Wise Penguin
 
Join Date: Jun 2008
Location: NZ
Posts: 1,849
deano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura about
Default Re: Laptop External Monitor Support

Quote:
Back in 2007, only the open source Intel, Radeon, and nv drivers supported XRandR-1.2; neither the ATI nor the nVidia proproprietary drivers supported. Its now two years later and I'm curious as to its state. Do the proprietary drivers now support it?
I'm no expert with xrandr, but I'm using the fglrx driver (with X300) chipset, and can change resolution on the fly with it, and it correctly reports various settings etc. I haven't tried dual monitor configuration with it, but I don't see why it wouldn't work.
Reply With Quote
  #5 (permalink)  
Old 09-Nov-2009, 14:27
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,743
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Laptop External Monitor Support

Quote:
Originally Posted by deano_ferrari View Post
I'm no expert with xrandr, but I'm using the fglrx driver (with X300) chipset, and can change resolution on the fly with it, and it correctly reports various settings etc. I haven't tried dual monitor configuration with it, but I don't see why it wouldn't work.
With your ATI X300, do you use xrandr to change resolution on the fly? Do you use aticonfig ? What ATI proprietary driver are you using? The ATI Catalyst™ 9.3 Proprietary Linux x86 Display Driver (as it is a legacy driver) ?

For my Radeon HD3450 in my Dell Studio 1537 laptop, I believe I currently have the ATI Catalyst™ 9.10 Proprietary Linux x86 Display Driver (released 22-Oct-2009) installed.
Reply With Quote
  #6 (permalink)  
Old 09-Nov-2009, 14:43
Wise Penguin
 
Join Date: Jun 2008
Location: NZ
Posts: 1,849
deano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura about
Default Re: Laptop External Monitor Support

Away from my laptop at the moment, but will report back later.
Reply With Quote
  #7 (permalink)  
Old 09-Nov-2009, 15:30
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,743
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Laptop External Monitor Support

Quote:
Originally Posted by oldcpu View Post
For my Radeon HD3450 in my Dell Studio 1537 laptop, I believe I currently have the ATI Catalyst™ 9.10 Proprietary Linux x86 Display Driver (released 22-Oct-2009) installed.
I'm fairly optimistic this driving an external monitor (a project in my case) will work well with this ATI Catalyst™ 9.10 Proprietary Linux x86 Display Driver .

The projector(s) are at work, so I need to take my laptop into the office. But I just typed "xrandr -q" and I obtained:
Code:
oldcpu@dell:~> xrandr -q
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 1440 x 1440
LCD connected 1440x900+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1440x900       60.0*+
   1152x864       60.0 +
   1280x768       60.0 +
   1280x720       60.0 +
   1024x768       60.0 +
   800x600        60.0 +
   720x480        60.0 +
   640x480        60.0 +
   640x400        60.0 +
   512x384        60.0 +
   400x300        60.0 +
   320x240        60.0 +
   320x200        60.0 +
DFP_EXTTMDS disconnected (normal left inverted right x axis y axis)
CRT1 disconnected (normal left inverted right x axis y axis)
and I also typed "aticonfig --query-monitor":
Code:
oldcpu@dell:~> aticonfig --query-monitor                                              
Error: option --query-monitor is not supported when RandR 1.2 is enabled!
which suggests to me on my 64-bit openSUSE-11.1 with KDE-4.3.2 that the /etc/X11/xorg.conf file that I have (which was created by sax2) is setup to use xrandr with this proprietary driver.

I'm hoping later this week, when I take the laptop to the office, that I can plug in the projector's VGA cable to the laptop, type:
xrandr -q
to confirm the VGA input of the projector is observed on "CRT1", and then hopefully only have to type:
xrandr --output CRT1 --auto
to enable the external output to the projector and
xrandr --output CRT1 --off
just before I remove the VGA connector to the external projector.
Reply With Quote
  #8 (permalink)  
Old 10-Nov-2009, 01:45
Wise Penguin
 
Join Date: Jun 2008
Location: NZ
Posts: 1,849
deano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura about
Default Re: Laptop External Monitor Support

Interested to see what results you get with xrandr oldcpu. You are clearly using newer hardware and drivers.

Quote:
With your ATI X300, do you use xrandr to change resolution on the fly?
I can do this ok, but thats about it. My laptop has an analog vga port. I note that my display devices are not uniquely reported with xrandr. Strangely, if I do 'xrandr -q' the external VGA device modes get added to my laptop display modes.

The driver packages (openSUSE 11.0) are

ati-fglrxG01-kmp-pae-8.593_2.6.25.20_0.5.1-14.1
x11-video-fglrxG01-8.593-14.1

Anyway, I have been using the Catalyst Control Centre (launched via 'amdcccle' command) to configure the second display. With this, my external display can be setup dynamically as a clone (default) or as part of a 'Big Desktop'. (BTW, I'm using KDE4, and it seems to work ok with these configurations).
Reply With Quote
  #9 (permalink)  
Old 10-Nov-2009, 03:22
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,743
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Laptop External Monitor Support

Quote:
Originally Posted by deano_ferrari View Post
Interested to see what results you get with xrandr oldcpu. You are clearly using newer hardware and drivers.
I may get the chance later today, as there is a very brief period this afternoon where the conference room (with the projector I wish to test against) will be available.

Quote:
Originally Posted by deano_ferrari View Post
Anyway, I have been using the Catalyst Control Centre (launched via 'amdcccle' command) to configure the second display. With this, my external display can be setup dynamically as a clone (default) or as part of a 'Big Desktop'. (BTW, I'm using KDE4, and it seems to work ok with these configurations).
I'm thinking the openSUSE wiki on ATI graphic hardware is in need of a major update to reflect the changes that have been made in openSUSE-11.2. Specifically:
  • xorg is moving away from requiring an /etc/X11/xorg.conf file. In fact in 11.2, for many PCs graphic hardware, that xorg.conf file is not needed. I believe words to that effect are needed in the wiki ...
  • references to sax2 need to be reconsidered. Is the /etc/X11/xorg.conf file that is created by sax2 to be preferred over the /etc/X11/xorg.conf file that can be created by the program aticonfig ? SuSE-GmbH made the decision NOT to include sax2 in YaST (although it is available via menu) which suggests they are moving away from sax2
  • an update for nVidia, ATI and Intel graphic hardware (and possibly some others) describing how to drive multiple monitors is needed, especially given the latest changes to openSUSE and to the openGL and proprietary drivers, needs to be created. For example, your post above was the first reference I had noted to amdcccle being a GUI program that allows detailed configuration over the ATI driver's controls. Surfing indicated "amdcccle" was indeed used by many - I especially obtained many hits by Ubuntu users struggling with it. I also note xrandr can be used in some cases, and the demarkation between the two (xrandr vs amdcccle) is very fuzzy to me.

Some old wiki, needing updating as of openSUSE-11.2:I suspect there are more graphic related wiki needing update
Reply With Quote
  #10 (permalink)  
Old 10-Nov-2009, 03:57
Wise Penguin
 
Join Date: Jun 2008
Location: NZ
Posts: 1,849
deano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura about
Default Re: Laptop External Monitor Support

I agree with you oldcpu.

Quote:
references to sax2 need to be reconsidered. Is the /etc/X11/xorg.conf file that is created by sax2 to be preferred over the /etc/X11/xorg.conf file that can be created by the program aticonfig ? SuSE-GmbH made the decision NOT to include sax2 in YaST (although it is available via menu) which suggests they are moving away from sax2
Yes, with the move towards automatic detection of hardware and X-server configuration, it looks like they are deprecating (or discouraging) the use of sax2. I guess it makes sense that where manual configuration is necessary. and proprietary drivers are used, then they are probably best configured with proprietary tools such as 'aticonfig' and 'amdcccle', but I wish the documentation was updated to cater for these changes.
Reply With Quote
Reply
Page 1 of 3 1 23

Bookmarks


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2