NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-amd64/53126: uefi boot breaks graphics



>Number:         53126
>Category:       port-amd64
>Synopsis:       uefi boot breaks graphics
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 24 12:15:00 +0000 2018
>Originator:     Patrick Welche
>Release:        NetBSD-8.99.14/amd64
>Organization:
>Environment:
NetBSD-8.99.14/amd64
>Description:
Booting via MBR gives me a working box. Trying UEFI, I see a different
font displaying boot.cfg and initial kernel messages (probably expected),
but then, at the point at which the kernel switches to a higher
resolution mode, I briefly see the kernel messages in the new mode at
the top part of the screen (possibly what was already painted at that
stage, but in the new resolution), and in the bottom part, random green
pixels, and then the screen goes blank. This is all before X, as I have
a cgdconfig prompt on boot. I can ssh in, and all is working, but the
display is broken. (I didn't test audio.) The "BIOS" is from January
2018.

The graphics card is:

nouveau0 at pci9 dev 0 function 0: NVIDIA product 1180 (rev. 0xa1)
drm kern info: nouveau  [  DEVICE][nouveau0] BOOT0  : 0x0e4000a2
drm kern info: nouveau  [  DEVICE][nouveau0] Chipset: GK104 (NVE4)
drm kern info: nouveau  [  DEVICE][nouveau0] Family : NVE0

Hightlights of a diff of working vs broken dmesg:

 total memory = 32699 MB
-avail memory = 31733 MB
+avail memory = 31731 MB

+efi: systbl at pa db80f018

@@ -251,7 +253,7 @@
 drm kern info: nouveau  [     CLK][nouveau0] 0d: core 540-1202 MHz memory 6008 MHz 
 drm kern info: nouveau  [     CLK][nouveau0] 0f: core 540-1202 MHz memory 6008 MHz 
 drm kern info: nouveau  [     CLK][nouveau0] --: core 324 MHz memory 648 MHz 
-Zone  kernel: Available graphics memory: 11304594 kiB
+Zone  kernel: Available graphics memory: 11303736 kiB
 Zone   dma32: Available graphics memory: 2097152 kiB
 drm kern info: nouveau  [     DRM] VRAM: 2048 MiB
 drm kern info: nouveau  [     DRM] GART: 1048576 MiB
@@ -272,7 +274,7 @@
 drm kern info: nouveau  [     DRM] MM: using COPY for buffer copies
 nouveaufb0 at nouveau0
 nouveau0: info: registered panic notifier
-nouveaufb0: framebuffer at 0xffff80025c7c9000, size 1680x1050, depth 32, stride 6912
+nouveaufb0: framebuffer at 0xffff80025c9a0000, size 1680x1050, depth 32, stride 6912
 wsdisplay0 at nouveaufb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
 wsmux1: connecting to wsdisplay0
 hdaudio0 at pci9 dev 0 function 1: HD Audio Controller


I haven't tested audio (one thing at a time), but also see:

@@ -309,18 +311,9 @@
 atabus8 at ahcisata1 channel 3
 hdaudio1 at pci11 dev 0 function 3: HD Audio Controller
 hdaudio1: interrupting at msi5 vec 0
-hdafg1 at hdaudio1: vendor 10ec product 1168
-hdafg1: DAC00 6ch: Speaker [Jack]
-hdafg1: DAC01 2ch: HP Out [Jack]
-hdafg1: DIG02 2ch: SPDIF Out [Jack]
-hdafg1: ADC03 2ch: Line In [Jack], Mic In [Jack]
-hdafg1: ADC04 2ch: Mic In [Jack]
-hdafg1: 6ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
-audio0 at hdafg1: full duplex, playback, capture, mmap, independent
-hdafg1: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
-hdafg1: Latency: 128 milliseconds
-spkr1 at audio0: PC Speaker (synthesized)
-wsbell at spkr1 not configured
+hdaudio1: timeout stopping RIRB
+hdaudio1: couldn't reset because RIRB is busy
+hdaudio1: device driver failed to attach
 AMD X370/X399 SMBus Controller (SMBus serial bus, revision 0x59) at pci0 dev 20 function 0 not configured
 pcib0 at pci0 dev 20 function 3: AMD product 790e (rev. 0x51)
 pchb6 at pci0 dev 24 function 0: AMD product 1460 (rev. 0x00)

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index