I can't select Intel (power saving mode)

Bug #1274733 reported by Giorgio Dramis
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
screen-resolution-extra (Ubuntu)
Fix Released
High
Alberto Milone

Bug Description

I have a laptop ASUS K53SD with Ubuntu 14.04 LTS with an Nvidia 610M with Optimus technology and an Intel Core i7-2670QM. I have installed nvidia-331-updates and nvidia-prime. The problem is that when i select in Nvidia X Server Settings the Intel (power saving mode) i recive this answer:

Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
     return self.get_name_owner(bus_name)
   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
     's', (bus_name,), **keywords)
   File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
     message, timeout)
 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'com.ubuntu.ScreenResolution.Mechanism': no such name

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "/usr/share/screen-resolution-extra/nvidia-prime.py", line 55, in <module>
     conf = get_prime_service()
   File "/usr/share/screen-resolution-extra/nvidia-prime.py", line 34, in get_prime_service
     service_object = dbus.SystemBus().get_object(SERVICE_NAME, OBJECT_PATH)
   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
     follow_name_owner_changes=follow_name_owner_changes)
   File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
     self._named_service = conn.activate_name_owner(bus_name)
   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
   File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
   File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1

Output of lspci -n

 00:00.0 0600: 8086:0104 (rev 09)
 00:01.0 0604: 8086:0101 (rev 09)
 00:02.0 0300: 8086:0116 (rev 09)
 00:16.0 0780: 8086:1c3a (rev 04)
 00:1a.0 0c03: 8086:1c2d (rev 05)
 00:1b.0 0403: 8086:1c20 (rev 05)
 00:1c.0 0604: 8086:1c10 (rev b5)
 00:1c.1 0604: 8086:1c12 (rev b5)
 00:1c.3 0604: 8086:1c16 (rev b5)
 00:1c.5 0604: 8086:1c1a (rev b5)
 00:1d.0 0c03: 8086:1c26 (rev 05)
 00:1f.0 0601: 8086:1c49 (rev 05)
 00:1f.2 0106: 8086:1c03 (rev 05)
 00:1f.3 0c05: 8086:1c22 (rev 05)
 01:00.0 0300: 10de:1058 (rev a1)
 03:00.0 0280: 8086:08ae
 04:00.0 0c03: 1b21:1042
 05:00.0 0200: 1969:1083 (rev c0)

prime-supported.log

 Laptop detected

nvidia-prime-upstart.log

 No bbswitch can be found 1st attempt
 Configuring xorg.conf
 Configuring alternatives
 Info: the nvidia profile is already in use

prime-switch.log

 Configuring xorg.conf
 Configuring alternatives
 Enabling the NVIDIA card

The file prime-offload.log is not present.

Giorgio Dramis (jorged)
affects: nvidia-prime (Ubuntu) → nvidia-graphics-drivers-331-updates (Ubuntu)
Giorgio Dramis (jorged)
description: updated
Revision history for this message
Alberto Milone (albertomilone) wrote :

Can you still reproduce the problem?

Changed in nvidia-graphics-drivers-331-updates (Ubuntu):
status: New → Incomplete
Revision history for this message
Giorgio Dramis (jorged) wrote :

Yes, i can. Tell me about the informations that i must collect about the problem and in maximum 24 hours i give you a response.

Revision history for this message
Giorgio Dramis (jorged) wrote :

I don't know if this is relevant but i try nvidia-prime 5.0 with Ubuntu 12.04 LTS and Linux kernel 3.8 and i have the same resoults.

Revision history for this message
Alberto Milone (albertomilone) wrote :

Please attach the output of the following command:
lspci -n

and the following files:
/var/log/prime-supported.log
/var/log/prime-offload.log
/var/log/nvidia-prime-upstart.log
/var/log/prime-switch.log
/var/log/prime-supported.log

If attaching the files is a problem, you can install the pastebinit package ("sudo apt-get install pastebinit"), type "pastebinit name_of_the_file_to_attach" and post here the link that the command returns.

Giorgio Dramis (jorged)
Changed in nvidia-graphics-drivers-331-updates (Ubuntu):
status: Incomplete → New
summary: - Unity and Compiz don't start with nvidia-prime
+ Intel (power saving mode) does not work
description: updated
Revision history for this message
Giorgio Dramis (jorged) wrote : Re: Intel (power saving mode) does not work

