All of lore.kernel.org
 help / color / mirror / Atom feed
* PROBLEM: 5.8-rc7 no video output with nouveau on NV36 (regression)
@ 2020-07-29  5:04 ` Nick Bowler
  0 siblings, 0 replies; 6+ messages in thread
From: Nick Bowler @ 2020-07-29  5:04 UTC (permalink / raw)
  To: linux-kernel, dri-devel; +Cc: James Jones, Ben Skeggs

Hi,

After installing Linux 5.8-rc7 I seem to get no video output on my
NV36 card once the nouveau module is loaded.  The display (connected
to the digital output) simply reports "No Signal".

I bisected to the following commit, and reverting this commit on
top of 5.8-rc7 appears to correct the issue.

  fa4f4c213f5f7807360c41f2501a3031a9940f3a is the first bad commit
  commit fa4f4c213f5f7807360c41f2501a3031a9940f3a
  Author: James Jones <jajones@nvidia.com>
  Date:   Mon Feb 10 15:15:55 2020 -0800
  
      drm/nouveau/kms: Support NVIDIA format modifiers
      
      Allow setting the block layout of a nouveau FB
      object using DRM format modifiers.  When
      specified, the format modifier block layout and
      kind overrides the GEM buffer's implicit layout
      and kind.  The specified format modifier is
      validated against the list of modifiers supported
      by the target display hardware.
      
      v2: Used Tesla family instead of NV50 chipset compare
      v4: Do not cache kind, tile_mode in nouveau_framebuffer
      v5: Resolved against nouveau_framebuffer cleanup
      
      Signed-off-by: James Jones <jajones@nvidia.com>
      Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  
   drivers/gpu/drm/nouveau/dispnv50/wndw.c   | 20 ++++---
   drivers/gpu/drm/nouveau/nouveau_display.c | 89 ++++++++++++++++++++++++++++++-
   drivers/gpu/drm/nouveau/nouveau_display.h |  4 ++
   3 files changed, 104 insertions(+), 9 deletions(-)

The dmesg output from loading the driver is identical except several
lines are missing in the non-working case, which I have marked with
"XXX" below:

      [  168.222926] PCI Interrupt Link [LNKE] enabled at IRQ 16
      [  168.223199] nouveau 0000:01:00.0: vgaarb: deactivate vga console
      [  168.224379] Console: switching to colour dummy device 80x25
      [  168.224612] nouveau 0000:01:00.0: NVIDIA NV36 (436200a1)
      [  168.324779] nouveau 0000:01:00.0: bios: version 04.36.20.21.00
      [  168.325646] agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
      [  168.325657] agpgart: modprobe tried to set rate=x12. Setting to AGP3 x8 mode.
      [  168.325662] agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
      [  168.325679] nouveau 0000:01:00.0: putting AGP V3 device into 8x mode
      [  168.325908] agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
      [  168.325914] agpgart: modprobe tried to set rate=x12. Setting to AGP3 x8 mode.
      [  168.325918] agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
      [  168.325933] nouveau 0000:01:00.0: putting AGP V3 device into 8x mode
      [  168.325990] nouveau 0000:01:00.0: tmr: unknown input clock freq
      [  168.326732] nouveau 0000:01:00.0: fb: 256 MiB DDR1
      [  168.328174] [TTM] Zone  kernel: Available graphics memory: 1022540 KiB
      [  168.328175] [TTM] Initializing pool allocator
      [  168.328181] [TTM] Initializing DMA pool allocator
      [  168.328200] nouveau 0000:01:00.0: DRM: VRAM: 255 MiB
      [  168.328201] nouveau 0000:01:00.0: DRM: GART: 128 MiB
      [  168.328204] nouveau 0000:01:00.0: DRM: BMP version 5.40
      [  168.328208] nouveau 0000:01:00.0: DRM: DCB version 2.2
      [  168.328210] nouveau 0000:01:00.0: DRM: DCB outp 00: 01000300 00009c40
      [  168.328214] nouveau 0000:01:00.0: DRM: DCB outp 01: 02010310 00009c40
      [  168.328215] nouveau 0000:01:00.0: DRM: DCB outp 02: 04000302 00000000
      [  168.328217] nouveau 0000:01:00.0: DRM: DCB outp 03: 02020321 00000303
      [  168.328495] nouveau 0000:01:00.0: DRM: Loading NV17 power sequencing microcode
      [  168.329691] nouveau 0000:01:00.0: DRM: MM: using M2MF for buffer copies
      [  168.330258] nouveau 0000:01:00.0: DRM: Saving VGA fonts
      [  168.389460] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
      [  168.391250] nouveau 0000:01:00.0: DRM: Setting dpms mode 3 on TV encoder (output 3)
  XXX [  168.487647] nouveau 0000:01:00.0: DRM: allocated 1920x1080 fb: 0x9000, bo 00000000ff426de1
  XXX [  168.491835] fbcon: nouveaudrmfb (fb0) is primary device
  XXX [  168.608512] nouveau 0000:01:00.0: DRM: 0xE4FB: Parsing digital output script table
  XXX [  168.662451] Console: switching to colour frame buffer device 240x67
  XXX [  168.755987] nouveau 0000:01:00.0: fb0: nouveaudrmfb frame buffer device
      [  168.763736] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0

Let me know if you need any more info.

Cheers,
  Nick

^ permalink raw reply	[flat|nested] 6+ messages in thread

* PROBLEM: 5.8-rc7 no video output with nouveau on NV36 (regression)
@ 2020-07-29  5:04 ` Nick Bowler
  0 siblings, 0 replies; 6+ messages in thread
