Public bug reported:

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)

** Affects: nvidia-prime (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise running-unity

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-prime in Ubuntu.
https://bugs.launchpad.net/bugs/1272871

Title:
  hybrid-power script missing eDP panel support

Status in “nvidia-prime” package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1272871/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to