Re: opengl pixel format regression

2006-08-23 Thread Roderick Colenbrander
> Hello
> 
> > Both of you try to remove the following code from
> src/winex11.drv/opengl.c:
> >     /* Aux buffers */
> >     pglXGetFBConfigAttrib(gdi_display, cfgs[fmt_index],
> GLX_AUX_BUFFERS,
> > &value); if (ppfd->cAuxBuffers && !value) {
> >       goto choose_exit;
> >     }
> 
> Is this code in current CVS/GIT? I'm currently using 0.9.19 and could not
> find
> the code in wine sources (gentoo).

I have fixed a bug related to the pixel format which should be in cvs now. So 
your bug might be fixed in cvs. Could you try it and could you also attach a 
log of glxinfo? I need that log to fix some other opengl issues and I don't 
have have data from cards like yours.

Thanks,
Roderick

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer




Re: opengl pixel format regression

2006-08-22 Thread Roderick Colenbrander
> Hello 
> > Your pixel format patches caused a regression in half-life 1 for me with
> > the fglrx drivers.
> 
> The same happend to me with opensource Intel drivers on a:
> $ lspci | grep VGA
> 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM
> Integrated 
> Graphics Device (rev 02)
> 
> > It refuses to start in opengl mode and 
> > reports "ChoosePixelFormat failed", and then comes up in software(ddraw)
> > mode. The d3d mode still works fine. This problem also does not occur
> with
> > the open source radeon driver. I tested with fglrx 8.28.8 and fglrx
> > 8.27.10. Other games seem to work fine(appart of a few fglrx bugs)
> 
> Perfectly replicable on my system.
> 
> $ X -version
> X Window System Version 7.1.1
> 
> > What infos do you need to debug this? This is the format table glxinfo
> > reports:
> 
> $ glxinfo
> 
> [cut]
> 
>visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
>  id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
> --
> 0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
> 0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
> 0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
> 0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
> 0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
> 0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
> 0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
> 0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
> 0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
> 0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
> 0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
> 0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
> 0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
> 0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
> 0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
> 0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
> 

Both of you try to remove the following code from src/winex11.drv/opengl.c:
/* Aux buffers */
pglXGetFBConfigAttrib(gdi_display, cfgs[fmt_index], GLX_AUX_BUFFERS, 
&value);
if (ppfd->cAuxBuffers && !value) {
  goto choose_exit;
}

I compared both glxinfo outputs with the output from Nvidia cards and the main 
difference is that Nvidia cards advertise aux buffers and others not. Removing 
the code will likely fix the problem.

Roderick
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer




Re: opengl pixel format regression

2006-08-22 Thread Wojciech 'arab' Arabczyk
Hello 
> Your pixel format patches caused a regression in half-life 1 for me with
> the fglrx drivers.

The same happend to me with opensource Intel drivers on a:
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated 
Graphics Device (rev 02)

> It refuses to start in opengl mode and 
> reports "ChoosePixelFormat failed", and then comes up in software(ddraw)
> mode. The d3d mode still works fine. This problem also does not occur with
> the open source radeon driver. I tested with fglrx 8.28.8 and fglrx
> 8.27.10. Other games seem to work fine(appart of a few fglrx bugs)

Perfectly replicable on my system.

$ X -version
X Window System Version 7.1.1

> What infos do you need to debug this? This is the format table glxinfo
> reports:

$ glxinfo

[cut]

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
--
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow


-- 
Wojciech Arabczyk :: http://www.arabek.net :: jid:[EMAIL PROTECTED]
Administrator: http://www.szluug.org & http://www.trron.pl




opengl pixel format regression

2006-08-21 Thread Stefan Dösinger
Hi Roderick,
Your pixel format patches caused a regression in half-life 1 for me with the 
fglrx drivers. It refuses to start in opengl mode and 
reports "ChoosePixelFormat failed", and then comes up in software(ddraw) 
mode. The d3d mode still works fine. This problem also does not occur with 
the open source radeon driver. I tested with fglrx 8.28.8 and fglrx 8.27.10. 
Other games seem to work fine(appart of a few fglrx bugs)

What infos do you need to debug this? This is the format table glxinfo 
reports:

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
--
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None


pgp7akDmNCWyn.pgp
Description: PGP signature