NetBSD-Bugs archive

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

Re: port-amd64/53126 (uefi boot breaks graphics, nouveau)



The following reply was made to PR port-amd64/53126; it has been noted by GNATS.

From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-amd64/53126 (uefi boot breaks graphics, nouveau)
Date: Tue, 26 Jul 2022 16:50:55 +0200

 I found a workaround for this problem. It seems nouveau conflicts with
 x86 genfb. The drawback is you don't get any console before going
 multiuser unless you have serial console. Maybe we are not properly
 unmapping genfb before switching console? The nouveau driver throws
 errors like this when efi genfb is used:
 
 nouveau0: autoconfiguration error: error: fifo: fault 01 [WRITE] at 0000000000211000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason 00 [PDE] on channel -1 [00ffeaa000 unknown]
 
 --- sys/arch/x86/x86/genfb_machdep.c	16 Jul 2022 06:27:24 -0000	1.17
 +++ sys/arch/x86/x86/genfb_machdep.c	26 Jul 2022 14:44:48 -0000
 @@ -117,6 +117,7 @@ x86_genfb_init(void)
  	if (fbinfo == NULL || fbinfo->physaddr == 0)
  		return 0;
 
 +	return 0;
  	err = _x86_memio_map(t, (bus_addr_t)fbinfo->physaddr,
  	    fbinfo->height * fbinfo->stride,
  	    BUS_SPACE_MAP_LINEAR | BUS_SPACE_MAP_PREFETCHABLE, &h);
 
 
 


Home | Main Index | Thread Index | Old Index