All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
@ 2015-09-18  7:24 bugzilla-daemon
  2015-09-18  7:25 ` bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-18  7:24 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1579 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

            Bug ID: 92039
           Summary: glxinfo: Error: couldn't find RGB GLX visual or
                    fbconfig; GetVisualConfigs returns 0 visuals; All
                    fbconfigs have VisDepth = 0
           Product: Mesa
           Version: 10.1
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: mikolaj.chadzynski@mobica.com
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 118341
  --> https://bugs.freedesktop.org/attachment.cgi?id=118341&action=edit
XOrg.0.log

glxinfo displays visuals correctly for mesa 9.2.5 (SW rendering works ok -
checked with glxgears) but when mesa updated to 10.1.2 I'm getting error:
libGL error: failed to load driver: radeonsi
libGL error: failed to load driver: swrast
Error: couldn't find RGB GLX visual or fbconfig
Error: couldn't find RGB GLX visual or fbconfig

xdpyinfo returns only 3 X visuals (for mesa 9.2.5 it was about 100)
glxinfo return 0 GLX visuals and all GLXFBConfigs have VisDepth = 0

Traced in libGL.so (glxect.c):
GetVisualConfigs returns 0 visuals.

Answering this question would help:
Where in mesa creating/getting information about visuals is done?

XOrg.O.log shows no error.


I suspect the problem is in radeonsi_drv.so, but for sure it's in Mesa.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3029 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
@ 2015-09-18  7:25 ` bugzilla-daemon
  2015-09-18 10:29 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-18  7:25 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 483 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

mikolaj.chadzynski@mobica.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|medium                      |high
                 CC|                            |mikolaj.chadzynski@mobica.c
                   |                            |om

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1306 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
  2015-09-18  7:25 ` bugzilla-daemon
@ 2015-09-18 10:29 ` bugzilla-daemon
  2015-09-18 10:29 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-18 10:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 245 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

--- Comment #1 from mikolaj.chadzynski@mobica.com ---
ERRATA: radeon_si_dri.so not radeon_si_drv.so in last sentence

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1162 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
  2015-09-18  7:25 ` bugzilla-daemon
  2015-09-18 10:29 ` bugzilla-daemon
