Re: nouveau: back in text console after switch to graphical one
On 22/06/08 06:29PM, Robert Swindells wrote: > My one nouveau system is old enough that it doesn't need a firmware > file. I also remember having nouveau shamelessly working on 7.99 and 8.x with a Nvidia 330M on a low-end Samsung laptop from 2008. I was using that machine for FOSS gaming, before a hard drive failure. -- + vms[-at]retrobsd.ddns.net | https://retrobsd.ddns.net
Re: nouveau: back in text console after switch to graphical one
On 22/06/08 07:09PM, Thomas Klausner wrote: > Did either of you install any firmware files? As I mentioned in my PR, trying to load nouveau on HEAD without the nvidia fimrware installed under /libdata resulted in a kernel panick, at least in my case. This apparently due to a change in upstream nouveau code, introduced in Linux 5.6, which made loading firmware mandatory on GPUs which require it, otherwise the driver will simply refuse to load. So, I already had the appropriate gpufw.txz set extracted on 9.99.96. The system had been upgraded using sysupgrade in 2 steps (kernel first), due to the ABI break between 9 and 10. The etcupdate and postinstall phases had succeeded with no issue to report. I assume that Paul G. has firmware installed and loaded as well, due to the reasons of which above. I have now upgraded the system to the latest 9.99.97 build, both kernel and userland (including firmware). The situation is always the same, so comparable to yours (same console freezing upon nouveau loading, similar errors), and to that of Tiago S., who's PR (regarding a GTX 770), I referred to in my bug report. I've booted with `-v -x', and the dmesg I get in turn is that you can see here: https://bhh.sh/6dm > Which firmware file is loaded? According to the kernel buffer, I have fimrware loaded for chipset GP106 (136000a1), which should match my Pascal GTX 1060 6Gb GDDR5. https://www.techpowerup.com/gpu-specs/geforce-gtx-1060-6-gb.c2862 The gp106 folder is located inside /libdata/firmware/nouveau/nvidia What I'm seeing is: nouveau0: info: NVIDIA GP106 (13000a1) nouveau0: info: bios: version 86.06.0e.00.99 allocated pic msi6 type edge pin 0 level 6 to cpu0 slot 22 idt entry 102 nouveau0: interrupting at msi6 vec 0 (nouveau0) nouveau0: info: fb: 6144 MiB GDDR5 -- + vms[-at]retrobsd.ddns.net | https://retrobsd.ddns.net signature.asc Description: PGP signature
Re: nouveau: back in text console after switch to graphical one
Thomas Klausner wrote: > Did either of you install any firmware files? My one nouveau system is old enough that it doesn't need a firmware file. I needed to keep adding printf statements to the code until I found out where it was going wrong. The "autoconfiguration" stage should be early in the driver initialization.
Re: nouveau: back in text console after switch to graphical one
On Wed, 8 Jun 2022, Thomas Klausner wrote: Did either of you install any firmware files? Only from a normal install Which firmware file is loaded? how do I tell? FWIW, I noticed my machine is still on 9.99.96 (not 97) in case it makes any difference. ++--+--+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses:| | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com| | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | | & Network Engineer | | pgoyett...@gmail.com | ++--+--+
Re: nouveau: back in text console after switch to graphical one
Did either of you install any firmware files? Which firmware file is loaded? Thomas
Re: nouveau: back in text console after switch to graphical one
On Wed, Jun 08, 2022 at 04:21:16PM +0200, Cygnus X-1 wrote: > On 22/06/08 06:58AM, Paul Goyette wrote: > > Yup. At least with 9.99.97 my nouveau is running great on my Geforce > > GTX 1050 Ti > > Thanks a lot for the precious feedback. > Alright, I guess it's time to upgrade to 9.99.97 and report back. Well, I was already on 9.99.97 from June, so that's not enough for me. Thomas
Re: nouveau: back in text console after switch to graphical one
On 22/06/08 06:58AM, Paul Goyette wrote: > Yup. At least with 9.99.97 my nouveau is running great on my Geforce > GTX 1050 Ti Thanks a lot for the precious feedback. Alright, I guess it's time to upgrade to 9.99.97 and report back. Regards, PVO -- + vms[-at]retrobsd.ddns.net | https://retrobsd.ddns.net signature.asc Description: PGP signature
Re: nouveau: back in text console after switch to graphical one
Paul Goyette wrote: >On Wed, 8 Jun 2022, Cygnus X-1 wrote: > >8< snip >8 > >> I wonder if nouveau has been actually working for anybody on HEAD, or if >>> the driver is in a completely broken state. ... > >Yup. At least with 9.99.97 my nouveau is running great on my Geforce >GTX 1050 Ti Working fine for me too, but on a fairly old laptop. I do have one local patch for my display. The nouveau code makes a guess on which PCI BAR is for the display memory and which for the chip registers, it gets it wrong on my system.
Re: nouveau: back in text console after switch to graphical one
On Wed, 8 Jun 2022, Cygnus X-1 wrote: 8< snip >8 I wonder if nouveau has been actually working for anybody on HEAD, or if the driver is in a completely broken state. ... Yup. At least with 9.99.97 my nouveau is running great on my Geforce GTX 1050 Ti ++--+--+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses:| | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com| | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | | & Network Engineer | | pgoyett...@gmail.com | ++--+--+
Re: nouveau: back in text console after switch to graphical one
On 22/06/05 12:24AM, Thomas Klausner wrote: > Hi! > > On one system I have with an nvidia geforce 1050 ti, with a GENERIC > kernel from 9.99.95 and also from yesterday, during boot there is the > "blank" moment where it tries to enable the graphical console. > > But after that blank, it goes back to text console and the kernel log > messages stop. I guess they continue on the graphical console (that is > however not visible to me) since the boot finishes and I can login > with ssh. > > /var/run/dmesg is not very interesting though, it consists of: > > # uniq -c dmesg >1 fo: SCHED_ERROR 20 [] > 369 nouveau0: autoconfiguration error: error: fifo: SCHED_ERROR 20 [] >1 nouveau0: autoconfiguration error: error: fifo: fault 01 [WRITE] at > 0027e000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason 02 [PTE] > on channel -1 [103fe6e000 unknown] > 437 nouveau0: autoconfiguration error: error: fifo: SCHED_ERROR 20 [] > > On the "text" console the last lines I see are nouveau: > > nouveau0: info NVIDIA GM204 (124020a1) > nouveau0: info bios version 84.04.31.00.06 > nouveau0: interrupting at msi9 vec 0 (nouveau0) > nouveau0: info: fb: 4096 MiB GDDR5 > > Anyone else seeing this? > Thomas Yes, looks like the same bug as that I'm experiencing: https://gnats.netbsd.org/56847 I wonder if nouveau has been actually working for anybody on HEAD, or if the driver is in a completely broken state. In the latter case, the situation appears at least as relevant (and even more so) as that concerning i915drmkms. I understand that Nvidia is not very popular in opensource-friendly environments, and that likely very few developers are interested in it, but in my opinion this problem deserves some more attention before ever releasing -10. Otherwise, given that now blacklisting nouveau modules on boot has become common practice among netbsd users, the possibility of disabling the driver by default in GENERIC is something to start taking into consideration in my humble opinion. Side note: the nouveau(4) man page in -9 states that GTX Geforce 10xx are supported, but this shouldn't be the case with the drm/kms stack shipped with 9.x (which afaik was ported from Linux 4.4) https://man.netbsd.org/NetBSD-9.2/nouveau.4 We might get more verbose/useful messages by booting with `-v -x', and I can provide further logs if required. Kindest Regards, PVO -- + vms[-at]retrobsd.ddns.net | https://retrobsd.ddns.net signature.asc Description: PGP signature
nouveau: back in text console after switch to graphical one
Hi! On one system I have with an nvidia geforce 1050 ti, with a GENERIC kernel from 9.99.95 and also from yesterday, during boot there is the "blank" moment where it tries to enable the graphical console. But after that blank, it goes back to text console and the kernel log messages stop. I guess they continue on the graphical console (that is however not visible to me) since the boot finishes and I can login with ssh. /var/run/dmesg is not very interesting though, it consists of: # uniq -c dmesg 1 fo: SCHED_ERROR 20 [] 369 nouveau0: autoconfiguration error: error: fifo: SCHED_ERROR 20 [] 1 nouveau0: autoconfiguration error: error: fifo: fault 01 [WRITE] at 0027e000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason 02 [PTE] on channel -1 [103fe6e000 unknown] 437 nouveau0: autoconfiguration error: error: fifo: SCHED_ERROR 20 [] On the "text" console the last lines I see are nouveau: nouveau0: info NVIDIA GM204 (124020a1) nouveau0: info bios version 84.04.31.00.06 nouveau0: interrupting at msi9 vec 0 (nouveau0) nouveau0: info: fb: 4096 MiB GDDR5 Anyone else seeing this? Thomas