From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 71789] New: [r300g] Visuals not found in (default) depth = 24
Date: Tue, 19 Nov 2013 14:05:03 +0000
Message-ID:
Priority
medium
Bug ID
71789
Assignee
dri-devel@lists.freedesktop.org
Summary
[r300g] Visuals not found in (default) depth = 24
Severity
normal
Classification
Unclassified
OS
OpenBSD
Reporter
mpi@openbsd.org
Hardware
PowerPC
Status
NEW
Version
9.2
Component
Drivers/Gallium/r300
Product
Mesa
Created attachment 89467 [details]
Xorg.log without configuration file
Without xorg.conf or with a pixel depth of 24 bits, any application linked to
libGL will fails to load the "r300" driver and after it the "swarst" driver
with the following message:
libGL error: failed to load driver: r300
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
This problem is present in all the Mesa 9.x release up to 9.2.3. But it is not
in the 8 (which segfault at some point), 7.11 was working without config file.
After a bit of investigation, I found that driConvertConfigs() returns NULL in
dri2CreateScreen() when trying to find matching visuals
(src/glx/dri_glx.c:450). However if I specify a depth of 16 bits in my
xorg.conf I cannot reproduce this problem.
This problem is present on OpenBSD -current (future 5.5) which has the drm
drivers synced with Ubuntu's linux 3.8 kernel.