QEMU Video Driver (Cirrus Logic 54xx)

From ReactOS Wiki
Jump to: navigation, search

There is no 2000/XP version of CL-54XX driver (needed for QEMU), only 9x/NT4.

Cirrus Logic 54xx Driver in current trunk

Automated installation doesnt work.

Manual installation is required. Copy the registry keys from section below and put them into boot\bootdata\hivesys_i386.inf Then edit txtsetup.sif, adding the following, into [Map.Display] section: cl = "CL54xx" into [Display] section: cl = "Cirrus Logic 54xx (800x600x16)",,CL54xx,800,600,16

Finally, you need to edit boot\bootdata\packages\reactos.dff and add lines: modules\windows\cl54xx.sys 2 optional modules\windows\cl54xx.dll 1 optional

Then you have to create windows directory in modules and place cl-54xx driver files inside. Rebuild and select Cirrus as graphics setting in 1st stage.

(see Bug 2286) <by Caemyr>

Cirrus Logic 54xx Driver installation for ReactOS 0.3.4+

Add following lines in hivesys_i386.inf file

; QEMU SVGA Driver
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","ErrorControl",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","Group",0x00000000,"Video Save"
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","ImagePath",0x00020000,"system32\drivers\cl54xx.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","Start",0x00010001,0x00000003
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","Type",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX\Device0","InstalledDisplayDrivers",0x00010000,"CL54XX"
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.VgaCompatible",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.VRefresh",0x00010001,60
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.BitsPerPel",0x00010001,16
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.Interlaced",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.XResolution",0x00010001,800
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.YResolution",0x00010001,600

Cirrus Logic 54xx Driver installation for ReactOS 0.2.9+

The Cirrus Logic 54xx driver is available from multiple web sites. Download the version for Windows NT4/2000/XP

Copy cirrus.inf and cl54xx.sys files to Reactos\inf directory.

The driver will be automatically installed at Reactos boot.

Cirrus Logic 54xx Driver installation for Reactos 0.2.8 and previous releases

Add following lines in hivesys.inf file

; QEMU SVGA Driver
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","ErrorControl",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","Group",0x00000000,"Video Save SVGA"
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","ImagePath",0x00020000,"system32\drivers\cl54xx.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","Start",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","Type",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX","Tag",0x00010001,0x0000000C
HKLM,"SYSTEM\CurrentControlSet\Services\CL54XX\Device0","InstalledDisplayDrivers",0x00010000,"CL54XX"
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.VgaCompatible",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.VRefresh",0x00010001,60
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.BitsPerPel",0x00010001,16
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.Interlaced",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.XResolution",0x00010001,800
HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0","DefaultSettings.YResolution",0x00010001,600

Import the following registry file

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CL54XX]
"ErrorControl"=dword:00000001
"Group"="Video Save SVGA"
"ImagePath"="system32\\drivers\\cl54xx.sys"
"Start"=dword:00000001
"Type"=dword:00000001
"Tag"=dword:0000000c

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CL54XX\Device0]
"InstalledDisplayDrivers"=hex(7):43,4c,35,34,58,58,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\CL54XX\Device0]
"DefaultSettings.VgaCompatible"=dword:00000001
"DefaultSettings.VRefresh"=dword:0000003c
"DefaultSettings.BitsPerPel"=dword:00000010
"DefaultSettings.Interlaced"=dword:00000000
"DefaultSettings.XResolution"=dword:00000320
"DefaultSettings.YResolution"=dword:00000258

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\VBE]
"Start"=dword:00000004