I did a fresh install of Ubuntu 14.04 LTS and Unity and Compiz works with the nvidia graphics card but now i can't select the Intel graphic card. For not open a new bug i have modified this.

Giorgio Dramis (jorged)
summary: - Intel (power saving mode) does not work
+ I can't select Intel (power saving mode)
Revision history for this message
Alberto Milone (albertomilone) wrote :

Please attach the files that I requested (even though the problem seems different to you).

Changed in nvidia-graphics-drivers-331-updates (Ubuntu):
status: New → Incomplete
Giorgio Dramis (jorged)
description: updated
Revision history for this message
Giorgio Dramis (jorged) wrote :

I have attached the files that you asked my. If you need more information contact me.

Revision history for this message
Oláh Balázs (balazs-freedom) wrote :

Can't select Intel:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
    's', (bus_name,), **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'com.ubuntu.ScreenResolution.Mechanism': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/screen-resolution-extra/nvidia-prime.py", line 55, in <module>
    conf = get_prime_service()
  File "/usr/share/screen-resolution-extra/nvidia-prime.py", line 34, in get_prime_service
    service_object = dbus.SystemBus().get_object(SERVICE_NAME, OBJECT_PATH)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
 File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1

lspci -n
00:00.0 0600: 8086:0104 (rev 09)
00:01.0 0604: 8086:0101 (rev 09)
00:02.0 0300: 8086:0116 (rev 09)
00:16.0 0780: 8086:1c3a (rev 04)
00:1a.0 0c03: 8086:1c2d (rev 04)
00:1b.0 0403: 8086:1c20 (rev 04)
00:1c.0 0604: 8086:1c10 (rev b4)
00:1c.1 0604: 8086:1c12 (rev b4)
00:1c.3 0604: 8086:1c16 (rev b4)
00:1c.4 0604: 8086:1c18 (rev b4)
00:1c.7 0604: 8086:1c1e (rev b4)
00:1d.0 0c03: 8086:1c26 (rev 04)
00:1f.0 0601: 8086:1c4b (rev 04)
00:1f.2 0106: 8086:1c03 (rev 04)
00:1f.3 0c05: 8086:1c22 (rev 04)
01:00.0 0300: 10de:0df5 (rev a1)
01:00.1 0403: 10de:0bea (rev a1)
05:00.0 0200: 10ec:8136 (rev 05)
09:00.0 0280: 8086:008a (rev 34)
0b:00.0 0c03: 1033:0194 (rev 04)

/var/log/prime-supported.log:
Laptop detected

/var/log/prime-offload.log:
1

/var/log/nvidia-prime-upstart.log:
No bbswitch can be found 1st attempt
Configuring xorg.conf
Configuring alternatives
Info: the nvidia profile is already in use

/var/log/prime-switch.log:
1

Giorgio Dramis (jorged)
description: updated
Changed in screen-resolution-extra (Ubuntu):
status: New → Confirmed
Changed in screen-resolution-extra (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Alberto Milone (albertomilone)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package screen-resolution-extra - 0.17.1

---------------
screen-resolution-extra (0.17.1) trusty; urgency=low

  * screenresolution-mechanism:
    - Make sure that the mechanism uses python 3 (LP: #1274733).
    - Replace gobject with the gir libraries.
 -- Alberto Milone <email address hidden> Tue, 18 Feb 2014 13:08:10 +0100

Changed in screen-resolution-extra (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Giorgio Dramis (jorged) wrote :

Good Job! it works! But now i did a fresh install and I have the same situation of some weeks ago. Unity not works. I have open a new bug there with all information that you asked me at that time https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331-updates/+bug/1281759

PS: I know I'm getting annoying for you! I'm Sorry!

Revision history for this message
tehownt (tehownt) wrote :

I can confirm screen-resolution-extra 0.17.1 fixes the issue and that I'm now able to switch back to the Intel GPU. There is still some issue with nvidia wake from suspend that crashes X but this is reported as Bug 1220865.

Giorgio Dramis (jorged)
no longer affects: nvidia-graphics-drivers-331-updates (Ubuntu)
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.