Bug 83957 - [NV50 - NVAF][MCP89] Major screen corruption and X crash soon after log in
Summary: [NV50 - NVAF][MCP89] Major screen corruption and X crash soon after log in
Status: NEEDINFO
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-17 00:59 UTC by Loïc Herry
Modified: 2016-02-08 20:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screen corruption (279.97 KB, image/png)
2014-09-17 00:59 UTC, Loïc Herry
no flags Details
Xorg log (33.11 KB, text/plain)
2014-09-17 01:00 UTC, Loïc Herry
no flags Details
dmesg (63.86 KB, text/plain)
2014-09-17 01:03 UTC, Loïc Herry
no flags Details
PFB patch (1.40 KB, patch)
2014-09-18 14:49 UTC, Pierre Moreau
no flags Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Herry 2014-09-17 00:59:39 UTC
Created attachment 106398 [details]
Screen corruption

Boots and login fine, then as I open a terminal, there will be some screen corruption. As I open more windows (firefox) and loads pages the screen gets worse and worse up till X crashes (can still move the mouse).

I've built the newest linux kernel with the nouveau git (kernel 3.17 rc2+), also had the problem with stock ubuntu14.04 and with a 3.16 kernel.

The card is an Apple Nvidia Geforce 320M. It doesn't have dedicated memory, it uses 256MB from the system ram.


I include the logs, in the syslog, you will see many boots most of them in 3.16 but one in 3.17 at the end. Let me know if I can give you anymore info/logs/trace.

Thanks
Comment 1 Loïc Herry 2014-09-17 01:00:34 UTC
Created attachment 106399 [details]
Xorg log
Comment 2 Loïc Herry 2014-09-17 01:03:35 UTC
Created attachment 106400 [details]
dmesg
Comment 3 Loïc Herry 2014-09-17 01:10:24 UTC
kern.log
http://www.aiklos.com/kern.log

It's huge, will try to post a more up to date (with the 3.17 log) later.
Comment 4 Ilia Mirkin 2014-09-17 02:56:23 UTC
This seems like an extremely unlikely thing to help, but could you try booting with

nouveau.config=PCE0=1

This should force-enable the copy engine (which is being disabled because we see bits that we think mean it should be disabled). I suspect things will be even worse with that, but... worth a shot, I suppose?
Comment 5 Loïc Herry 2014-09-17 12:24:42 UTC
(In reply to comment #4)
> This seems like an extremely unlikely thing to help, but could you try
> booting with
> 
> nouveau.config=PCE0=1
> 
> This should force-enable the copy engine (which is being disabled because we
> see bits that we think mean it should be disabled). I suspect things will be
> even worse with that, but... worth a shot, I suppose?

It made things worse. With nouveau.config=PCE0=1 the boot and login screen are unreadable.

I'm booting in EFI with grub.
Comment 6 Pierre Moreau 2014-09-18 14:49:51 UTC
Created attachment 106504 [details] [review]
PFB patch

I wonder if this patch could yield some improvements, as your chipset is not too far away from mine (MCP79: NVAC) and I had kind of similar problems at some point.
Comment 7 Loïc Herry 2014-09-24 16:50:26 UTC
Hi, unfortunately no.
There was no improvements with the patch.

I compiled with the 3.17 kernel from freedesktop git & the drm-next branch,
Added the patch.

With 3.17 the loading screen is affected so I can't even login.

Ideas or pointers welcome.

Thanks
Comment 8 Pierre Moreau 2016-02-08 20:26:27 UTC
Hello Loïc,

I tested Nouveau on a friend's laptop (an MBP with an MCP89 as well), and I don't recall seeing any screen corruption as he used it and played some games. It was with kernel ~4.1 IIRC. Are you still experiencing this issue with kernel 4.3 or 4.4?

Sorry for not coming back earlier…


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.