Bug 70464

Summary: [NVC3] runpm not working
Product: xorg Reporter: Mike <michele.cane>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.7 (2012.06)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg with runpm=0
none
dmesg with runpm=1 none

Description Mike 2013-10-14 20:02:57 UTC
Created attachment 87623 [details]
dmesg with runpm=0

I am running kernel 3.12-rc5 and runpm is not working. The nvidia card (quadro 2000M) is turned off at start but then when called is not turned on.

You can compare the 2 dmesg (one with nouveau.runpm=0 and the other nouveau.runpm=1).

The procedure I used in both cases is the same:

- xrandr --setprovideroffloadsink nouveau Intel

and then

- DRI_PRIME=1 glxinfo | grep vendor
 
which in both cases gave:

OpenGL vendor string: nouveau (which is ok)

but on dmesg the card is never turned on

Can I provide more info?

Cheers

Mike
Comment 1 Mike 2013-10-14 20:03:29 UTC
Created attachment 87624 [details]
dmesg with runpm=1
Comment 2 Dave Airlie 2013-10-15 10:16:45 UTC
look in /sys/kernel/debug/vgaswitcheroo/state

to see if it says DynOff and DynPwr arond the glxinfo command

it sounds liek the gpu is waking up fine.
Comment 3 Mike 2013-10-15 10:47:21 UTC
I do not have /sys/kernel/debug/vgaswitcheroo/state

I only have /sys/kernel/debug/vgaswitcheroo/switch

0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0

I think in a way this bug is related to this other one which I reported concerning reverse PRIME:

https://bugs.freedesktop.org/show_bug.cgi?id=69876
Comment 4 Mike 2013-10-15 12:15:20 UTC
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0

this remain the same while runnin glxinfo or glxgears
Comment 5 Ilia Mirkin 2014-08-21 19:43:02 UTC
There were some issues with runpm that should be resolved with 3.13.x IIRC. Is this still an issue?
Comment 6 Mike 2014-08-21 19:57:16 UTC
Now I am on 3.16 and everything is fine.

Cheers

Michele Cane,  PhD.
On Aug 21, 2014 9:43 PM, <bugzilla-daemon@freedesktop.org> wrote:

>   *Comment # 5 <https://bugs.freedesktop.org/show_bug.cgi?id=70464#c5> on
> bug 70464 <https://bugs.freedesktop.org/show_bug.cgi?id=70464> from Ilia
> Mirkin <imirkin@alum.mit.edu> *
>
> There were some issues with runpm that should be resolved with 3.13.x IIRC. Is
> this still an issue?
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You reported the bug.
>
>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.