Hervé Poussineau
d117765e71
[BOCHSMP] Move related registry entries to bochsmp directory
2022-11-11 15:14:13 +01:00
Hervé Poussineau
a33719500c
[BOCHSMP] Add driver for QEMU and Bochs graphic card
2022-10-17 18:20:22 +02:00
Hervé Poussineau
f0b8a1730e
[VIDEOPRT] Correctly detach from device stack in case of failure
2022-10-15 15:06:53 +02:00
Hervé Poussineau
22d8c0fd54
[FRAMEBUF] Implement required DirectDraw functions
...
However, do not support any optional callback.
dxdiag now accepts to run DirectDraw tests.
2022-09-26 23:45:56 +02:00
Stanislav Motylkov
bbccad0ed6
[INF] Set manufacturer as ReactOS Project for consistency
...
Also make it non-localizable. CORE-18191
2022-06-27 17:00:18 +03:00
Stanislav Motylkov
26b88af642
[WIN32SS] Add missing code parts for monitor handling
...
- [VIDEOPRT] Add stub for IOCTL_VIDEO_ENUM_MONITOR_PDO.
- [WIN32SS:ENG] Add missing checks and comments.
- [WIN32SS:NTUSER] Add missing monitor handling and comments.
Addendum to 31827c43
. CORE-18197 CORE-11715
2022-05-30 15:28:44 +03:00
Stanislav Motylkov
31827c43b6
[WIN32SS] EnumDisplayDevices: Fill DeviceID field properly
...
- [VIDEOPRT] Return the real PhysicalDeviceObject in Win32k callbacks.
- [WIN32SS:ENG] Pass PhysDeviceObject into the GraphicsDevice structure
and rename the destination field accordingly.
- [WIN32SS:NTUSER] Request hardware identifiers from device PDO and
fill DISPLAY_DEVICE's DeviceID field with the first identifier.
Now it's correctly passed to the usermode, and Desktop Propertes applet
can open the video adapter device properties.
Thanks to Hervé Poussineau for the help.
CORE-18197 CORE-11715
2022-05-30 15:28:21 +03:00
Stanislav Motylkov
17e0e4428c
[PC98VID] Fix video driver settings
...
- Store settings in non hardware-profile registry key.
- Rename driver file to vgapnp.sys to keep in sync with VBE.
- This makes PC-98 video driver working again.
Addendum to 073a1ea3
and f03750de
. CORE-18201 CORE-17977
2022-05-27 18:56:13 +03:00
Stanislav Motylkov
5471363801
[XBOXVMP] Fix video driver settings
...
- Store settings in non hardware-profile registry key.
- This makes Xbox video driver working again.
Addendum to f03750de
. CORE-16216
2022-05-27 18:54:20 +03:00
Hermès Bélusca-Maïto
52275a92bd
[WIN32SS:DISPLAY] Fix some return values (use correct types) in display drivers.
...
See for example, in DrvEnableSurface(), etc.
TODO: framebufacc's comments need to be "translated" into actual English...
2022-03-19 17:51:44 +01:00
Hervé Poussineau
963e76fd60
[VIDEOPRT] Fix typo: DEViCEMAP -> DEVICEMAP
2022-01-26 19:30:32 +01:00
Hervé Poussineau
1add6de3e8
[VIDEOPRT] Change case of device registry path written to registry
...
Change it it two places, to handle when 'UseNewKey' is enabled or disabled.
This fixes the Spice guest agent, which searches 'System' case-sensitively in it.
2022-01-26 19:30:32 +01:00
Hervé Poussineau
b80d806e05
[VIDEOPRT] Honour UseNewKey setting in registry
...
This changes:
- which device key is written to DEVICEMAP\Video
- which registry key is used in VideoPortSetRegistryParameters()
CORE-17896
2022-01-26 19:30:32 +01:00
Hervé Poussineau
2538583dbe
[VIDEOPRT] Query children only when device has been opened
...
HwGetVideoChildDescriptor callback must be called only after HwInitialize.
CORE-17979
2022-01-06 22:02:07 +01:00
Hervé Poussineau
983d9a1c2a
[VBEMP] Disable reporting multiple monitors
...
It has never worked, and only leads to some infinite loops with some hardware or BIOS configurations.
2022-01-06 20:16:12 +01:00
Hervé Poussineau
f03750de6a
[VBEMP] Rename to vgapnp.sys
...
- rename driver vbemp.sys to vgapnp.sys
- rename service VBE to vga
- store settings in non hardware-profile registry key
2022-01-06 20:16:12 +01:00
Hervé Poussineau
073a1ea34c
[VGAMP] Rename to vga.sys
...
- rename driver vgamp.sys to vga.sys
- rename service Vga to VgaSave
- store settings in non hardware-profile registry key
2022-01-06 20:16:12 +01:00
Hervé Poussineau
0d9386d0e0
[VGA_NEW] Disable it for now
2022-01-06 17:47:45 +01:00
Serge Gautherie
40b9ee0ae0
[VIDEOPRT] Match Zw*Key() DesiredAccess values ( #4145 )
...
Even if the kernel mode does not care, this makes it clear.
2022-01-06 04:04:09 +03:00
Hervé Poussineau
5dc56dd1d6
Revert "[VIDEOPRT] Fix updating of new registry path values"
...
This reverts commit ecf3416f49
.
This commit was meant to fix CORE-17688. While its effectively fixed
the problem, it introduced another regression CORE-17719.
In the mean time, commit c05a45e17e
fixed
things properly.
CORE-17719
2021-12-08 18:36:34 +01:00
Hervé Poussineau
cd48bc7af8
[LIVECD] Add more registry entries for vbemp/vgamp
...
CORE-17579
2021-10-25 21:44:45 +02:00
Hervé Poussineau
ea8cbbd4ca
[VIDEOPRT] Correctly return failure in IRP_MJ_CREATE when HwInitialize fails
...
CORE-17789
2021-10-14 23:39:31 +02:00
Hervé Poussineau
807af6a4d1
[VIDEOPRT] Correctly return failure when adapter can't be found
...
This was wrong in both call chains (PNP case or legacy case)
HwFindAdapter returns a VP_STATUS, while we were expecting a NTSTATUS.
CORE-17789
2021-10-14 23:39:31 +02:00
Hervé Poussineau
87b74f2901
[VIDEOPRT] Correctly report legacy resources in IRP_MN_FILTER_RESOURCE_REQUIREMENTS
...
It was broken since first commit 25eae4b916
(r54237)
CORE-17789
2021-10-14 23:39:31 +02:00
Hervé Poussineau
951dc66c66
[VGAMP] Correctly check and report legacy resources (VGA I/O ports and memory)
...
As we are a non PNP driver, the call chain will be
DriverEntry -> VidePortInitialize -> VideoPortFindAdapter -> HwFindAdapter.
If legacy resources are available, we will fail VGAFindAdapter,
so DriverEntry will fail, so vgamp.sys driver won't be used.
CORE-17789
2021-10-14 23:39:30 +02:00
Hervé Poussineau
6dd94572e5
[VBEMP] Correctly report legacy resources (VGA I/O ports and memory)
...
CORE-17789
2021-10-14 23:39:30 +02:00
Hervé Poussineau
3379de3924
[VBEMP] Fail HwInitialize (ie IRP_MJ_CREATE) when /NOVESA switch is present
...
In that case, we want a simple VGA driver to drive the graphic adapter.
CORE-17789
2021-10-14 23:39:30 +02:00
Hervé Poussineau
92d0dd3633
[VIDEOPRT] Create and setup new registry key only for non-legacy drivers
...
CORE-17734
2021-09-29 22:56:35 +02:00
Hermès Bélusca-Maïto
9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
...
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00
Timo Kreuzer
ecf3416f49
[VIDEOPRT] Fix updating of new registry path values
...
CORE-17688
When a new driver is installed for the same device (like VBoxVideo), it uses the same hardware enum registry key and thus reuses the same DisplayId and the same display registry key. Therefore we need to update the setting in that key, even when the key already exists.
This seems to work good and not cause any issues, but testing indicated that on Windows some values are only updated, when the driver has changed. If neccessary, this can be achieved by updating and querying the ActiveService value in the device enum key (e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_80EE&DEV_BEEF&SUSYS_00000000&REV_00\3&267a616a&0&10\Control: ActiveService). If that doesn't match the current device name (from DriverExtension->RegistryPath) the values should be copied over.
2021-07-27 14:44:14 +02:00
Hervé Poussineau
8379c87b0b
[VIDEOPRT] Write correct MaxObjectNumber to registry
...
VideoPortMaxObjectNumber variable will be updated later in the function, if everything went fine.
2021-07-10 19:03:37 +02:00
Timo Kreuzer
49c16e661a
[VIDEOPRT] Do not attach secondary devices to the device stack
...
This fixes display on the primary screen.
2021-07-10 16:27:44 +02:00
Hervé Poussineau
e9b5b22a8c
[VIDEOPRT] Implement VideoPortCreateSecondaryDisplay
2021-07-10 16:27:44 +02:00
Timo Kreuzer
545352c655
[VIDEOPRT] Fix adapter id
2021-07-10 16:27:44 +02:00
Timo Kreuzer
af314557c0
[VIDEOPRT] Use new registry path
2021-07-10 16:27:44 +02:00
Timo Kreuzer
066337dc84
[VIDEOPRT] Refactor device map key creation
2021-07-10 16:27:44 +02:00
Hervé Poussineau
b5966977ac
[VBEMP] Remove too verbose log, when debug is enabled in videoprt
2021-07-10 16:27:44 +02:00
Serge Gautherie
64a72787f2
[VIDEOPRT] Fix 'Irp->IoStatus.Information' copypasta ( #3777 )
...
Addendum to 25eae4b
(r54237).
CORE-17651
2021-07-06 12:32:23 +03:00
Hervé Poussineau
93f986463a
[VBEMP][VGAMP] Correctly fill VdmPhysicalVideoMemoryAddress/VdmPhysicalVideoMemoryLength
...
These variables must be filled by miniport if miniport is VGA-compatible.
2021-07-05 23:46:16 +02:00
Hervé Poussineau
8d24de7805
[BOOTDATA][VBEMP] Merge duplicated registry settings to vbemp_reg.inf
2021-07-05 23:44:35 +02:00
Hervé Poussineau
9b5d029c7a
[FRAMEBUF] Early return if we got 0 available mode from video driver
...
This prevents allocating 0 bytes of memory a few lines later.
2021-07-05 23:44:35 +02:00
Eric Kohl
4db8b82aeb
[VIDEOPRT] Fix monitor ID decoding issues
2021-06-06 21:27:00 +02:00
Hervé Poussineau
08e9000496
[VBE] Check if DDC is supported before trying to read EDID
...
Also set Edx to 0 when reading Edid, as per specification.
CORE-16695
2021-06-05 23:38:05 +02:00
Hervé Poussineau
fa54704158
[VIDEOPRT] Report monitor name instead of the generic 'Monitor' string
2021-06-05 23:38:05 +02:00
Hervé Poussineau
2ae6bd7453
[VIDEOPRT] Give to each device its own entry in HKLM\SYSTEM\CurrentControlSet\Services
...
This is required if you have two graphic cards using the same driver.
2021-06-05 23:38:05 +02:00
Stanislav Motylkov
ffa7cfc1ff
[INF] Remove remnants of XboxVmp driver which has its own INF file
2021-05-18 20:22:22 +03:00
Dmitry Borisov
f7d825e620
[PC98VID] Fix MSVC 2015 build for PC-98 target
...
Addendum to 3adf450867
Also isolate the constant structures into page section
and restore the previous sections for start IO and entrypoint routines.
2021-05-18 19:30:29 +03:00
Stanislav Motylkov
0bd8a2110b
[WIN32SS] Always build all video miniport drivers
...
But include registry changes and INF files depending on SARCH variable.
This commit is expected to uncover pc98vid build error on MSVC 2015.
Addendum to 8c475e4
. CORE-17529
2021-05-18 19:24:57 +03:00
Stanislav Motylkov
81987761d9
[PC98VID] Use unique target name but rename as vga.sys
...
This allows building pc98vid driver without conflict with vga_new.
2021-05-18 19:24:35 +03:00
Jérôme Gardou
3adf450867
[REACTOS] Addendum to 5c7ce4475e
- Fix MSVC 2015 build
...
Put data into PAGEDATA or INITDATA sections
Keep section declaration for prototypes
CORE-17540
2021-05-12 11:04:29 +02:00