View previous topic :: View next topic |
Author |
Message |
Nicias Guru
Joined: 06 Dec 2005 Posts: 446
|
Posted: Wed Sep 03, 2014 2:19 pm Post subject: bumblebee laptop and external monitor |
|
|
I have an Asus UL30vt laptop with nvidia/intel hybrid graphics. I have bumblebee working fine. I am thinking of getting an external monitor and I want to determine if the HDMI and/or VGA ports are connected to the nvidia chip or the intel chip. How can I determine this without actually plugging one in? |
|
Back to top |
|
|
dweezil-n0xad Apprentice
Joined: 30 Oct 2006 Posts: 156 Location: Ostend, Belgium
|
Posted: Wed Sep 03, 2014 8:53 pm Post subject: |
|
|
On my Asus N56VV-S4069H laptop, the HDMI-port is wired to the Intel chip and I can extend the desktop on my external monitor.
I don't know how to determine this without actually plugging one in. Do you have /sys/class/drm/card0-HDMI-A-1 or /sys/class/drm/card0-VGA-A-1 on your system? _________________ i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD |
|
Back to top |
|
|
Nicias Guru
Joined: 06 Dec 2005 Posts: 446
|
Posted: Thu Sep 04, 2014 1:08 am Post subject: |
|
|
I have Code: | $ ls /sys/class/drm
card0 card0-DP-1 card0-LVDS-1 card0-VGA-1 controlD64 version |
Looking at the ports on the side of my machine I see VGA, HDMI, no DP. Maybe the HDMI is port is being driven by DP hardware? In any case this looks promising. Any other way to investigate? If I do plug it in, how do I check to see if it works? |
|
Back to top |
|
|
dweezil-n0xad Apprentice
Joined: 30 Oct 2006 Posts: 156 Location: Ostend, Belgium
|
Posted: Thu Sep 04, 2014 9:45 am Post subject: |
|
|
My system also only has a VGA and HDMI port.
Code: | $ ls /sys/class/drm
card0 card0-DP-1 card0-HDMI-A-1 card0-LVDS-1 card0-VGA-1 controlD64 version | I have not tested the VGA output
Run x11-apps/xrandr after you plug in the HDMI-cable to see if it's detected. my output:
Code: | $ xrandr
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
LVDS1 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
344mm x 194mm
1920x1080 60.0*+
1400x1050 60.0
1280x1024 60.0
1280x960 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis)
527mm x 296mm
1920x1080 60.0*+ 50.0 59.9
1920x1080i 60.1 50.0 60.0
1600x1200 60.0
1600x900 60.0
1280x1024 75.0 60.0
1152x864 75.0
1280x720 60.0 50.0 59.9
1440x576i 50.1
1024x768 75.1 60.0
1440x480i 60.1 60.1
800x600 75.0 60.3
720x576 50.0
720x480 60.0 59.9
640x480 75.0 60.0 59.9
720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis) |
When I boot my laptop or start X with the HDMI-cable plugged-in, the external monitor shows a copy of the laptop monitor.
In X or when I plug in the HDMI-cable I run this script:
Code: | #!/bin/sh
xrandr --output LVDS1 --mode 1920x1080 --pos 0x0 --output HDMI1 --mode 1920x1080 --pos 1920x0
xinput set-prop 11 261 5 | This creates a 3840x1080 desktop. The xinput line slows down the touchpad (source). Increasing the Constant Deceleration works best for me.
I also use this script to turn off the external monitor and reset the touchpad speed.
Code: | #!/bin/sh
xrandr --output HDMI1 --off
xinput set-prop 11 261 2.5 |
_________________ i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD |
|
Back to top |
|
|
|