Re: [Nouveau] libGL error messages
By the way, why does it try to access /etc/ld.so.nohwcap 49 times when failing once should be enough? One getpid() would seem enough too. $ strace glxinfo -B 2>&1|sort|uniq -c|sort -n|tail -n 3 54 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 62 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) 116 getpid()= 1422 I'll send you the full strace. ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
Re: [Nouveau] libGL error messages
On Tue, Jun 12, 2018 at 9:09 PM, 積丹尼 Dan Jacobson wrote: >> "IM" == Ilia Mirkin writes: > > IM> OK, well 18.1.0 is completely busted for those GPU's. Either upgrade > IM> or downgrade. But don't use that release. > > I did > [DOWNGRADE] libglapi-mesa:amd64 18.1.0-1 -> 18.0.5-1 > [DOWNGRADE] libglx-mesa0:amd64 18.1.0-1 -> 18.0.5-1 > and rebooted. Problem remains: > $ glxinfo > /dev/null > libGL error: failed to create dri screen > libGL error: failed to load driver: nouveau Interesting. This will probably require a bunch of back-and-forth to debug. You can use gdb to work out why the load is failing. If it's in dri_fill_in_modes, then something went wrong in your downgrade. Feel free to join #nouveau on irc.freenode.net to discuss. -ilia ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
Re: [Nouveau] libGL error messages
> "IM" == Ilia Mirkin writes: IM> OK, well 18.1.0 is completely busted for those GPU's. Either upgrade IM> or downgrade. But don't use that release. I did [DOWNGRADE] libglapi-mesa:amd64 18.1.0-1 -> 18.0.5-1 [DOWNGRADE] libglx-mesa0:amd64 18.1.0-1 -> 18.0.5-1 and rebooted. Problem remains: $ glxinfo > /dev/null libGL error: failed to create dri screen libGL error: failed to load driver: nouveau ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
Re: [Nouveau] libGL error messages
On Mon, Jun 11, 2018 at 1:32 PM, 積丹尼 Dan Jacobson wrote: > # lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {} > 00:05.0 VGA compatible controller: NVIDIA Corporation C51G [GeForce 6100] > (rev a2) (prog-if 00 [VGA controller]) That's a NV4C or NV4E (i.e. nv4x). > I.e., no 18.1.1 yet on Debian. OK, well 18.1.0 is completely busted for those GPU's. Either upgrade or downgrade. But don't use that release. This is the fix: https://cgit.freedesktop.org/mesa/mesa/commit/?h=18.1=b6167e9640664b22d025813fb4061c91aae2af8c -ilia ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
Re: [Nouveau] libGL error messages
# lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {} 00:05.0 VGA compatible controller: NVIDIA Corporation C51G [GeForce 6100] (rev a2) (prog-if 00 [VGA controller]) Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 16, NUMA node 0 Memory at fc00 (32-bit, non-prefetchable) [size=16M] Memory at d000 (64-bit, prefetchable) [size=256M] Memory at fb00 (64-bit, non-prefetchable) [size=16M] [virtual] Expansion ROM at 000c [disabled] [size=128K] Capabilities: [48] Power Management version 2 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+ Kernel driver in use: nouveau Kernel modules: nouveau $ dpkg -l ii glx-alternative-mesa 0.8.3 ii libegl-mesa0:amd6418.1.0-1 un libegl1-mesa ii libgl1-mesa-dri:amd64 18.1.0-1 ii libgl1-mesa-glx:amd64 18.1.0-1 un libgl1-mesa-swx11 ii libglapi-mesa:amd64 18.1.0-1 un libgles2-mesa ii libglu1-mesa:amd649.0.0-2.1 ii libglx-mesa0:amd6418.1.0-1 un libwayland-egl1-mesa ii mesa-utils8.4.0-1 un mesag3 un xlibmesa3 $ apt-cache policy libgl1-mesa-glx libgl1-mesa-glx: Installed: 18.1.0-1 Candidate: 18.1.0-1 Version table: *** 18.1.0-1 990 990 http://free.nchc.org.tw/debian experimental/main amd64 Packages 100 /var/lib/dpkg/status 18.0.5-1 500 500 http://free.nchc.org.tw/debian unstable/main amd64 Packages I.e., no 18.1.1 yet on Debian. ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
Re: [Nouveau] libGL error messages
Are you on mesa 18.1.0 and using a nv3x/nv4x gpu? If so, update to 18.1.1. If not, provide more information. The error is that nouveau_dri.so can't be loaded, which means you're not getting acceleration. You can also make the error go away by sticking LIBGL_ALWAYS_SOFTWARE=1 into your environment or removing nouveau_dri.so. Cheers, -ilia On Mon, Jun 11, 2018 at 1:02 PM, Dan Jacobson wrote: > glxgears, chromium etc. run fine. > The problems is these error messages, > > $ glxinfo > /dev/null > libGL error: failed to create dri screen > libGL error: failed to load driver: nouveau > > How can I make them go away? > I tried everything. > > P.S., also /var/log/Xorg.0.log > [37.195] (EE) AIGLX error: Calling driver entry point failed > > ___ > Nouveau mailing list > Nouveau@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/nouveau ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau