hybrid-power script missing eDP panel support
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]
ProcVersionSign
Uname: Linux 3.11.0-15-generic x86_64
NonfreeKernelMo
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
PackageArchitec
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)
Please try the package in precise-proposed. It already contains the fix.