Contribute
Register

Dsdt override for eGPU

Joined
Dec 30, 2012
Messages
1
Motherboard
win 7
CPU
b800
Graphics
gtx 650
Mac
Classic Mac
Mobile Phone
Hi I dont understand how to correct the two error "must be multiple of alignment/granularity value" i my dsdt file. Without this im limited to 2GB RAM in my Fujitsu ah531 if i want setup eGPU with working optimus tweak. Sory for my bad english.
 

Attachments

Joined
May 1, 2013
Messages
2
Motherboard
Samsung R780 Laptop, I7, 8GB GT330M + EGPU GTX660oc2GB
CPU
i7 2600
Graphics
iGPU GT330M1GB + EGPU GTX660oc2GB
Mac
Classic Mac
Mobile Phone
(Someone please compile a file for me?) View attachment eGPU_FIX_DSDT.zip

Likewise I have similar problem, I have 62 errors upon addition of 'QWordMemory' (64-bit) entry PCI-e space creater code I added which is in the form of (exactly) insert this at line 3433 after TypeStatic)

QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x0000000000000000, // Granularity
0x0000000C20000000, // Range Minimum, set it to 48.5GB
0x0000000E0FFFFFFF, // Range Maximum, set it to 56.25GB
0x0000000000000000, // Translation Offset
0x00000001F0000000, // Length calculated by Range Max - Range Min.
,, , AddressRangeMemory, TypeStatic)


I seem not to be any good at getting a succesful compile? sure its just brackets and parses and the like? but I have never used dsdtse editor before so I would appreciate any help to compile the attached file and return the output files by attachment?

I will attach my not so ready to compile file and hope one of you experts can help to return a succesful compile file by attaching the good compiled output files please as us poor win7 mortals cant do it lol, This will then allow win 7 dsdt.aml fix to be loaded and thus allow for the PCI-e bus to allocate sufficient 36bit space for the eGPU to be loaded when booting with >4gb upwards of RAM otherwise the e-GPU is not even detected! method suggested from http://forum.notebookreview.com/e-gpu-external-graphics-discussion/418851-diy-egpu-experiences-894.html#post8377566 my 'in need of correcting' then to compile file is attached. Please help me to compile. :banghead:
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,028
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
(Someone please compile a file for me?) View attachment 54902

Likewise I have similar problem, I have 62 errors upon addition of 'QWordMemory' (64-bit) entry PCI-e space creater code I added which is in the form of (exactly) insert this at line 3433 after TypeStatic)

QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x0000000000000000, // Granularity
0x0000000C20000000, // Range Minimum, set it to 48.5GB
0x0000000E0FFFFFFF, // Range Maximum, set it to 56.25GB
0x0000000000000000, // Translation Offset
0x00000001F0000000, // Length calculated by Range Max - Range Min.
,, , AddressRangeMemory, TypeStatic)


I seem not to be any good at getting a succesful compile? sure its just brackets and parses and the like? but I have never used dsdtse editor before so I would appreciate any help to compile the attached file and return the output files by attachment?

I will attach my not so ready to compile file and hope one of you experts can help to return a succesful compile file by attaching the good compiled output files please as us poor win7 mortals cant do it lol, This will then allow win 7 dsdt.aml fix to be loaded and thus allow for the PCI-e bus to allocate sufficient 36bit space for the eGPU to be loaded when booting with >4gb upwards of RAM otherwise the e-GPU is not even detected! method suggested from http://forum.notebookreview.com/e-gpu-external-graphics-discussion/418851-diy-egpu-experiences-894.html#post8377566 my 'in need of correcting' then to compile file is attached. Please help me to compile. :banghead:
Apply these two patches:
Code:
# Fix parse errors
into device label GFX0 code_regex If\s\(CondRefOf\s\(FPED\)\)\s*\n\s*\{\s*\n\s*FPED\s\(\)\s*\n\s*\} remove_matched;

# rehabman:
# _PLD is supposed to return a variable length Package of Buffers

into_all all code_regex (Name\s*\(_PLD,\s*)Buffer(\s\(0x10\)[^\)]*) replaceall_matched
begin
%1Package() { Buffer%2}
end;
You should have clean compile at that point...
 
Joined
Jun 24, 2013
Messages
7
Motherboard
HP ProBook 450 G4
CPU
i7 7500U
Graphics
(1920x1080) Intel HD Graphics 620 1536 MB
Dsdt override for eGPU - hp probook 6570b (win7x64)

When I dissassemle I get this error message:

acpidump -b
iasl dsdt.dat


Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20150515-32
Copyright (c) 2000 - 2015 Intel Corporation


Binary file appears to be a valid ACPI table, disassembling
Reading ACPI table from file dsdt.dat - Length 00144553 (0x0234A9)
ACPI: DSDT 0x0000000000000000 0234A9 (v02 HPQOEM 17AB 00000001 INTL 20110112)
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)


Parsing completed


Found 2 external control methods, reparsing with new information
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)


Parsing completed
ACPI Warning: NsLookup: Type mismatch on HASH (RegionField), searching for (Buffer) (20150515/nsaccess-727)
Disassembly completed
ASL Output: dsdt.dsl - 1013371 bytes


