PC Review


Reply
Thread Tools Rate Thread

display mirror driver problem

 
 
bubzhang news
Guest
Posts: n/a
 
      30th Oct 2003
I write a display mirror driver for capturing screen .
In this driver, I create a share memory and force GDI to output to this
memory with 16bit bitmap format. In user mode application, I read this
memory again to view the bitmap.

But, there is something wrong when the whole system memory utilization
becomes high, the bitmap becomes incorrect partly.

I'm sure it's the driver bug, Not user mode application bug!

Someone help me?!



 
Reply With Quote
 
 
 
 
Tadd
Guest
Posts: n/a
 
      3rd Nov 2003
How are you sharing (locking, etc.) your memory?

Your memory size and how it might be paged or swapped would be the first
thing I'd investigate and trial & error (for example, try allocating it to
be much larger -- do you see corruption earlier? i.e., maybe not on screen,
but if you zero the off-screen bytes and perhaps put in a quick loop to
check and ensure all those are zero... it being dependent on high system mem
usage seems very suspect)

"bubzhang news" wrote:
> I write a display mirror driver for capturing screen .
> In this driver, I create a share memory and force GDI to output to this
> memory with 16bit bitmap format. In user mode application, I read this
> memory again to view the bitmap.
>
> But, there is something wrong when the whole system memory utilization
> becomes high, the bitmap becomes incorrect partly.
>
> I'm sure it's the driver bug, Not user mode application bug!
>
> Someone help me?!



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JOB: display mirror driver developer assaf Windows XP Drivers 0 7th Sep 2005 12:58 AM
Can the display mirror driver call into the original display card's DrvEnablePDEV? lucy Windows XP Drivers 2 26th Aug 2004 07:11 PM
HELP NEEDED: Mirror Display driver problem... Nadav Windows XP Drivers 1 28th Feb 2004 06:46 AM
Display Mirror Driver Problem Nadav Windows XP Drivers 6 15th Feb 2004 09:06 PM
display mirror driver problem bubzhang news Windows XP Video 0 28th Oct 2003 02:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:39 PM.