From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 104784] New: Unable to do reclocking manually Date: Thu, 25 Jan 2018 07:16:03 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0244688276==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0244688276== Content-Type: multipart/alternative; boundary="15168645631.4faaf.31231" Content-Transfer-Encoding: 7bit --15168645631.4faaf.31231 Date: Thu, 25 Jan 2018 07:16:03 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104784 Bug ID: 104784 Summary: Unable to do reclocking manually Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: berillions-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Hi, I have a laptop with Optimus technology, my Nvidia card is a GTX 640MX. I u= se Debian Unstable x86_64 with nouveau 1.0.15 and Mesa 17.3.3 Unfortunatly, it's impossible to do reclocking with Nouveau and my GPU. When i launch "cat /sys/kernel/debug/dri/1/pstate", i have these results : 07: core 270-405 MHz memory 648 MHz 0a: core 270-601 MHz memory 1600 MHz 0f: core 270-614 MHz memory 2800 MHz AC: core 0 MHz memory 0 MHz ------ It's anormal to have these line "AC: core 0 MHz memory 0 MHz", right ? Because when i set "echo 0f > /sys/kernel/debug/dri/1/pstate", the console = (not the system) hangs. And when i launch a game (Tyranny), it does not work. --=20 You are receiving this mail because: You are the assignee for the bug.= --15168645631.4faaf.31231 Date: Thu, 25 Jan 2018 07:16:03 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 104784
Summary Unable to do reclocking manually
Product xorg
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Driver/nouveau
Assignee nouveau@lists.freedesktop.org
Reporter berillions@gmail.com
QA Contact xorg-team@lists.x.org

Hi,

I have a laptop with Optimus technology, my Nvidia card is a GTX 640MX. I u=
se
Debian Unstable x86_64 with nouveau 1.0.15 and Mesa 17.3.3

Unfortunatly, it's impossible to do reclocking with Nouveau and my GPU.

When i launch "cat /sys/kernel/debug/dri/1/pstate", i have these =
results :
07: core 270-405 MHz memory 648 MHz
0a: core 270-601 MHz memory 1600 MHz
0f: core 270-614 MHz memory 2800 MHz
AC: core 0 MHz memory 0 MHz

------

It's anormal to have these line "AC: core 0 MHz memory 0 MHz", ri=
ght ?
Because when i set "echo 0f > /sys/kernel/debug/dri/1/pstate",=
 the console (not
the system) hangs. And when i launch a game (Tyranny), it does not work.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15168645631.4faaf.31231-- --===============0244688276== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0244688276==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 104784] Unable to do reclocking manually Date: Thu, 25 Jan 2018 09:39:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0583559868==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0583559868== Content-Type: multipart/alternative; boundary="15168731410.8Be47BB.17013" Content-Transfer-Encoding: 7bit --15168731410.8Be47BB.17013 Date: Thu, 25 Jan 2018 09:39:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104784 --- Comment #1 from Pierre Moreau --- Hello, > AC: core 0 MHz memory 0 MHz means your GPU is actually suspended: since you have an Optimus configurati= on, the NVIDIA GPU will suspend automatically if it hasn=E2=80=99t received any= work to do in a short while. Try for example to run `DRI_PRIME=3D1 glxgears`, keep it running and reissue the cat command: you should not see actual clocks for on the AC line. Have a look at https://nouveau.freedesktop.org/wiki/Optimus/ to learn how to configure Prime. As for the system hang when trying to reclock a suspended GPU, patches have been sent to the Nouveau mailing list, but haven=E2=80=99t been merged yet.= You can find them here: https://github.com/karolherbst/nouveau/commits/clk_cleanup_for_real > And when i launch a game (Tyranny), it does not work. What is not working? If you didn=E2=80=99t specify anything, the game shoul= d run on the =E2=80=9Cprimary=E2=80=9D GPU by default, which quite often tends to be the= Intel GPU. --=20 You are receiving this mail because: You are the assignee for the bug.= --15168731410.8Be47BB.17013 Date: Thu, 25 Jan 2018 09:39:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 1 on bug 10478= 4 from Pierre Moreau
Hello,

> AC: core 0 MHz memory 0 MHz

means your GPU is actually suspended: since you have an Optimus configurati=
on,
the NVIDIA GPU will suspend automatically if it hasn=E2=80=99t received any=
 work to do
in a short while. Try for example to run `DRI_PRIME=3D1 glxgears`, keep it
running and reissue the cat command: you should not see actual clocks for on
the AC line.
Have a look at ht=
tps://nouveau.freedesktop.org/wiki/Optimus/ to learn how to
configure Prime.

As for the system hang when trying to reclock a suspended GPU, patches have
been sent to the Nouveau mailing list, but haven=E2=80=99t been merged yet.=
 You can
find them here:
https://github.com/karolherbst/nouveau/commits/clk_cleanup_for_real

> And when i launch a game (Tyranny), it does not =
work.

