Skip to contentSkip to conversation

New: optimus don't use nouveau card

Bug 64746 [email protected] 1 participant 15 messages May 18, 2013 – May 13, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=64746

          Priority: medium
            Bug ID: 64746
          Assignee: [email protected]
           Summary: optimus don't use nouveau card
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: 9.1
         Component: Drivers/DRI/nouveau
           Product: Mesa

Created attachment 79507
--> https://bugs.freedesktop.org/attachment.cgi?id=79507&action=edit
dmesg

i have a lenovo s430 laptop it have a intel 4000 and nvidia GT 620M video card. in bios, optimus is selected.

when i start suse 12.3, nouveau card is never used, intel is used.

when i go in console, try to go back to my kde session... that crash and go back to kdm login.

in log i see

nouveau W[DRM] voltage table 0x50 unknown

[3.409915] nouveau  [DRM] 3: core 475MHz shader 950MHz memory 900MHz voltage

10mV

xorg.0.log file
http://fr.pastebin.ca/2378194

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-64746-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 64746] optimus don't use nouveau card

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #1 from Marc Collin <[email protected]> --- i tried to use vgaswitch

cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0

first i tried
init 3
echo "0000:00:02.0" /sys/kernel/debug/vgaswitcheroo/switch init 5

still intel video card used by glxgears -info

init 3
echo "0000:01:00.0" /sys/kernel/debug/vgaswitcheroo/switch init 5

still intel video card used by glxgears -info

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #2 from Marc Collin <[email protected]> --- Created attachment 79625
--> https://bugs.freedesktop.org/attachment.cgi?id=79625&action=edit
var log message when i'm tried vgaswitch

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #3 from Emil Velikov <[email protected]> --- Hi Marc

Can you attach your xorg.log, the link provided returns a 404

What is the output of

$ DRI_PRIME=1 glxinfo | grep render

Note that Optimus is a very "funny" case and your experience may vary depending on the connections between the GPUs and the outputs - special thanks goes to your laptop manufacturer :)

For further information take a look at our wiki [1]
[1] http://nouveau.freedesktop.org/wiki/Optimus/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #4 from Marc Collin <[email protected]> --- Created attachment 84183
--> https://bugs.freedesktop.org/attachment.cgi?id=84183&action=edit
Xorg file

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #5 from Marc Collin <[email protected]> --- DRI_PRIME=1 glxinfo | grep render

return nothing

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #6 from Emil Velikov <[email protected]> --- Hmm something unusual is happening here

* the var/messages does not indicate any writes to vgaswitcheroo/switch
* the Xorg.log still indicates that the intel card is setup and used as primary

So to get a better picture (including timeline) can you do the following

1. Toggle/switch to the nv card

$ cat /sys/kernel/debug/vgaswitcheroo/switch 
$ echo "0000:01:00.0" /sys/kernel/debug/vgaswitcheroo/switch

2. Confirm that the nv card is used (paste the output in your reply)

$ cat /sys/kernel/debug/vgaswitcheroo/switch 

3. Start X

$ init 5 #startx # systemd start {g,k,x}dm

and then attach the output of the following (plain text, please)

* dmesg
* Xorg.0.log
* LIBGL_DEBUG=verbose glxinfo
* LIBGL_DEBUG=verbose DRI_PRIME=1 glxinfo

Thanks

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #7 from Marc Collin <[email protected]> --- cat /sys/kernel/debug/vgaswitcheroo/switch
0:DIS: :Pwr:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0

don't seem switched?

i tried
echo DIS > /sys/kernel/debug/vgaswitcheroo/switch

but the screen get completly black...

so i switched back with
echo IGD > /sys/kernel/debug/vgaswitcheroo/switch

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #8 from Marc Collin <[email protected]> --- Created attachment 84911
--> https://bugs.freedesktop.org/attachment.cgi?id=84911&action=edit
dmesg august 2013

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #9 from Marc Collin <[email protected]> --- Created attachment 84912
--> https://bugs.freedesktop.org/attachment.cgi?id=84912&action=edit
glxinfo

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #10 from Marc Collin <[email protected]> --- Created attachment 84913
--> https://bugs.freedesktop.org/attachment.cgi?id=84913&action=edit
glxinfo_dri_prime

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #11 from Marc Collin <[email protected]> --- Created attachment 84914
--> https://bugs.freedesktop.org/attachment.cgi?id=84914&action=edit
xorg_0_log_august

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #12 from Emil Velikov <[email protected]> --- (In reply to comment #7)

Quoted 11 lines

cat /sys/kernel/debug/vgaswitcheroo/switch
0:DIS: :Pwr:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0

don't seem switched?

i tried
echo DIS > /sys/kernel/debug/vgaswitcheroo/switch

but the screen get completly black...

With "screen" I believe that you're talking about the laptop LVDS?

In that case it seems like the nv card is not wired to that output, thus you'll need to do the following

* forget about vgaswitcheroo
* Follow the instructions on our wiki [1]

[1] http://nouveau.freedesktop.org/wiki/Optimus/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#14 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

--- Comment #13 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Is this still an issue with newer kernels? (e.g. 3.13.x or newer)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#15 lore raw

[Bug 64746] optimus don't use nouveau card

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=64746

Tobias Klausmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Tobias Klausmann <[email protected]> --- (In reply to Ilia Mirkin from comment #13)

Quoted 1 line

Is this still an issue with newer kernels? (e.g. 3.13.x or newer)

no answer for a long time plus offloading works fine with newer version of the kernel today, so i assume this is fixed.

Feel free to reopen the bug if the problem persists...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau