lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200729050403.jwbgdmvmc3ajdnem@atlas.draconx.ca>
Date:   Wed, 29 Jul 2020 01:04:03 -0400
From:   Nick Bowler <nbowler@...conx.ca>
To:     linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Cc:     James Jones <jajones@...dia.com>, Ben Skeggs <bskeggs@...hat.com>
Subject: PROBLEM: 5.8-rc7 no video output with nouveau on NV36 (regression)

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@...dia.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@...dia.com>
      Signed-off-by: Ben Skeggs <bskeggs@...hat.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