What is not working? If you didn=E2=80=99t specify anything, the game shoul=
d run on the
=E2=80=9Cprimary=E2=80=9D GPU by default, which quite often tends to be the=
 Intel GPU.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15168731410.8Be47BB.17013-- --===============0583559868== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0583559868==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 104784] Unable to do reclocking manually Date: Thu, 25 Jan 2018 10:40:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1881321064==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1881321064== Content-Type: multipart/alternative; boundary="15168768440.EA52C7f42.24843" Content-Transfer-Encoding: 7bit --15168768440.EA52C7f42.24843 Date: Thu, 25 Jan 2018 10:40:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104784 --- Comment #2 from Max --- (In reply to Pierre Moreau from comment #1) > Hello, >=20 > > AC: core 0 MHz memory 0 MHz >=20 > means your GPU is actually suspended: since you have an Optimus > configuration, the NVIDIA GPU will suspend automatically if it hasn=E2=80= =99t > received any work to do in a short while. Try for example to run > `DRI_PRIME=3D1 glxgears`, keep it running and reissue the cat command: you > should not see actual clocks for on the AC line. > Have a look at https://nouveau.freedesktop.org/wiki/Optimus/ to learn how= to > configure Prime. >=20 > As for the system hang when trying to reclock a suspended GPU, patches ha= ve > been sent to the Nouveau mailing list, but haven=E2=80=99t been merged ye= t. You can > find them here: > https://github.com/karolherbst/nouveau/commits/clk_cleanup_for_real I added to my ~/.xinitrc this line =C2=AB xrandr --setprovideroffloadsink n= ouveau Intel=C2=A0=C2=BB I see correctly the Intel GPU when i launch =C2=AB=C2=A0glxinfo | grep =C2= =AB=C2=A0OpenGL vendor string=C2=A0=C2=BB=C2=A0=C2=BB and the Nvidia GPU if i add DRI_PRIME=3D1. > > And when i launch a game (Tyranny), it does not work. >=20 > What is not working? If you didn=E2=80=99t specify anything, the game sho= uld run on > the =E2=80=9Cprimary=E2=80=9D GPU by default, which quite often tends to = be the Intel GPU. In fact the games runs with Nouveau and DRI_PRIME=3D1. It does not work after to do the reclocking =3D> the game=E2=80=99s process= exist but the game=E2=80=99s window does not appear. Are you French, if yes it=E2=80=99s easiest to explain : Lorsque je lance la commande pour faire le reclocking, je n=E2=80=99ai plus= acc=C3=A8s au prompt, comme si la commande continue de travailler en arri=C3=A8re plan. S= i je verifie l=E2=80=99=C3=A9tat de pstate dans une autre commande, le reclockin= g a l=E2=80=99air d=E2=80=99avoir =C3=A9t=C3=A9 fait. --=20 You are receiving this mail because: You are the assignee for the bug.= --15168768440.EA52C7f42.24843 Date: Thu, 25 Jan 2018 10:40:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 2 on bug 10478= 4 from <= span class=3D"fn">Max
(In reply to Pierre Moreau from comment #1)
> Hello,
>=20
> > AC: core 0 MHz memory 0 MHz
>=20
> means your GPU is actually suspended: since you have an Optimus
> configuration, the NVIDIA GPU will suspend automatically if it hasn=E2=
=80=99t
> received any work to do in a short while. Try for example to run
> `DRI_PRIME=3D1 glxgears`, keep it running and reissue the cat command:=
 you
> should not see actual clocks for on the AC line.
> Have a look at https://nouveau.freedesktop.org/wiki/Optimus/ to learn how to
> configure Prime.
>=20
> As for the system hang when trying to reclock a suspended GPU, patches=
 have
> been sent to the Nouveau mailing list, but haven=E2=80=99t been merged=
 yet. You can
> find them here:
> https://github.com/karolherbst/nouveau/commits/clk_cleanup_for_re=
al

I added to my ~/.xinitrc this line =C2=AB xrandr --setprovideroffloadsink n=
ouveau
Intel=C2=A0=C2=BB
I see correctly the Intel GPU when i launch =C2=AB=C2=A0glxinfo | grep =C2=
=AB=C2=A0OpenGL vendor
string=C2=A0=C2=BB=C2=A0=C2=BB and the Nvidia GPU if i add DRI_PRIME=3D1.

> > And when i launch a game (Tyranny), it does=
 not work.
>=20
> What is not working? If you didn=E2=80=99t specify anything, the game =
should run on
> the =E2=80=9Cprimary=E2=80=9D GPU by default, which quite often tends =
to be the Intel GPU.

In fact the games runs with Nouveau and DRI_PRIME=3D1.
It does not work after to do the reclocking =3D> the game=E2=80=99s proc=
ess exist but the
game=E2=80=99s window does not appear.

Are you French, if yes it=E2=80=99s easiest to explain :
Lorsque je lance la commande pour faire le reclocking, je n=E2=80=99ai plus=
 acc=C3=A8s au
prompt, comme si la commande continue de travailler en arri=C3=A8re plan. S=
i je
verifie l=E2=80=99=C3=A9tat de pstate dans une autre commande, le reclockin=
g a l=E2=80=99air d=E2=80=99avoir
=C3=A9t=C3=A9  fait.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15168768440.EA52C7f42.24843-- --===============1881321064== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1881321064==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 104784] Unable to do reclocking manually Date: Wed, 04 Dec 2019 09:35:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0974592845==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0974592845== Content-Type: multipart/alternative; boundary="15754521493.F20eCA.28233" Content-Transfer-Encoding: 7bit --15754521493.F20eCA.28233 Date: Wed, 4 Dec 2019 09:35:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104784 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #3 from Martin Peres --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/404. --=20 You are receiving this mail because: You are the assignee for the bug.= --15754521493.F20eCA.28233 Date: Wed, 4 Dec 2019 09:35:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated <= span class=3D"fn">Martin Peres changed bug 10478= 4
What Removed Added
Resolution --- MOVED
Status NEW RESOLVED

Commen= t # 3 on bug 10478= 4 from Martin Peres
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/iss=
ues/404.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15754521493.F20eCA.28233-- --===============0974592845== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1 --===============0974592845==--