Regression in Half life

Stefan Dösinger stefandoesinger at gmx.at
Fri May 6 04:08:27 CDT 2005


Am Freitag, 6. Mai 2005 04:28 schrieb Tom Wickline:
> On 5/5/05, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> > Hello,
> > These two patches cause a regression in Half-Life (Version 1.1.1.0):
> >
> > (1)http://www.winehq.org/hypermail/wine-cvs/2005/04/0307.html
> > (2)http://www.winehq.org/hypermail/wine-cvs/2005/04/0308.html
> >
> > Half-life reports "ChoosePixelFormat failed", followed by "The Selected
> > OpenGL mode is not supported by your card" when starting the engine. Wine
> > prints the following error:
> >
> > err:opengl:X11DRV_ChoosePixelFormat glXChooseFBConfig returns NULL
> > (glError: 0)
> >
> > Reversing the above 2 patches fixes the problem. Reversing patch 1 only
> > causes a crash, if I reverse only patch 2 the problem still exists.
> >
> > Cheers,
> > Stefan
>
> <snip>
>
> > fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from
> > 32 to 16
> > fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from
> > 32 to 16
> > fixme:mmtime:timeEndPeriod Stub; we set our timer resolution at minimum
>
> If you change your BPP from 16 to 24 in your X config it should work.

I am already running with 24bpp. From my xorg.cfg:
 
Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1024x768" "800x600" "640x480" "1400x1050" "1280x1024" "1280x960"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1400x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1400x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"

		#Virtual 3200 2400
		Depth     24
		Modes    "1400x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection





More information about the wine-devel mailing list