Bug 83957

Summary: [NV50 - NVAF][MCP89] Major screen corruption and X crash soon after log in
Product: xorg Reporter: Loïc Herry <qc.loic>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Screen corruption
none
Xorg log
none
dmesg
none
PFB patch none

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…
Comment 9 Martin Peres 2019-12-04 08:49:27 UTC
-- 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/133.

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.