From: Nick Bowler @ 2020-07-29  5:04 UTC (permalink / raw)
  To: linux-kernel, dri-devel; +Cc: James Jones, Ben Skeggs

Hi,

After installing Linux 5.8-rc7 I seem to get no video output on my
NV36 card once the nouveau module is loaded.  The display (connected
to the digital output) simply reports "No Signal".

I bisected to the following commit, and reverting this commit on
top of 5.8-rc7 appears to correct the issue.

  fa4f4c213f5f7807360c41f2501a3031a9940f3a is the first bad commit
  commit fa4f4c213f5f7807360c41f2501a3031a9940f3a
  Author: James Jones <jajones@nvidia.com>
  Date:   Mon Feb 10 15:15:55 2020 -0800
  
      drm/nouveau/kms: Support NVIDIA format modifiers
      
      Allow setting the block layout of a nouveau FB
      object using DRM format modifiers.  When
      specified, the format modifier block layout and
      kind overrides the GEM buffer's implicit layout
      and kind.  The specified format modifier is
      validated against the list of modifiers supported
      by the target display hardware.
      
      v2: Used Tesla family instead of NV50 chipset compare
      v4: Do not cache kind, tile_mode in nouveau_framebuffer
      v5: Resolved against nouveau_framebuffer cleanup
      
      Signed-off-by: James Jones <jajones@nvidia.com>
      Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  
   drivers/gpu/drm/nouveau/dispnv50/wndw.c   | 20 ++++---
   drivers/gpu/drm/nouveau/nouveau_display.c | 89 ++++++++++++++++++++++++++++++-
   drivers/gpu/drm/nouveau/nouveau_display.h |  4 ++
   3 files changed, 104 insertions(+), 9 deletions(-)

The dmesg output from loading the driver is identical except several
lines are missing in the non-working case, which I have marked with
"XXX" below:

      [  168.222926] PCI Interrupt Link [LNKE] enabled at IRQ 16
      [  168.223199] nouveau 0000:01:00.0: vgaarb: deactivate vga console
      [  168.224379] Console: switching to colour dummy device 80x25
      [  168.224612] nouveau 0000:01:00.0: NVIDIA NV36 (436200a1)
      [  168.324779] nouveau 0000:01:00.0: bios: version 04.36.20.21.00
      [  168.325646] agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
      [  168.325657] agpgart: modprobe tried to set rate=x12. Setting to AGP3 x8 mode.
      [  168.325662] agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
      [  168.325679] nouveau 0000:01:00.0: putting AGP V3 device into 8x mode
      [  168.325908] agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
      [  168.325914] agpgart: modprobe tried to set rate=x12. Setting to AGP3 x8 mode.
      [  168.325918] agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
      [  168.325933] nouveau 0000:01:00.0: putting AGP V3 device into 8x mode
      [  168.325990] nouveau 0000:01:00.0: tmr: unknown input clock freq
      [  168.326732] nouveau 0000:01:00.0: fb: 256 MiB DDR1
      [  168.328174] [TTM] Zone  kernel: Available graphics memory: 1022540 KiB
      [  168.328175] [TTM] Initializing pool allocator
      [  168.328181] [TTM] Initializing DMA pool allocator
      [  168.328200] nouveau 0000:01:00.0: DRM: VRAM: 255 MiB
      [  168.328201] nouveau 0000:01:00.0: DRM: GART: 128 MiB
      [  168.328204] nouveau 0000:01:00.0: DRM: BMP version 5.40
      [  168.328208] nouveau 0000:01:00.0: DRM: DCB version 2.2
      [  168.328210] nouveau 0000:01:00.0: DRM: DCB outp 00: 01000300 00009c40
      [  168.328214] nouveau 0000:01:00.0: DRM: DCB outp 01: 02010310 00009c40
      [  168.328215] nouveau 0000:01:00.0: DRM: DCB outp 02: 04000302 00000000
      [  168.328217] nouveau 0000:01:00.0: DRM: DCB outp 03: 02020321 00000303
      [  168.328495] nouveau 0000:01:00.0: DRM: Loading NV17 power sequencing microcode
      [  168.329691] nouveau 0000:01:00.0: DRM: MM: using M2MF for buffer copies
      [  168.330258] nouveau 0000:01:00.0: DRM: Saving VGA fonts
      [  168.389460] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
      [  168.391250] nouveau 0000:01:00.0: DRM: Setting dpms mode 3 on TV encoder (output 3)
  XXX [  168.487647] nouveau 0000:01:00.0: DRM: allocated 1920x1080 fb: 0x9000, bo 00000000ff426de1
  XXX [  168.491835] fbcon: nouveaudrmfb (fb0) is primary device
  XXX [  168.608512] nouveau 0000:01:00.0: DRM: 0xE4FB: Parsing digital output script table
  XXX [  168.662451] Console: switching to colour frame buffer device 240x67
  XXX [  168.755987] nouveau 0000:01:00.0: fb0: nouveaudrmfb frame buffer device
      [  168.763736] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0

