DriverHeaven.net

 
Looking for the skin chooser?
 
 
  • Home

  • Reviews

  • Articles

  • News

  • Tools

  • GamingHeaven

  • Forums

  • Network

 

Go Back   DriverHeaven.net > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Bug Reports


Reply
 
LinkBack (24) Thread Tools
Old Aug 19, 2009, 06:55 PM   #31
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,037
Rep Power: 56
Eugene Gavrilov is just super!Eugene Gavrilov is just super!Eugene Gavrilov is just super!Eugene Gavrilov is just super!Eugene Gavrilov is just super!Eugene Gavrilov is just super!Eugene Gavrilov is just super!

Îòâåò: KNOWN ISSUE: [Windows 7 with] 2gb or more RAM

btw, http://www.microsoft.com/whdc/archive/highperf-drv.mspx

Quote:
or an example of a driver that implements its own DMA-channel object, see the SB16 sample audio adapter in the Windows DDK. If the constant OVERRIDE_DMA_CHANNEL is defined to be TRUE, the conditional compilation statements in the source code enable the implementation of a proprietary IDmaChannel object, which the driver uses in place of the default IDmaChannel object from the IPortWaveCyclic::NewXxxDmaChannel call.
I will have a look at this code later. Please review it, too.

Quote:
It is becoming increasingly common for a PC to contain more than 4 gigabytes of RAM, and on those systems it is possible to have mappings that are located higher than 4 GB in physical memory (in both the 64-bit CPU case and the x86 PAE case). To achieve the best performance on these machines, IHVs should create devices that support 64-bit addressing, otherwise data copying in software is required. This has historically been the case with devices that require 24-bit addressing on systems with more than 16 MB of RAM. Devices should use WaveCyclic instead of WavePci if they cannot read from or write to anywhere in physical memory. It is acceptable for a driver to make this decision at StartDevice time.
(Ibid.)

E.
Eugene Gavrilov is offline   Reply With Quote


Old Aug 19, 2009, 08:59 PM   #32
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 4,836
Rep Power: 41
Russ is a jewel in the roughRuss is a jewel in the roughRuss is a jewel in the rough

Re: KNOWN ISSUE: [Windows 7 with] 2gb or more RAM

The SB16 sample's IDMAChannel implementation appears to just call the base class implementation of each function and does not really implement any of the functionality itself. In any case it should prove useful to show how to get an initial IDMAChannel object to work with, and then you should only need to implement some of the functions (like (I assume) AllocateBuffer) and call the base class implementation for the rest.

The MSVAD sample also appears to have a partial implementation of a custom IDMAChannel.
Russ is offline   Reply With Quote
Old Aug 20, 2009, 05:48 AM   #33
DriverHeaven Newbie
 
Join Date: Aug 2009
Posts: 8
Rep Power: 0
thrillhouse82 has a spectacular aura aboutthrillhouse82 has a spectacular aura about

Re: KNOWN ISSUE: [Windows 7 with] 2gb or more RAM

Quote:
Originally Posted by Russ View Post
The SB16 sample's IDMAChannel implementation appears to just call the base class implementation of each function and does not really implement any of the functionality itself. In any case it should prove useful to show how to get an initial IDMAChannel object to work with, and then you should only need to implement some of the functions (like (I assume) AllocateBuffer) and call the base class implementation for the rest.
Yes, this is what it does. It is merely an example of how to provide a custom IDmaChannel implementation. BTW: AllocateBuffer doesn't need to be implemented since NewStream doesn't require this. You will see that in my sample code I'm currently preparing; it is done but I want it to at least load once and run a few simple tests before I send it to you guys. Is C++ fine or do you need C wrapper stuff?
thrillhouse82 is offline   Reply With Quote
Old Aug 21, 2009, 06:11 AM   #34
DriverHeaven Newbie
 
Join Date: Aug 2009
Posts: 8
Rep Power: 0
thrillhouse82 has a spectacular aura aboutthrillhouse82 has a spectacular aura about

Re: KNOWN ISSUE: [Windows 7 with] 2gb or more RAM

I uploaded the first version of the sample implementation. You can review it at http://home.arcor.de/infolchinger/CDmaChannel.cpp and http://home.arcor.de/infolchinger/CDmaChannel.h

I did some quick tests on a WinXP 1GB machine and it appears to do what it should. Tonight I will test it on a 4GB Win 7 machine. This will be the moment of truth since on this system, the current driver version will always fail with random noise. If the physical address of CDmaChannel is below 2G there, chances are that we soon have a driver that will work on all systems regardless of available memory.

Some notes about the source: It is written in C++ and brings its own new/delete operator. If your driver already defines operator new and operator delete, you can just delete the ones of the CDmaChannel class. The class itself can be instantiated by calling CDmaChannel::Create or (if you use C) by calling CreateCDmaChannel. Parameters are size in bytes and highest acceptable physical address. Therefore, it should be possible to replace NewMasterDmaChannel by a call to CDmaChannel::Create and return this object instead of the one created by NewMasterDmaChannel.

Results of the Win 7 Tests: Returned physical address was good on several tries.

Last edited by thrillhouse82; Aug 21, 2009 at 05:06 PM. Reason: Notes about the source/Win 7 results
thrillhouse82 is offline   Reply With Quote
Old Aug 21, 2009, 07:43 PM   #35
DriverHeaven Junior Member
 
Join Date: Dec 2007
Posts: 57
Rep Power: 0
RPGWiZaRD is on a distinguished road

