Skip to contentSkip to conversation

New: Xorg segfaults trying to use nouveau GK208 as offloadsink provider

Bug 77333 [email protected] 1 participant 14 messages Apr 11, 2014 – Sep 17, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 77333
Assignee: [email protected]
Summary: Xorg segfaults trying to use nouveau GK208 as
offloadsink provider
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: Driver/nouveau
Product: xorg

Steps to reproduce:

$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x64 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
3 outputs: 2 associated providers: 1 name:Intel
Provider 1: id: 0x3f cap: 0x5, Source Output, Source Offload crtcs: 0 outputs:
0 associated providers: 1 name:nouveau
$ xrandr --setprovideroffloadsink nouveau Intel
$ DRI_PRIME=1 glxinfo | grep "OpenGL vendor string"
[segfault]

I'm running kernel 3.14 on Fedora 20, with Xorg 1.14.4, xf86-video-nouveau-1.0.9, Mesa 10.0.4. Logs are attached below.

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-77333-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 77333] Xorg segfaults trying to use nouveau GK208 as offloadsink provider

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

--- Comment #1 from Nirbheek Chauhan <[email protected]> --- Created attachment 97223
--> https://bugs.freedesktop.org/attachment.cgi?id=97223&action=edit
dmesg | grep -E "nouveau|drm"

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 77333] Xorg segfaults trying to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

--- Comment #2 from Nirbheek Chauhan <[email protected]> --- Created attachment 97224
--> https://bugs.freedesktop.org/attachment.cgi?id=97224&action=edit
grep EE /var/log/Xorg.0.log.old

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 77333] Xorg segfaults trying to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

--- Comment #3 from Nirbheek Chauhan <[email protected]> --- Created attachment 97225
--> https://bugs.freedesktop.org/attachment.cgi?id=97225&action=edit
lspci -v

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 77333] Xorg segfaults trying to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

Nirbheek Chauhan <[email protected]> changed:

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

  Attachment #97224|0                           |1

is obsolete| |

--- Comment #4 from Nirbheek Chauhan <[email protected]> --- Created attachment 97228
--> https://bugs.freedesktop.org/attachment.cgi?id=97228&action=edit
DRI_PRIME=1 glxinfo

With xf86-video-nouveau, the segfault goes away, but DRI_PRIME doesn't work either. Log attached.

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 77333] Unable to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

Nirbheek Chauhan <[email protected]> changed:

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

            Summary|Xorg segfaults trying to    |Unable to use nouveau GK208
                   |use nouveau GK208 as        |as offloadsink provider
                   |offloadsink provider        |
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 77333] Unable to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

Nirbheek Chauhan <[email protected]> changed:

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

  Attachment #97223|0                           |1

is obsolete| |

--- Comment #5 from Nirbheek Chauhan <[email protected]> --- Created attachment 97250
--> https://bugs.freedesktop.org/attachment.cgi?id=97250&action=edit
dmesg | grep -E "nouveau|drm" -- drm-next + nouveau.config=NvGrUseFW=1

Situation does not change with a kernel compiled from commit c39b0695 on drm-next, and by using external firmware.

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 77333] Unable to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- I just noticed that you mention using xf86-video-nouveau 1.0.9. However GK208 is only supported starting 1.0.10. Please upgrade.

If the issue persists, please attach full logs.

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 77333] [NV108] Unable to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

            Summary|Unable to use nouveau GK208 |[NV108] Unable to use
                   |as offloadsink provider     |nouveau GK208 as
                   |                            |offloadsink provider

--- Comment #7 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Oh, also, make sure to grab mesa 10.2-rc1 -- there are a bunch of fixes for GK208 in there (although it still won't be perfect).

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 77333] [NV108] Unable to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

--- Comment #8 from Nirbheek Chauhan <[email protected]> --- (In reply to comment #6)

Quoted 4 lines

I just noticed that you mention using xf86-video-nouveau 1.0.9. However GK208 is only supported starting 1.0.10. Please upgrade.

If the issue persists, please attach full logs.

Sorry, I should've been clearer in comment 4. I forgot to mention that those are the logs with xf86-video-nouveau 1.0.10.

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 77333] [NV108] Unable to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

--- Comment #9 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to comment #8)

Quoted 8 lines

(In reply to comment #6)

Quoted 4 lines

I just noticed that you mention using xf86-video-nouveau 1.0.9. However GK208 is only supported starting 1.0.10. Please upgrade.

If the issue persists, please attach full logs.

Sorry, I should've been clearer in comment 4. I forgot to mention that those are the logs with xf86-video-nouveau 1.0.10.

Can you confirm that you were also using mesa 10.2.x? (10.2.2 and later should work largely fine on GK208.)

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 77333] [NV108] Unable to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

--- Comment #10 from Nirbheek Chauhan <[email protected]> --- (In reply to comment #9)

Quoted 2 lines

Can you confirm that you were also using mesa 10.2.x? (10.2.2 and later should work largely fine on GK208.)

I can't remember if I was, but I can try again and report back. Will try this out today.

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 77333] [NV108] Unable to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

Nirbheek Chauhan <[email protected]> changed:

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

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

--- Comment #11 from Nirbheek Chauhan <[email protected]> --- (In reply to comment #10)

Quoted 6 lines

(In reply to comment #9)

Quoted 2 lines

Can you confirm that you were also using mesa 10.2.x? (10.2.2 and later should work largely fine on GK208.)

I can't remember if I was, but I can try again and report back. Will try this out today.

"Today" happened, I was able to test and now it works!

$ DRI_PRIME=0 glxinfo | grep "OpenGL vendor string"
OpenGL vendor string: Intel Open Source Technology Center
$ DRI_PRIME=1 glxinfo | grep "OpenGL vendor string"
OpenGL vendor string: nouveau
$ DRI_PRIME=1 glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
6721 frames in 5.0 seconds = 1344.181 FPS

(that's such a lie, but at least it's working!)

This is with kernel 3.16.2-200.fc20, xorg 1.14.4, mesa-10.1.5, xf86-video-nouveau-1.0.10. I wasn't able to find Fedora 20 packages for mesa-10.2.x, but I'm guessing this works with 10.2 as well.

Closing as FIXED, 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

#14 lore raw

[Bug 77333] [NV108] Unable to use nouveau GK208 as offloadsink provider

In reply to a message not in the archive

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

Nirbheek Chauhan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED

--- Comment #12 from Nirbheek Chauhan <[email protected]> --- (In reply to comment #11)

Quoted 4 lines

This is with kernel 3.16.2-200.fc20, xorg 1.14.4, mesa-10.1.5, xf86-video-nouveau-1.0.10. I wasn't able to find Fedora 20 packages for mesa-10.2.x, but I'm guessing this works with 10.2 as well.

I tested with mesa-10.2.5 using a Fedora COPR[1], and it works better! I'm not getting rendering artifacts while running things other than glxgears.

1. http://copr.fedoraproject.org/coprs/jujuxiii/testing-fc20/

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