[ros-kernel] David Recent Video Card Support Changes

Filip Navara xnavara at volny.cz
Mon Mar 8 15:39:52 CET 2004


welch at boltblue.com wrote:

>Quoting "welch at boltblue.com" <welch at boltblue.com>:
>  
>
>The debug messages are left in \systemroot\debug.log if anyone was wondering.
>This facility is quite useful for saving messages printing while the system
>is in graphics mode - however the most recent messages might not make it to
>disk if the system bugchecks.
>  
>
Quoting myself:

Filip Navara wrote:

...

> If you have implemented all necessary functions already, comment out 
> NDEBUG in drivers/video/videoprt/videoprt.h and 
> subsys/win32k/objects/dc.c and rebuild VideoPrt.sys/Win32k.sys. Then 
> run it and analyze the debug log (Note: On real HW you can use 
> /DEBUGPORT=FILE, though it has still a lot of problems and the last 
> messages are missing.).

Oh, one thing I forgot to tell about debugging video drivers on real HW. 
It's now possible to fallback on VGA driver when the other drivers fails 
and so you can boot ReactOS up to the state where the debug log is long 
enough to contain all usefull information.

All you need is to correctly setup the registry:

--- bootdata/hivesys.inf    14 Feb 2004 02:41:53 -0000    1.39
+++ bootdata/hivesys.inf    6 Mar 2004 09:47:07 -0000
@@ -64,6 +64,7 @@
 "Debug", \
 "Video Init", \
 "Video", \
+ "Video Save", \
 "File System", \
 "Event log", \
 "NDIS", \
@@ -496,10 +497,9 @@
HKLM,"SYSTEM\CurrentControlSet\Services\Vfatfs","Start",0x00010001,0x00000000 

HKLM,"SYSTEM\CurrentControlSet\Services\Vfatfs","Type",0x00010001,0x00000002 


-
; VGA miniport driver
HKLM,"SYSTEM\CurrentControlSet\Services\Vga","ErrorControl",0x00010001,0x00000000 

-HKLM,"SYSTEM\CurrentControlSet\Services\Vga","Group",0x00000000,"Video"
+HKLM,"SYSTEM\CurrentControlSet\Services\Vga","Group",0x00000000,"Video 
Save"
HKLM,"SYSTEM\CurrentControlSet\Services\Vga","ImagePath",0x00020000,"system32\drivers\vgamp.sys" 

HKLM,"SYSTEM\CurrentControlSet\Services\Vga","Start",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\Vga","Type",0x00010001,0x00000001

Regards,
Filip



More information about the Ros-kernel mailing list