Re: KNOWN ISSUE: [Windows 7 with] 2gb or more RAM

It's actually working? If so you've just extended kX driver's life at least another 10+ years (I hope). ^^

Last edited by RPGWiZaRD; Aug 21, 2009 at 07:49 PM.
RPGWiZaRD is offline   Reply With Quote
Old Aug 22, 2009, 03:15 AM   #36
DriverHeaven Newbie
 
Join Date: Aug 2009
Posts: 8
Rep Power: 0
thrillhouse82 has a spectacular aura aboutthrillhouse82 has a spectacular aura about

Re: KNOWN ISSUE: [Windows 7 with] 2gb or more RAM

Quote:
Originally Posted by RPGWiZaRD View Post
It's actually working? If so you've just extended kX driver's life at least another 10+ years (I hope). ^^
I don't know if it will work in the driver's context, but the sample object behaves as expected and returns usable addresses, so chances are quite good But usually it is a longer way from a working prototype to a production level driver than most people would expect.

Therefore, please be patient and give Eugene some time to integrate and test this approach before celebrating
thrillhouse82 is offline   Reply With Quote
Old Aug 22, 2009, 02:16 PM   #37
DH Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,884
Rep Power: 48
Lex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really niceLex Nahumury is just really nice

Re: KNOWN ISSUE: [Windows 7 with] 2gb or more RAM

Hi thrillhouse82,

If you haven't done so already, it's best to contact Eugene directly through email
kxproject@yandex.ru in regards to development details such as these.
Thank you.
Lex Nahumury is offline   Reply With Quote
Old Aug 29, 2009, 10:29 AM   #38
DriverHeaven Junior Member
 
Join Date: Dec 2007
Posts: 57
Rep Power: 0
RPGWiZaRD is on a distinguished road

Re: KNOWN ISSUE: [Windows 7 with] 2gb or more RAM

Any updates? I'm so curious to know if this bug gets fixed or not because I'm planning on upgrading comp soon so need to know if I'll have to buy a 2GB ram kit instead of 4GB.
RPGWiZaRD is offline   Reply With Quote
Old Sep 15, 2009, 12:13 AM   #39
DriverHeaven Junior Member
 
Join Date: May 2007
Posts: 21
Rep Power: 0
MegaByte is on a distinguished road

Re: KNOWN ISSUE: [Windows 7 with] 2gb or more RAM

I have upgraded my computer with more 2GB RAM and therefore fallen prey of this bug. Windows Vista x64 does work, but Windows 7 x64 doesn't.
MegaByte is offline   Reply With Quote
Reply

Bookmarks

Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://www.driverheaven.net/bug-reports/187840-known-issue-windows-7-2gb-more-ram.html
Posted By For Type Date
Board FrazPC.pl - Windows 7 i stary komp This thread Refback Oct 13, 2009 04:27 PM
Hardware Base - View topic - Koji RAM kupiti This thread Refback Oct 8, 2009 12:24 PM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Sep 19, 2009 01:19 AM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Sep 17, 2009 01:58 AM
Creative. Äðàéâåðû (#2) - [64] :: Äðàéâåðû è ïðîøèâêè BIOS :: Êîìïüþòåðíûé ôîðóì Ru.Board This thread Refback Sep 16, 2009 01:49 PM
Creative. Äðàéâåðû (#2) - [64] :: Äðàéâåðû è ïðîøèâêè BIOS :: Êîìïüþòåðíûé ôîðóì Ru.Board This thread Refback Sep 6, 2009 02:02 PM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 31, 2009 07:15 AM
Creative. Äðàéâåðû (#2) - [64] :: Äðàéâåðû è ïðîøèâêè BIOS :: Êîìïüþòåðíûé ôîðóì Ru.Board This thread Refback Aug 27, 2009 10:46 AM
Creative. Äðàéâåðû (#2) - [64] :: Äðàéâåðû è ïðîøèâêè BIOS :: Êîìïüþòåðíûé ôîðóì Ru.Board This thread Refback Aug 26, 2009 08:00 AM
Creative. Äðàéâåðû (#2) - [64] :: Äðàéâåðû è ïðîøèâêè BIOS :: Êîìïüþòåðíûé ôîðóì Ru.Board This thread Refback Aug 26, 2009 07:57 AM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 26, 2009 05:05 AM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 24, 2009 03:41 PM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 24, 2009 09:46 AM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 24, 2009 06:09 AM
Êîíôåðåíöèÿ Overclockers.ru • Ïðîñìîòð òåìû - Âñå î Creative Sound Blaster X-Fi (FAQ íà ïåðâîé ñòðàíèöå) This thread Refback Aug 21, 2009 07:59 AM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 21, 2009 03:54 AM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 21, 2009 02:54 AM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 20, 2009 09:59 PM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 20, 2009 06:52 PM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 20, 2009 02:40 PM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 20, 2009 02:39 PM
??????????? Overclockers.ru • ???????? ???? - ??? ? Creative Sound Blaster X-Fi (FAQ ?? ?????? ????????) This thread Refback Aug 20, 2009 02:31 PM
Creative. Äðàéâåðû (#2) - [62] :: Äðàéâåðû è ïðîøèâêè BIOS :: Êîìïüþòåðíûé ôîðóì Ru.Board This thread Refback Aug 18, 2009 02:08 PM
Creative. Äðàéâåðû (#2) - [62] :: Äðàéâåðû è ïðîøèâêè BIOS :: Êîìïüþòåðíûé ôîðóì Ru.Board This thread Refback Aug 18, 2009 12:12 PM