hybrid-power script missing eDP panel support

Bug #1272871 reported by Erno Kuusela
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-prime (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

Last missing piece (after hacking around kernel issues) for me in getting hybrid graphics working was to change this line in the hybrid-power script to
match my eDP panel:

lvds=$(xrandr | grep -i "lvds" | head -n1 |cut -d " " -f 1)

the eDP line for me is
eDP-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm

I changed it to read
lvds=$(xrandr | egrep -i "lvds|edp" | head -n1 |cut -d " " -f 1)

maybe a more conservative regexp is more appropriate like " edp-[+-9]" to reduce possibility of false negatives.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: nvidia-prime 0.4.2~hybrid0.0.1 [modified: sbin/hybrid-power]
ProcVersionSignature: Ubuntu 3.11.0-15.23~precise1-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Sun Jan 26 12:17:36 2014
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nvidia-prime
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Erno Kuusela (erno-iki) wrote :
Revision history for this message
Alberto Milone (albertomilone) wrote :

Please try the package in precise-proposed. It already contains the fix.

Changed in nvidia-prime (Ubuntu):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.