bugzilla-daemon at freedesktop.org
2014-Oct-12 12:02 UTC
[Nouveau] [Bug 84932] 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: nouveau at lists.freedesktop.org
Reporter: dura at duradsl.duckdns.org
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/nouveau/attachments/20141012/67be1f24/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Oct-12 12:03 UTC
[Nouveau] [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 <dura at duradsl.duckdns.org> --- Created attachment 107737 --> https://bugs.freedesktop.org/attachment.cgi?id=107737&action=edit xorg-server 1.15 log -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20141012/e68a166a/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Oct-12 12:04 UTC
[Nouveau] [Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
https://bugs.freedesktop.org/show_bug.cgi?id=84932 --- Comment #2 from dura <dura at duradsl.duckdns.org> --- Created attachment 107738 --> https://bugs.freedesktop.org/attachment.cgi?id=107738&action=edit xorg-server 1.16 log -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20141012/051b43e0/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Oct-12 14:55 UTC
[Nouveau] [Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
https://bugs.freedesktop.org/show_bug.cgi?id=84932 --- Comment #3 from Ilia Mirkin <imirkin at alum.mit.edu> --- 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. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20141012/015c1297/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Oct-12 16:32 UTC
[Nouveau] [Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
https://bugs.freedesktop.org/show_bug.cgi?id=84932 --- Comment #4 from Tobias Klausmann <tobias.klausmann at mni.thm.de> --- DRI3 does not work "out of the box", you'd need some work. But for now try disabling DRI3! -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20141012/db706856/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Oct-12 17:01 UTC
[Nouveau] [Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
https://bugs.freedesktop.org/show_bug.cgi?id=84932 --- Comment #5 from Ilia Mirkin <imirkin at alum.mit.edu> --- 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. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20141012/816ddcb2/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2014-Oct-12 17:49 UTC
[Nouveau] [Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
https://bugs.freedesktop.org/show_bug.cgi?id=84932 --- Comment #6 from dura <dura at duradsl.duckdns.org> --- 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. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20141012/b6355072/attachment.html>
bugzilla-daemon at freedesktop.org
2014-Oct-12 18:21 UTC
[Nouveau] [Bug 84932] Optimus with nouveau no longer works with xorg-server 1.16.1
https://bugs.freedesktop.org/show_bug.cgi?id=84932
Tobias Klausmann <tobias.klausmann at mni.thm.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Tobias Klausmann <tobias.klausmann at mni.thm.de> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/nouveau/attachments/20141012/b0bd1e11/attachment.html>
Maybe Matching Threads
- [Bug 88514] New: X segfaults when using prime offloading to nouveau card
- [Bug 82152] New: any OpenGL application crashes X, locks up machine with nouveau and PRIME
- [Bug 90482] New: Xorg take 100% CPU when using multiple independent screen configuration
- [Bug 87179] New: [NVE7] Oops while reenabling Optimus dedicated card
- [Bug 67482] New: No DP output when optimus activated in bios