All of lore.kernel.org
 help / color / mirror / Atom feed
* libGL error messages
@ 2018-06-11 17:02 Dan Jacobson
       [not found] ` <87in6pdzp2.fsf-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Jacobson @ 2018-06-11 17:02 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libGL error messages
       [not found] ` <87in6pdzp2.fsf-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org>
@ 2018-06-11 17:10   ` Ilia Mirkin
  2018-06-11 17:32     ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 7+ messages in thread
From: Ilia Mirkin @ 2018-06-11 17:10 UTC (permalink / raw)
  To: Dan Jacobson; +Cc: nouveau

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 <jidanni@jidanni.org> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libGL error messages
  2018-06-11 17:10   ` Ilia Mirkin
@ 2018-06-11 17:32     ` 積丹尼 Dan Jacobson
       [not found]       ` <87zi01cjpz.fsf-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-06-11 17:32 UTC (permalink / raw)
  To: Ilia Mirkin; +Cc: nouveau

# 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 fc000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at fb000000 (64-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at 000c0000 [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:amd64    18.1.0-1
un  libegl1-mesa          <none>
ii  libgl1-mesa-dri:amd64 18.1.0-1
ii  libgl1-mesa-glx:amd64 18.1.0-1
un  libgl1-mesa-swx11     <none>
ii  libglapi-mesa:amd64   18.1.0-1
un  libgles2-mesa         <none>
ii  libglu1-mesa:amd64    9.0.0-2.1
ii  libglx-mesa0:amd64    18.1.0-1
un  libwayland-egl1-mesa  <none>
ii  mesa-utils            8.4.0-1
un  mesag3                <none>
un  xlibmesa3             <none>

$ 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libGL error messages
       [not found]       ` <87zi01cjpz.fsf-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org>
@ 2018-06-11 17:36         ` Ilia Mirkin
  2018-06-13  1:09           ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 7+ messages in thread
From: Ilia Mirkin @ 2018-06-11 17:36 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: nouveau

On Mon, Jun 11, 2018 at 1:32 PM, 積丹尼 Dan Jacobson <jidanni@jidanni.org> 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&id=b6167e9640664b22d025813fb4061c91aae2af8c

  -ilia
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libGL error messages
  2018-06-11 17:36         ` Ilia Mirkin
@ 2018-06-13  1:09           ` 積丹尼 Dan Jacobson
       [not found]             ` <87d0wvcx0j.fsf-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-06-13  1:09 UTC (permalink / raw)
  To: Ilia Mirkin; +Cc: nouveau

>>>>> "IM" == Ilia Mirkin <imirkin@alum.mit.edu> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libGL error messages
       [not found]             ` <87d0wvcx0j.fsf-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org>
@ 2018-06-13  1:33               ` Ilia Mirkin
  2018-06-13 19:43                 ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 7+ messages in thread
From: Ilia Mirkin @ 2018-06-13  1:33 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: nouveau

On Tue, Jun 12, 2018 at 9:09 PM, 積丹尼 Dan Jacobson <jidanni@jidanni.org> wrote:
>>>>>> "IM" == Ilia Mirkin <imirkin@alum.mit.edu> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libGL error messages
  2018-06-13  1:33               ` Ilia Mirkin
@ 2018-06-13 19:43                 ` 積丹尼 Dan Jacobson
  0 siblings, 0 replies; 7+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-06-13 19:43 UTC (permalink / raw)
  To: Ilia Mirkin; +Cc: nouveau

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-13 19:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-11 17:02 libGL error messages Dan Jacobson
     [not found] ` <87in6pdzp2.fsf-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org>
2018-06-11 17:10   ` Ilia Mirkin
2018-06-11 17:32     ` 積丹尼 Dan Jacobson
     [not found]       ` <87zi01cjpz.fsf-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org>
2018-06-11 17:36         ` Ilia Mirkin
2018-06-13  1:09           ` 積丹尼 Dan Jacobson
     [not found]             ` <87d0wvcx0j.fsf-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org>
2018-06-13  1:33               ` Ilia Mirkin
2018-06-13 19:43                 ` 積丹尼 Dan Jacobson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.