Let me know if you need any more info.

Cheers,
  Nick
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: 5.8-rc7 no video output with nouveau on NV36 (regression)
  2020-07-29  5:04 ` Nick Bowler
@ 2020-07-29  5:07   ` Dave Airlie
  -1 siblings, 0 replies; 6+ messages in thread
From: Dave Airlie @ 2020-07-29  5:07 UTC (permalink / raw)
  To: Nick Bowler; +Cc: LKML, dri-devel, James Jones, Ben Skeggs

On Wed, 29 Jul 2020 at 15:05, Nick Bowler <nbowler@draconx.ca> wrote:
>
> Hi,
>
> After installing Linux 5.8-rc7 I seem to get no video output on my
> NV36 card once the nouveau module is loaded.  The display (connected
> to the digital output) simply reports "No Signal".
>
> I bisected to the following commit, and reverting this commit on
> top of 5.8-rc7 appears to correct the issue.

Can you test the drm fixes pull I just sent to Linus

https://patchwork.freedesktop.org/patch/381225/

Otherwise we are awaiting a fix from James for one other issue, should
be here today/tomorrow.

Dave.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: 5.8-rc7 no video output with nouveau on NV36 (regression)
@ 2020-07-29  5:07   ` Dave Airlie
  0 siblings, 0 replies; 6+ messages in thread
From: Dave Airlie @ 2020-07-29  5:07 UTC (permalink / raw)
  To: Nick Bowler; +Cc: James Jones, LKML, dri-devel, Ben Skeggs

On Wed, 29 Jul 2020 at 15:05, Nick Bowler <nbowler@draconx.ca> wrote:
>
> Hi,
>
> After installing Linux 5.8-rc7 I seem to get no video output on my
> NV36 card once the nouveau module is loaded.  The display (connected
> to the digital output) simply reports "No Signal".
>
> I bisected to the following commit, and reverting this commit on
> top of 5.8-rc7 appears to correct the issue.

Can you test the drm fixes pull I just sent to Linus

https://patchwork.freedesktop.org/patch/381225/

Otherwise we are awaiting a fix from James for one other issue, should
be here today/tomorrow.

Dave.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: 5.8-rc7 no video output with nouveau on NV36 (regression)
  2020-07-29  5:07   ` Dave Airlie
@ 2020-07-29  5:30     ` Nick Bowler
  -1 siblings, 0 replies; 6+ messages in thread
From: Nick Bowler @ 2020-07-29  5:30 UTC (permalink / raw)
  To: Dave Airlie; +Cc: LKML, dri-devel, James Jones, Ben Skeggs

On 2020-07-29, Dave Airlie <airlied@gmail.com> wrote:
> On Wed, 29 Jul 2020 at 15:05, Nick Bowler <nbowler@draconx.ca> wrote:
>>
>> Hi,
>>
>> After installing Linux 5.8-rc7 I seem to get no video output on my
>> NV36 card once the nouveau module is loaded.  The display (connected
>> to the digital output) simply reports "No Signal".
>>
>> I bisected to the following commit, and reverting this commit on
>> top of 5.8-rc7 appears to correct the issue.
>
> Can you test the drm fixes pull I just sent to Linus
>
> https://patchwork.freedesktop.org/patch/381225/

Yes, pulling this seems to fix things.

Thanks,
  Nick

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: 5.8-rc7 no video output with nouveau on NV36 (regression)
@ 2020-07-29  5:30     ` Nick Bowler
  0 siblings, 0 replies; 6+ messages in thread
From: Nick Bowler @ 2020-07-29  5:30 UTC (permalink / raw)
  To: Dave Airlie; +Cc: James Jones, LKML, dri-devel, Ben Skeggs

On 2020-07-29, Dave Airlie <airlied@gmail.com> wrote:
> On Wed, 29 Jul 2020 at 15:05, Nick Bowler <nbowler@draconx.ca> wrote:
>>
>> Hi,
>>
>> After installing Linux 5.8-rc7 I seem to get no video output on my
>> NV36 card once the nouveau module is loaded.  The display (connected
>> to the digital output) simply reports "No Signal".
>>
>> I bisected to the following commit, and reverting this commit on
>> top of 5.8-rc7 appears to correct the issue.
>
> Can you test the drm fixes pull I just sent to Linus
>
> https://patchwork.freedesktop.org/patch/381225/

Yes, pulling this seems to fix things.

Thanks,
  Nick
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-29  6:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29  5:04 PROBLEM: 5.8-rc7 no video output with nouveau on NV36 (regression) Nick Bowler
2020-07-29  5:04 ` Nick Bowler
2020-07-29  5:07 ` Dave Airlie
2020-07-29  5:07   ` Dave Airlie
2020-07-29  5:30   ` Nick Bowler
2020-07-29  5:30     ` Nick Bowler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.