bugzilla-daemon at freedesktop.org
2017-Jun-26 14:10 UTC
[Nouveau] [Bug 101601] New: Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 Bug ID: 101601 Summary: Nvidia GT 1030 (NV138/GP108) support Product: xorg Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau at lists.freedesktop.org Reporter: carlo at caione.org QA Contact: xorg-team at lists.x.org Created attachment 132255 --> https://bugs.freedesktop.org/attachment.cgi?id=132255&action=edit journal trace GP108 I'm trying to make nouveau working with this card. I'm only interested in modesetting. On an unmodified kernel the chipset is not recognized and at boot I get [ 0.874915] nouveau 0000:01:00.0: unknown chipset (138000a1) [ 0.874918] nouveau: probe of 0000:01:00.0 failed with error -12 I also tried to use the same settings as for the NV137 adding in base.c: case 0x138: device->chip = &nv137_chipset; break; With this change at boot I get a black screen and nouveau timeouts. In attachment the journal using nouveau.bebug=trace (with the kernel modification). -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170626/96dddd26/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jun-26 14:11 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #1 from Carlo Caione <carlo at caione.org> --- Created attachment 132256 --> https://bugs.freedesktop.org/attachment.cgi?id=132256&action=edit VBIOS VBIOS exctracted with nvagetbios -s prom -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170626/9716359f/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jun-27 13:50 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #2 from Carlo Caione <carlo at caione.org> --- Created attachment 132283 --> https://bugs.freedesktop.org/attachment.cgi?id=132283&action=edit log_gf119_disp_pioc_init_returns_0 The problem is that gf119_disp_pioc_init() is returning -EBUSY. Modesetting works fine (let's say 90% of the times) if I force gf119_disp_pioc_init() to return 0. Of course I highly doubt this is a reasonable fix but at least it could give an hint where the real issue is. In attachment the log with this ugly change (but at least I was able to have a reasonable resolution). -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170627/729abb0b/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jun-27 16:06 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #3 from Carlo Caione <carlo at caione.org> --- Created attachment 132286 --> https://bugs.freedesktop.org/attachment.cgi?id=132286&action=edit MMIOTRACE In attachment mmiotrace (modprobe + xorg start) -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170627/b3eb7fd0/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jun-27 18:12 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #4 from Ilia Mirkin <imirkin at alum.mit.edu> --- So it seems like there are only 2 heads instead of 4. Carlo hardcoded the heads from 4 to 2 in gf119_disp_new_ and crtc's to 2 in nv50_display_create and was able to get something up and running. 22448 indeed returns 4. Looking over the mmiotrace, 2245c returns 2. No clue if that just happens to be 2 or if that's the number of heads. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170627/96021ea5/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jun-28 03:11 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #5 from Ilia Mirkin <imirkin at alum.mit.edu> --- Created attachment 132292 --> https://bugs.freedesktop.org/attachment.cgi?id=132292&action=edit patch to check if heads are there before initialization Based on comments from Ben, I wrote this patch against drm-next. Entirely untested. (Won't apply to 4.12, sadly.) -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170628/ef5da108/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2017-Jun-28 07:23 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #6 from Carlo Caione <carlo at caione.org> --- Created attachment 132293 --> https://bugs.freedesktop.org/attachment.cgi?id=132293&action=edit log patch drm-next> Based on comments from Ben, I wrote this patch against drm-next. Entirely > untested. (Won't apply to 4.12, sadly.)The patch doesn't seem to work fine. In attachment the log. For reference: # ./nvapeek 612004 00612004: 30700f03 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170628/c12f41e3/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jun-28 08:07 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #7 from Carlo Caione <carlo at caione.org> --- Created attachment 132296 --> https://bugs.freedesktop.org/attachment.cgi?id=132296&action=edit backport fix Well, your patch backported to 4.12 works fine. Attached the patch I'm using. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170628/d91ee0e2/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jun-28 08:38 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #8 from Carlo Caione <carlo at caione.org> --- Ok, tested again the latest drm-next __without__ the patch proposed by Ilia and it fails with the same error: nouveau 0000:01:00.0: DRM: curs917a allocation failed: -16 nouveau: probe of 0000:01:00.0 failed with error -16 So the problem is not related to your patch (that at this point I'm fairly confident it should work fine since it works correctly backporting it) but with drm-next itself I guess. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170628/7ff5cb6a/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2017-Jun-28 12:18 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #9 from Ilia Mirkin <imirkin at alum.mit.edu> --- drm-next appears to be hitting this logic in nv50_disp_chan_ctor: if (disp->chan[chan->chid.user]) { chan->chid.user = -1; return -EBUSY; } when constructing the cursor for head 1. drm/nouveau/nvkm/engine/disp/nv50.h: struct nv50_disp_chan *chan[17]; Oops. That should be [21]. It was reading/writing random memory :( -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170628/2743b7ec/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jun-28 12:32 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #10 from Ilia Mirkin <imirkin at alum.mit.edu> --- https://patchwork.freedesktop.org/patch/164205/ See if that helps with drm-next (in addition to the other patch). -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170628/1a3521d3/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jun-28 13:58 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #11 from Carlo Caione <carlo at caione.org> --- Yeah, that solved the issue. So your patch works fine with that fix on top and adding: case 0x138: device->chip = &nv137_chipset; break; Thanks, -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170628/950e8fe5/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jul-04 12:29 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #12 from Carlo Caione <carlo at caione.org> --- Hey guys, anything else we can do to help you upstreaming the patch? We have a bunch of nvidia boards around, just ask if you need any more test / data / trace. thanks, -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170704/b555f08b/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jul-05 16:01 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #13 from Ilia Mirkin <imirkin at alum.mit.edu> --- Note that the preparatory patches are in Ben's tree now, should show up in 4.13 or 4.14. The one to actually enable GP108 is being delayed as he'd like some time with the mmiotrace to double-check a few things. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170705/62ffd955/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jul-05 16:02 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #14 from Ilia Mirkin <imirkin at alum.mit.edu> --- BTW, this is the patch I sent to enable GP108: https://patchwork.freedesktop.org/patch/164973/ And this is Ben's tree with the updated versions of those patches: https://github.com/skeggsb/nouveau/commits/master -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170705/43a68563/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Aug-11 09:48 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #15 from Daniel Drake <dan at reactivated.net> --- The patch titled " disp/gf119-: avoid creating non-existent heads " is not in linux-next, does this mean it's no longer planned for inclusion in 4.14? Also I guess the GP108 one is still pending the mmiotrace analysis? -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170811/355bf793/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Aug-11 12:58 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #16 from Ilia Mirkin <imirkin at alum.mit.edu> --- (In reply to Daniel Drake from comment #15)> The patch titled " disp/gf119-: avoid creating non-existent heads " is not > in linux-next, does this mean it's no longer planned for inclusion in 4.14? > > Also I guess the GP108 one is still pending the mmiotrace analysis?A drm-next nouveau pull for 4.14 has not been submitted yet. You can see the current queue at https://github.com/skeggsb/nouveau/commits/master -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170811/dfe2a8cb/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Nov-24 11:12 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #17 from Daniel Drake <dan at reactivated.net> --- "disp/gf119-: avoid creating non-existent heads" is still not in linus tree, is there any news here? -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171124/7df23eeb/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Nov-24 11:59 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 --- Comment #18 from Pierre Moreau <pierre.morrow at free.fr> --- (In reply to Daniel Drake from comment #17)> "disp/gf119-: avoid creating non-existent heads" is still not in linus tree, > is there any news here?It is definitely in Linus’ tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.14&id=eba5e56db65b7a44d57a98f5f382b2a2b9991321 and looking at the source from 4.14, the patch seems to be there as well: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/nouveau/nv50_display.c?h=v4.14#n4457 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171124/f59c33d2/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Dec-04 09:29 UTC
[Nouveau] [Bug 101601] Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601 Martin Peres <martin.peres at free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED --- Comment #19 from Martin Peres <martin.peres at free.fr> --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/357. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20191204/3251fc09/attachment.html>
Possibly Parallel Threads
- [Bug 100446] New: Backlight control not working on Pascal / GP106 using nouveau drivers
- [PATCH] disp/gf119-: avoid creating non-existent heads
- [Bug 100228] New: [NV137] unknown chipset (137000a1)
- [Bug 101782] New: GTX1050TI (GP107 / NV137): HDMI output not working
- [PATCH] initial support (display-only) for GP108