Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-18-11, 02:29 AM   #25
mlauss
Registered User
 
Join Date: Aug 2007
Posts: 43
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Quote:
Originally Posted by zander View Post
The problem appears to be a duplicate entry in the DSDT for the PCI-E bridge upstream of the discrete GPU. On the systems I looked at, the devices PEGP and PEG3 both refer to the bridge @ 00:03.0, i.e. both have an _ADR identifier with the value 0x30000. This indirectly causes the NVIDIA driver's ACPI handle lookup attempt to fail for the GPU in question, which in turns prevents the driver from obtaining important information via ACPI methods associated with the GPU.
How does the nvidia windows driver deal with this situation? Does windows merge the
two leaves with identical _ADR values?
mlauss is offline   Reply With Quote
Old 03-18-11, 08:00 AM   #26
Brendan Visser
Registered User
 
Join Date: Mar 2011
Posts: 3
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Quote:
Originally Posted by zander View Post
The problem appears to be a duplicate entry in the DSDT for the PCI-E bridge upstream of the discrete GPU. On the systems I looked at, the devices PEGP and PEG3 both refer to the bridge @ 00:03.0, i.e. both have an _ADR identifier with the value 0x30000. This indirectly causes the NVIDIA driver's ACPI handle lookup attempt to fail for the GPU in question, which in turns prevents the driver from obtaining important information via ACPI methods associated with the GPU.

In my experiments, I found that either reordering or merging the two devices in the DSDT was enough to avoid the problem. In order to do this, the DSDT needs to be dumped , disassembled, patched up (in my case, there were various errors aside from the problem discussed above), reassembled and finally fed to the Linux kernel as a custom DSDT.
With this info I was able to get the nvidia driver running on my HP 8540w/Quadro FX 1800M/Dreamcolor display.

Tested it with nvidia-settings/glxinfo/openarena/compiz. Works like a charm.

Thanks!!
Brendan Visser is offline   Reply With Quote
Old 03-18-11, 10:46 AM   #27
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Quote:
Originally Posted by mlauss View Post
How does the nvidia windows driver deal with this situation? Does windows merge the two leaves with identical _ADR values?
I didn't run Windows on the system when I had access to it, but given that everything reportedly works fine on that platform, the NVIDIA Windows driver presumably obtains the handle it needs on this platform.

I'm not an ACPI expert, so I'm not sure who's at fault, exactly. I'm still waiting to hear back from engineers more familiar with the letter and the spirit of the specification.
zander is offline   Reply With Quote
Old 03-19-11, 04:16 AM   #28
chralg
Registered User
 
Join Date: Feb 2011
Posts: 8
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Quote:
Originally Posted by Brendan Visser View Post
With this info I was able to get the nvidia driver running on my HP 8540w/Quadro FX 1800M/Dreamcolor display.

Tested it with nvidia-settings/glxinfo/openarena/compiz. Works like a charm.

Thanks!!
Please post a step-by-step solution, so all of us can learn.

Thanks
Chris
chralg is offline   Reply With Quote
Old 03-19-11, 11:13 AM   #29
Brendan Visser
Registered User
 
Join Date: Mar 2011
Posts: 3
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Quote:
Originally Posted by chralg View Post
Please post a step-by-step solution, so all of us can learn.

Thanks
Chris
Ok. I'll try:

Download the latest ACPICA:

http://www.acpica.org/downloads/

Uncompress.

Compile only the iasl compiler. Check the needed dependencies before building.:

$ cd compiler && make

copy your systems DSDT to a temp directory.

$ sudo cp /sys/firmware/acpi/tables/DSDT ./

deassemble the DSDT:

$ <path to compiled iasl>/iasl -d DSDT

edit DSDT.dsl (I will attach my edited DSDT.dsl but maybe some of your laptop
specific hardware which I don't have won't work anymore).

Put the:

Device (PEG3)
{
..
}

before:

Device (PEGP)
{
..
}

When compiling the DSDT.dsl you'll get several errors/warnings:

