[quake3-bugzilla] [Bug 4026] New: On some XP machines SDL_INIT_VIDEO fails unless using windib so we should have some method of falling back to windib even if we've tried directx

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Mon Mar 30 22:34:12 EDT 2009


http://bugzilla.icculus.org/show_bug.cgi?id=4026

           Summary: On some XP machines SDL_INIT_VIDEO fails unless using
                    windib so we should have some method of falling back
                    to windib even if we've tried directx
           Product: Quake 3
           Version: 1.36
          Platform: PC
               URL: http://pastebin.com/m5ed67af5
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Video
        AssignedTo: tim at ngus.net
        ReportedBy: zakk at icculus.org
         QAContact: quake3-bugzilla at icculus.org


set SDL_VIDEODRIVER=windib
is the only way to make ioquake3 work by default on some (windows xp) boxes,
I'm still not sure WHY this happens or how a machine gets broken to the point
where this happens. But...

I understand that ioquake3 currently tries forcing windib at SDL_INIT_VIDEO
time if in_mouse = -1 or directx if in_mouse isn't -1.

However we should unset the variable if SDL_Init() fails and try again, and
pray it works at all, no matter how the mouse responds

If you don't use that on this machine you get...:

ioq3 1.35_SVN1507 win_mingw-x86 Mar  2 2009
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Joe\Application Data\Quake3/baseq3
C:\Program Files\ioquake3\baseq3\pak8.pk3 (9 files)
C:\Program Files\ioquake3\baseq3\pak7.pk3 (4 files)
C:\Program Files\ioquake3\baseq3\pak6.pk3 (64 files)
C:\Program Files\ioquake3\baseq3\pak5.pk3 (7 files)
C:\Program Files\ioquake3\baseq3\pak4.pk3 (272 files)
C:\Program Files\ioquake3\baseq3\pak3.pk3 (4 files)
C:\Program Files\ioquake3\baseq3\pak2.pk3 (148 files)
C:\Program Files\ioquake3\baseq3\pak1.pk3 (26 files)
C:\Program Files\ioquake3\baseq3\pak0.pk3 (3539 files)
C:\Program Files\ioquake3/baseq3

----------------------
4073 files in pk3 files
execing default.cfg
execing q3config.cfg
com_zoneMegs will be changed upon restarting.
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
SDL_Init( SDL_INIT_VIDEO ) FAILED (No available video device)
Setting r_mode 8 failed, falling back on r_mode 3
SDL_Init( SDL_INIT_VIDEO ) FAILED (No available video device)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list