From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 58378] [NV86] Distorted graphics on NVIDIA GeForce 8400M G after upgrade the kernel to 3.7.0 version Date: Thu, 09 Jan 2014 11:23:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0709276925==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0709276925== Content-Type: multipart/alternative; boundary="1389266589.AF4F88ED5.5223"; charset="us-ascii" --1389266589.AF4F88ED5.5223 Date: Thu, 9 Jan 2014 11:23:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=58378 --- Comment #69 from Andreas Loew --- > Could you provide the output of > > nvapeek 154c > nvapeek 1540 > > Those registers specify which engines are there. I think we're ignoring them > in nouveau... OK - that might indeed explain the issues seen... Here you are: [aloew@aloew-lap nva]$ sudo ./nvapeek 154c 0000154c: 0000009c [aloew@aloew-lap nva]$ sudo ./nvapeek 1540 00001540: b1010001 Looking at the patch you provided, if the rusty binary arithmetics chip in my brain is still valid, this means for my case: vdec = nv_rd32(device, 0x1540) & 0x40000000; 0xb(...) = 1011(...) 0x4(...) = 0100(...) => for me, vdec indeed is 0x00000000, i.e. false and as my chipset is 0x86, furthermore: MPEG -> disabled VP -> disabled and for the dynamic features, 0x9c = 10011100 binary 0x20 = 00100000 binary 0x40 = 01000000 binary as 0x9c & 0x20 == 0x00, BSP -> disabled as 0x9c & 0x40 == 0x00, PCRYPT -> disabled which would probably confirm your that for me your patch is correct. That said, I will apply this patch to my current stock RHEL6 kernel and report back later today on whether this works fine for me (which it indeed should, based on the above considerations!). Thanks a million - great work! :-) Best regards, Andreas -- You are receiving this mail because: You are the assignee for the bug. --1389266589.AF4F88ED5.5223 Date: Thu, 9 Jan 2014 11:23:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 69 on bug 58378 from
> Could you provide the output of
> 
> nvapeek 154c
> nvapeek 1540
> 
> Those registers specify which engines are there. I think we're ignoring them
> in nouveau...

OK - that might indeed explain the issues seen...
Here you are:

[aloew@aloew-lap nva]$ sudo ./nvapeek 154c
0000154c: 0000009c

[aloew@aloew-lap nva]$ sudo ./nvapeek 1540
00001540: b1010001

Looking at the patch you provided, if the rusty binary arithmetics chip in my
brain is still valid, this means for my case:

vdec = nv_rd32(device, 0x1540) & 0x40000000;

0xb(...) = 1011(...)
0x4(...) = 0100(...)

=> for me, vdec indeed is 0x00000000, i.e. false

and as my chipset is 0x86, furthermore:

MPEG -> disabled
VP -> disabled

and for the dynamic features,

0x9c = 10011100 binary

0x20 = 00100000 binary
0x40 = 01000000 binary

as 0x9c & 0x20 == 0x00, BSP -> disabled
as 0x9c & 0x40 == 0x00, PCRYPT -> disabled

which would probably confirm your that for me your patch is correct.

That said, I will apply this patch to my current stock RHEL6 kernel and report
back later today on whether this works fine for me (which it indeed should,
based on the above considerations!).

Thanks a million - great work! :-)

Best regards,
Andreas


You are receiving this mail because:
  • You are the assignee for the bug.
--1389266589.AF4F88ED5.5223-- --===============0709276925== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0709276925==--