No brightness correction in Open-Arena (also xdriinfo different than glxinfo)

Shunichi Fuji palglowr at gmail.com
Sun Feb 22 03:51:12 PST 2009


we are disabling some gamma functions since 91f73b79b7ae64e5b846d1efeb470bb61a913720.
you can use randr gamma functions only.

also you may want to avoid its changes while discussion continues.

--- a/hw/xfree86/common/xf86cmap.c
+++ b/hw/xfree86/common/xf86cmap.c
@@ -142,9 +142,11 @@ Bool xf86HandleColormaps(
     int *indices; 
     int elements;
 
+#if 0
     /* If we support a better colormap system, then pretend we succeeded. */
     if (xf86_crtc_supports_gamma(pScrn))
 	return TRUE;
+#endif
 
     if(!maxColors || !sigRGBbits || !loadPalette)
 	return FALSE;


On Sat, 21 Feb 2009 10:03:12 +0100
Mateusz Kaduk <mateusz.kaduk at gmail.com> wrote:

> Hi,
> I am using latest master git libdrm/mesa/xf86-intel/xorg-server along with
> latest 2.6.29-rc4-drm-intel-next-18.02.09
> When I run OpenArena 0.8.1-2, I see that brightness setting is not working.
> Whole game is really dark, and changing brightness settings does not affect
> that. (max brightness = still very dark, no changes)
> 
> LIBGL_DEBUG=verbose glxinfo
> name of display: :0.0
> libGL: OpenDriver: trying /usr/lib/dri/tls/i965_dri.so
> libGL: OpenDriver: trying /usr/lib/dri/i965_dri.so
> display: :0  screen: 0
> direct rendering: Yes
> ...
> OpenGL vendor string: Tungsten Graphics, Inc
> OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090114
> OpenGL version string: 2.1 Mesa 7.5-devel
> OpenGL shading language version string: 1.20
> ...
> 
> Desktop brightness is maxed and laptop is connected to wire, moreover other
> games have correct brightness.
> 
> While glxinfo and glxgreas work fine.
> 
> xdriinfo reports
> Xlib:  extension "XFree86-DRI" missing on display ":0.0".
> Screen 0: not direct rendering capable.
> 
> For help, thanks in advance.
> 



More information about the xorg mailing list