On Tue, Aug 24, 2010 at 10:30:46PM +0000, Jacob Meuser wrote: > On Tue, Aug 24, 2010 at 10:27:37PM +0100, Stuart Henderson wrote: > > On 2010/08/24 20:29, Jacob Meuser wrote: > > > > > > This seems to be a bug intruduced with xorg 7.5 with this commit: > > > > > > http://cgit.freedesktop.org/xorg/xserver/commit/?id=91f73b79b7ae64e5b846d1efeb470bb61a913720 > > > > > > as reported here: > > > > > > http://bugzilla.libsdl.org/show_bug.cgi?id=971 > > > > > > quick fix (but wrong) here: > > > > > > http://www.mail-archive.com/[email protected]/msg05439.html > > > > > > > > > > > > At least that's my understanding. > > > > > > I use the quick and wrong fix and r_gamma works again. > > > > > > > > > > Checking the bug report there is also (comment 10) a patch for SDL > > > > > to support xrandr gamma ramps. (Note X extensions are by no means > > > > > promised, relying on them for functionality means this happens if the > > > > > one you depend on becomes deprecated). Does that also work for you? > > > > > > > > > > -0- > > > > > -- > > > > > It is not true that life is one damn thing after another -- it's one > > > > > damn thing over and over. > > > > > -- Edna St. Vincent Millay > > > > > > > > That patch works for me. > > > > So no need for the quick and wrong fix. > > > > I split the comment-10 patch into something that ports(7) can eat. > > > > > > > > Alf > > > > > > > > > > > > > I don't follow. please explain why *this port* needs SDL to have > > > patches. or does it affect other ports too? there are many ports > > > that use SDL. > > > > > > > Grepping over a (couple-of-months-old) unpacked ports src, the other > > ports using SDL that are in our tree don't use r_gamma. But from reading > > the other comments in the bug, if anything else was to start using it, > > it looks like they would need this patch too. > > what I don't get is that not everyone is seeing this ... I tried this port > on a fresh install of -current. >
I personally can not explain it because I have no insight into what is going on. However, it worked before (and has always worked since drm(4) is there as well as on Linux boxen with xorg radeon drivers and it broke on Linux too. With this patch (or that other hack) it works again ( -> looks like in Windoze)) Of course that does not mean that it should go in/does not break other things. If you do not see it on your machine, you may have set r_ignorehwgamma set to 1. I tried xgamma and although it lets me adjust rgb brightness and general brightness, it does not come close to what q3 is supposed to look like. Most obvious on armor items and brightskins (OSP mod and others). Alf > -- > [email protected] > SDF Public Access UNIX System - http://sdf.lonestar.org >
