From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92039] glxinfo: Error: couldn't find RGB GLX visual or fbconfig; GetVisualConfigs returns 0 visuals; All fbconfigs have VisDepth = 0 Date: Fri, 25 Sep 2015 11:40:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0935621365==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1DBEF6F084 for ; Fri, 25 Sep 2015 04:40:05 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0935621365== Content-Type: multipart/alternative; boundary="1443181204.dF2165EB0.21546"; charset="UTF-8" --1443181204.dF2165EB0.21546 Date: Fri, 25 Sep 2015 11:40:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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. --1443181204.dF2165EB0.21546 Date: Fri, 25 Sep 2015 11:40:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 7 on bug 92039 from
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.
--1443181204.dF2165EB0.21546-- --===============0935621365== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0935621365==--