New: Optimus with nouveau no longer works with xorg-server 1.16.1
https://bugs.freedesktop.org/show_bug.cgi?id=84932
Bug ID: 84932
Summary: Optimus with nouveau no longer works with xorg-server
1.16.1
Product: Mesa
Version: 10.2
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: [email protected]Created attachment 107736
--> https://bugs.freedesktop.org/attachment.cgi?id=107736&action=edit
dmesg
I have an optimus laptop with intel HD4000 and nvidia GTX 660M. With xorg-server 1.16.1 the GPU cannot be used. Replacing xorg-server with 1.15.1 version (and same version drivers) make it works again without making any other changes (even rebooting).
xrandr --listproviders
xrandr --setprovideroffloadsink nouveau Intel
DRI_PRIME=1 glxinfo | grep "OpenGL vendor string"
With 1.16 version:
Providers: number : 2
Provider 0: id: 0x88 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
4 outputs: 5 associated providers: 1 name:Intel
Provider 1: id: 0x5f cap: 0x5, Source Output, Source Offload crtcs: 0 outputs:
0 associated providers: 1 name:nouveau
OpenGL vendor string: Intel Open Source Technology Center
With 1.15 version:
Providers: number : 2
Provider 0: id: 0x88 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
4 outputs: 5 associated providers: 1 name:Intel
Provider 1: id: 0x5f cap: 0x5, Source Output, Source Offload crtcs: 0 outputs:
0 associated providers: 1 name:nouveau
OpenGL vendor string: nouveau
Software versions:
MesaLib-10.3.0
xf86-video-nouveau-1.0.11
libdrm-2.4.58
Linux version 3.16.5
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-84932-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
https://bugs.freedesktop.org/show_bug.cgi?id=84932
--- Comment #1 from dura <[email protected]> --- Created attachment 107737
--> https://bugs.freedesktop.org/attachment.cgi?id=107737&action=edit
xorg-server 1.15 log
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
[Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=84932
--- Comment #2 from dura <[email protected]> --- Created attachment 107738
--> https://bugs.freedesktop.org/attachment.cgi?id=107738&action=edit
xorg-server 1.16 log
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
[Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=84932
--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- You appear to have bbswtich referenced in your dmesg. Bumblebee is more likely to just mess things up, and adds nothing over the runtime pm functionality present in nouveau since 3.12 or so. [There are situations where that's not working for one reason or another, but this is the minority of situations.]
Do you have customized xorg.conf settings? If so, try moving them out of the way. (I notice that you're probably explicitly loading glamoregl -- no reason to do that, can only cause trouble...)
Probably the big difference between 1.15 and 1.16 is DRI3, perhaps something is going wrong there... you could either try a git xf86-video-intel ddx or disable DRI3 (either at build time or with Option "DRI" "2" in the driver section). However I'm moderately sure this has worked fine for others.
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
[Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=84932
--- Comment #4 from Tobias Klausmann <[email protected]> --- DRI3 does not work "out of the box", you'd need some work. But for now try disabling DRI3!
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
[Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=84932
--- Comment #5 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Looks like for prime + dri3 to work, you need render nodes. I thought they were enabled by default in 3.16, but that is not the case. You can enable them by adding "drm.rnodes=1" to the kernel cmdline. Or you can upgrade to 3.17.
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
[Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=84932
--- Comment #6 from dura <[email protected]> --- Upgrading to kernel 3.17, or booting 3.16 with drm.rnodes=1 do not make it work.
Recompiling xorg-server 1.16 without dri3 make it work.
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
[Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=84932
Tobias Klausmann <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #7 from Tobias Klausmann <[email protected]> --- A last note:
for DRI3 you dont have to do the
xrandr --listproviders
xrandr --setprovideroffloadsink nouveau Intel
dance anymore, it works without! You can disable the compositor as well with DRI3.
Closing as fixed, feel free to reopen if something is still unclear.
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