iASL Warning: There were 2 external control methods found during
disassembly, but additional ACPI tables to resolve these externals
were not specified. The resulting disassembler output file may not
compile because the disassembler did not know how many arguments
to assign to these methods. To specify the tables needed to resolve
external control method references, the -e option can be used to
specify the filenames. Note: SSDTs can be dynamically loaded at
runtime and may or may not be available via the host OS.
Example iASL invocations:
iasl -e ssdt1.aml ssdt2.aml ssdt3.aml -d dsdt.aml
iasl -e dsdt.aml ssdt2.aml -d ssdt1.aml
iasl -e ssdt*.aml -d dsdt.aml


In addition, the -fe option can be used to specify a file containing
control method external declarations with the associated method
argument counts. Each line of the file must be of the form:
External (<method pathname>, MethodObj, <argument count>)
Invocation:
iasl -fe refs.txt -d dsdt.aml


Then..after adding :
QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x0000000000000000, // Granularity
0x0000000C20000000, // Range Minimum, set it to 48.5GB
0x0000000E0FFFFFFF, // Range Maximum, set it to 56.25GB
0x0000000000000000, // Translation Offset
0x00000001F0000000, // Length calculated by Range Max - Range Min.
,, , AddressRangeMemory, TypeStatic)


Compiling throws these errors:
C:\Users\faculty\Downloads\iasl>iasl dsdtmod.dsl


Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20150515-32
Copyright (c) 2000 - 2015 Intel Corporation


Compiler aborting due to parser-detected syntax error(s)
dsdtmod.dsl 3979: If (CondRefOf (FPED))
Error 6126 - ^ syntax error, unexpected PARSEOP_IF

dsdtmod.dsl 28292:
Error 6126 - syntax error, unexpected PARSEOP_METHOD, expecting $end and premature End-Of-File

ASL Input: dsdtmod.dsl - 28292 lines, 917450 bytes, 11191 keywords


Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations







Any help is appreciated, I am attaching my dsdtmod.dsl file (zipped).
 

Attachments

Joined
Oct 6, 2015
Messages
1
Motherboard
HP 8440p
CPU
i7-640m
Graphics
NVS 3100m+EGPU GTX 750
Mac
Classic Mac
iBook
Mobile Phone
iOS
Can anyone help me compile my DSDT? With the addition of the following lines:

QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x0000000000000000, // Granularity
0x0000000C20000000, // Range Minimum, set it to 48.5GB
0x0000000E0FFFFFFF, // Range Maximum, set it to 56.25GB
0x0000000000000000, // Translation Offset
0x00000001F0000000, // Length calculated by Range Max - Range Min.
,, , AddressRangeMemory, TypeStatic)

And after compiling, I have 149 errors. From here, I have no idea what do. I don't know what patches I need, and cannot move forward with my process of using my egpu with all these errors. Sorry for the noobish ways, ive never used dsdt editor or have even done stuff like this. any help/advice would be appreciated. I will leave my file in its current state here
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,028
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Can anyone help me compile my DSDT? With the addition of the following lines:

QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x0000000000000000, // Granularity
0x0000000C20000000, // Range Minimum, set it to 48.5GB
0x0000000E0FFFFFFF, // Range Maximum, set it to 56.25GB
0x0000000000000000, // Translation Offset
0x00000001F0000000, // Length calculated by Range Max - Range Min.
,, , AddressRangeMemory, TypeStatic)

And after compiling, I have 149 errors. From here, I have no idea what do. I don't know what patches I need, and cannot move forward with my process of using my egpu with all these errors. Sorry for the noobish ways, ive never used dsdt editor or have even done stuff like this. any help/advice would be appreciated. I will leave my file in its current state here
You may find this repo useful: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch
(read the wiki)

Note: Your edit for FPED is incorrect. Fix it and you have zero errors with ACPI5.
 
Joined
Nov 19, 2015
Messages
1
Mac
Classic Mac
Mobile Phone
I really need help with a DSDT override. I will post my Device Manager with all of my devices (memory). I stayed up all night last night trying to do a DSDT override with no success. I have iasl and asl. I also have a DSDT editor, but I don't know: 1.exactly what to put after Dword 2. How to fix all errors 3. How to get Large Memory to show up in Device Manager. Please someone tell me a specific way to DSDT override that applies to my devices? The eGPU I'm going to use is a Nvidia GT 640. View attachment 163084
 
Joined
Jan 21, 2016
Messages
1
CPU
i5-4200M
Mac
Classic Mac
Mobile Phone
Hi, sorry for my bad english.
i had some trouble when fixing error in dsdt file. Here:
Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20160108-32
Copyright (c) 2000 - 2016 Intel Corporation


Compiler aborting due to parser-detected syntax error(s)
dsdt_1944.dsl 4534: Notify (\_SB.PCI0, 0x00) // Bus Check
Error 6126 - ^ syntax error, unexpected PARSEOP_NOTIFY, expecting ',' or ')'


ASL Input: dsdt_1944.dsl - 30052 lines, 1066680 bytes, 12513 keywords


Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations.
i realy need your help! This is my dsdt file. Thanks!
 
Top