$ <path to compiled iasl>/iasl -tc iasl -tc DSDT.dsl

I tried to fix these errors but didn't know if it's really needed because an
output file is still generated. Leave the errors as-is or look into my attached
DSDT.dsl how I 'fixed' these errors.

When you compiled the DSDT.dsl. Put the DSDT.hex in a directory where the
kernel build can include it. I downloaded the latest stable 2.6.38 linux
kernel:

$ cp DSDT.hex $SRC/include/

Add this to the your current kernel .config:

CONFIG_STANDALONE=n
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE="DSDT.hex"

Build the kernel. I'm using Ubuntu:

$ fakeroot make-kpkg --initrd --append-to-version=-dsdt kernel-image kernel-headers

Install the kernel.

Install the nvidia driver (In Ubuntu install the nvidia-current package).

My xorg.conf is minimal:

Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

Only problem which is still left. Suspend/resume results in a 100% CPU Kworker
thread. Still looking into this.

Hope this helps.

Brendan
Attached Files
File Type: zip dsdt.zip (70.5 KB, 186 views)
Brendan Visser is offline   Reply With Quote
Old 03-24-11, 05:07 AM   #30
chralg
Registered User
 
Join Date: Feb 2011
Posts: 8
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Quote:
Originally Posted by Brendan Visser View Post
Ok. I'll try:

Brendan
Great, thanks!!!
chralg is offline   Reply With Quote
Old 03-24-11, 10:39 AM   #31
chralg
Registered User
 
Join Date: Feb 2011
Posts: 8
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Works like a charm! Thanks alot.

I didn't correct all the errors, and it still worked.

Chris
chralg is offline   Reply With Quote
Old 03-24-11, 03:21 PM   #32
thwint
Registered User
 
Join Date: May 2003
Location: Switzerland
Posts: 14
Send a message via ICQ to thwint
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Finally I got it working as well. Thanks Brendan.
thwint is offline   Reply With Quote

Old 03-28-11, 05:23 PM   #33
DJravingMonkey
Registered User
 
Join Date: Feb 2011
Posts: 5
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Wow thats such great work finding out this great solution, i was experimenting with the DSDT as well, but my knowledge was far to low... and still is...
I could easily follow your tutorial until the creation of the DSDT.hex, after this i'm stuck.
Where do i find the kernel configuration file? I already donwloaded the kernel source with yast but where do they go to? Oh by the way i'm in an opensuse environment.

Could somebody explain the steps how to include the custom DSDT into the kernel in way noobs like me understand? Would be so great, i cannot await the moment my Dreamcolor Display turns on!

edit: i found out that there is an entry for custom DSDTs in /etc/sysconfig/kernel in opensuse 11.4.
I put in my peg3 before pegp dsdt there but nothing changed after reboot. omg i'm such a noob just doing things wich are written somewhere without understanding what happens ;-)
DJravingMonkey is offline   Reply With Quote
Old 03-28-11, 05:47 PM   #34
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

FWIW, I'm told HP may make an updated SBIOS available in the foreseeable future that should address this problem.
zander is offline   Reply With Quote
Old 03-28-11, 05:59 PM   #35
DJravingMonkey
Registered User
 
Join Date: Feb 2011
Posts: 5
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

Late but Great!
DJravingMonkey is offline   Reply With Quote
Old 03-29-11, 10:14 AM   #36
thwint
Registered User
 
Join Date: May 2003
Location: Switzerland
Posts: 14
Send a message via ICQ to thwint
Default Re: Blank Screen on HP EliteBook 8540w with NVIDIA driver

@Zander
Great news. So I'm looking forward to get the latest update from HP.

@DJravingMonkey
Usually you can find a copy of the config file for your kernel in /boot. Most likely it is named config-<kernelversion>.

Just take this file and copy it the source folder of the kernel as .config. And then follow the tutorial of Brendan. Hope this helps.
thwint is offline   Reply With Quote
Reply


Thread Tools

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
Forum Jump


All times are GMT -5. The time now is 06:30 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.