@ 2015-09-18 10:29 ` bugzilla-daemon
  2015-09-18 10:51 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-18 10:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 222 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

--- Comment #2 from mikolaj.chadzynski@mobica.com ---
radeonsi_dri.so not radeonsi_drv.so :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1139 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-09-18 10:29 ` bugzilla-daemon
@ 2015-09-18 10:51 ` bugzilla-daemon
  2015-09-18 13:41 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-18 10:51 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 471 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

--- Comment #3 from Emil Velikov <emil.l.velikov@gmail.com> ---
Hi Mikolaj

Here are a few things to try (keep in mind that I'm not a radeon dev)
 - Afaics this is a PPC - is it big endian (BE) system ?
 - Do try a later mesa 10.6.x or 11.0.x. Last (and final) 10.1.x was rolled out
~15 months ago, plus we had some BE fixes that just landed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1393 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-09-18 10:51 ` bugzilla-daemon
@ 2015-09-18 13:41 ` bugzilla-daemon
  2015-09-18 17:31 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-18 13:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 478 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

--- Comment #4 from mikolaj.chadzynski@mobica.com ---
I've tried mesa 10.4.4 with the same result (yes this is PPC). And I haven't
tried higher version since it needs Xserver update.
Anyway it displays visuals correctly for mesa 9.2.5.
So it's communication between radeonsi_dri.so and xserver which is broken (even
xdpyinfo shows only 3 X visuals).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1395 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-09-18 13:41 ` bugzilla-daemon
@ 2015-09-18 17:31 ` bugzilla-daemon
  2015-09-25  8:58 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-18 17:31 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 592 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

--- Comment #5 from Emil Velikov <emil.l.velikov@gmail.com> ---
So it does sound like you're having a BE system. Handful of fixes for those
just landed in 10.6/11.0 I'm afraid.

Although I'm not sure why newer xserver will be required... guessing you're
running a old (pre glamor, or out-of-tree glamor) one ? If you're worried about
messing up your setup you can always grab a recent enough livecd or install
Fedora rawhide/Archlinux/etc in a separate partition.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1514 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2015-09-18 17:31 ` bugzilla-daemon
@ 2015-09-25  8:58 ` bugzilla-daemon
  2015-09-25 11:40 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-25  8:58 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 439 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

--- Comment #6 from mikolaj.chadzynski@mobica.com ---
(In reply to Emil Velikov from comment #5)
I've tried mesa 10.6.1 and results are the same (x-server 1.15.0, glamor 0.6.0)
Are there any dependencies of the version required which are not checked e.g.
xf86 driver or drm which can be a cause of this error ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1395 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2015-09-25  8:58 ` bugzilla-daemon
@ 2015-09-25 11:40 ` bugzilla-daemon
  2015-09-28  8:46 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-25 11:40 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1305 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

--- Comment #7 from mikolaj.chadzynski@mobica.com ---
It looks like the screen created by gallium/drivers/radeon/si_pipe.c is not
getting correct configuration from the driver (or display controller ?).
Which part of the system is responsible for creating visuals in the screen ?

XGetVisualInfo from XServer is returning only 3 X visuals (two 24bits depth and
1 32 bits depth) - checked with xdpyinfo.

Then xGLXGetVisualConfigs returns 0 visuals - checked with glxinfo  which shows
0 GLX Visuals and al GLXFBConfigs have VisDepth = 0.

I'm using Yocto distribution for PPC where the default mesa is 9.2.5.
Here is my investigation with different versions of mesa:
9.2.5:
Visuals are created correctly and SW rendering works but switching on HW
rendering (loading radeonsi_dri.so) is causing GPU error.
10.1.2:
No GLX Visuals unable to run SW rendering, GPU error while loading
radeonsi_dri.so
10.4.4:
No GLX Visuals, No gpu error
10.6.1:
No GLX Visuals, No gpu error

In all cases there is no error in XOrg.0.log. It shows:
...
RADEON(0): Direct rendering enabled
RADEON(0): Use GLAMOR acceleration.
RADEON(0): Acceleration enabled
...
AIGLX: Loaded and initialized radeonsi

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2222 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2015-09-25 11:40 ` bugzilla-daemon
@ 2015-09-28  8:46 ` bugzilla-daemon
  2016-01-03  1:02 ` bugzilla-daemon
  2018-08-31  6:23 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-09-28  8:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 452 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

--- Comment #8 from Michel Dänzer <michel@daenzer.net> ---
See bug 71789 and
http://lists.freedesktop.org/archives/mesa-dev/2015-September/095517.html for
some context.

Note that this is only the tip of an iceberg of issues for the radeonsi driver
on big endian hosts. Don't expect this to work anytime soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1633 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2015-09-28  8:46 ` bugzilla-daemon
@ 2016-01-03  1:02 ` bugzilla-daemon
  2018-08-31  6:23 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-01-03  1:02 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 505 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

--- Comment #9 from Alex Perez <aperez@alexperez.com> ---
I don't think this problem is specific to radeonsi; With the very latest
git-built Mesa from today, I get the exact same problem with r600.
Interestingly, 3D acceleration works with 16-bit depth, albeit still with wonky
colors on Big Endian. 24 bit does not work at all with the very latest mesa
from git, as of today.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1421 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0
  2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2016-01-03  1:02 ` bugzilla-daemon
@ 2018-08-31  6:23 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-08-31  6:23 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 434 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92039

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1342 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2018-08-31  6:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-18  7:24 [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 bugzilla-daemon
2015-09-18  7:25 ` bugzilla-daemon
2015-09-18 10:29 ` bugzilla-daemon
2015-09-18 10:29 ` bugzilla-daemon
2015-09-18 10:51 ` bugzilla-daemon
2015-09-18 13:41 ` bugzilla-daemon
2015-09-18 17:31 ` bugzilla-daemon
2015-09-25  8:58 ` bugzilla-daemon
2015-09-25 11:40 ` bugzilla-daemon
2015-09-28  8:46 ` bugzilla-daemon
2016-01-03  1:02 ` bugzilla-daemon
2018-08-31  6:23 ` bugzilla-daemon

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.