nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   [180.18] NVIDIA proprietary driver prevents machine from shutdown (http://www.nvnews.net/vbulletin/showthread.php?t=125579)

dionua 01-02-09 01:34 PM

[180.18] NVIDIA proprietary driver prevents machine from shutdown
 
1 Attachment(s)
Hi guys. Finally I'm trying to switch back to NVIDIA proprietary driver from "nv". Currently I've one major trouble. Just after loading nvidia binary module and starting X.org machine will not poweroff/hibernate correctly 30-40% times. Last message that is displayed is "Power down.".

And I should turn laptop off by pressing power button for 3-5 seconds (like in times of "AT" cases where power shut be turned off by hands). In case of hibernation, system corrrectly resumes next boot.

I'm sure that there were no such problems in times of 173.14.xx drivers. Also it looks like there are no such problems with opensource "nv" driver (I've reproduced this once, but probably by unloading nvidia kernel module by hands, so on tainted kernel). "nouveau" is not affected too.

Hang is happes in neverending loop at drivers/acpi/hardware/hwsleep.c:
Code:

        do {
                status = acpi_get_register(ACPI_BITREG_WAKE_STATUS, &in_value);
                if (ACPI_FAILURE(status)) {
                        return_ACPI_STATUS(status);
                }
        } while (!in_value);

This is verified by adding printk's and recompiling kernel. Generally this code should be unreachable, since machine should be turned off a few lines ago.

So what does nvidia do with ACPI? Any way to debug this? Or maybe some workaround for this?

ebsi 01-02-09 01:44 PM

Re: [180.18] NVIDIA proprietary driver prevents machine from shutdown
 
I have seen the same problem with 180.18 on amd64.

dionua 01-02-09 01:51 PM

Re: [180.18] NVIDIA proprietary driver prevents machine from shutdown
 
Can you please post nvidia bugreport file?

Guilo19 01-02-09 01:52 PM

Re: [180.18] NVIDIA proprietary driver prevents machine from shutdown
 
I don't know if it is related but with 180.* I have troubles when sleeping 2 ram. Sometimes the scren stays black (no light at all) and I have to reboot my computer by pressing the power button. Some other times it is ok....

dionua 01-02-09 02:19 PM

Re: [180.18] NVIDIA proprietary driver prevents machine from shutdown
 
Maybe.. However it looks like s2ram is broken for almost all laptops (and was working in 173.14.xx drivers)

dionua 01-03-09 11:00 AM

Re: [180.18] NVIDIA proprietary driver prevents machine from shutdown
 
I've successfully reproduced it without nvidia binary driver. So looks like this isn't NVIDIA-specific issue.

how 01-15-09 04:45 PM

Re: [180.18] NVIDIA proprietary driver prevents machine from shutdown
 
With 64bit Nvidia binary driver if you use userspace hibernate method notebook wouldnt turn off need to hold down power button. There is no problems if you change to hibernate kernel method, but seemed to hibernate slower at least works 100%


All times are GMT -5. The time now is 12:05 PM.

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