[Lenovo ThinkPad W530] Unsynchronised rendering on secondary displays

Bug #1228506 reported by Marius-andreiana on 2013-09-21
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Undecided
Unassigned

Bug Description

See attached photo, replicable 100% just by moving the mouse fast. Note that this Thinkpad has two video cards. I don't know how to tell if Intel or Nvidia is being used. I'm using the default saucy install, no additional drivers.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xserver-xorg-video-intel 2:2.21.14-4ubuntu4
ProcVersionSignature: Ubuntu 3.11.0-5.11-generic 3.11.0
Uname: Linux 3.11.0-5-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.12.1-0ubuntu4
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Sat Sep 21 10:35:28 2013
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:21f5]
 NVIDIA Corporation GK107GLM [Quadro K1000M] [10de:0ffc] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:21f5]
InstallationDate: Installed on 2013-09-13 (7 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130909)
MachineType: LENOVO 2449A22
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-5-generic root=UUID=d9f16f85-5511-470f-972f-687054e80e8f ro quiet splash vt.handoff=7
SourcePackage: xserver-xorg-video-intel
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/21/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: G5ET90WW (2.50 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2449A22
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG5ET90WW(2.50):bd12/21/2012:svnLENOVO:pn2449A22:pvrThinkPadW530:rvnLENOVO:rn2449A22:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2449A22
dmi.product.version: ThinkPad W530
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.10+13.10.20130828.2-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2-1ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.14.2.901-2ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu6
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.14-4ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Fri Sep 20 13:38:20 2013
xserver.configfile: default
xserver.errors:
 Failed to load module "nvidia" (module does not exist, 0)
 Failed to load module "nvidia" (module does not exist, 0)
 NOUVEAU(G0): [XvMC] Failed to initialize extension.
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.14.2.901-2ubuntu4

Quinn Balazs (qbalazs) wrote :

Which build of Saucy was this issue found in? (beta-1, or one of the daily builds)

I think it's a daily after beta-1. It's up to date with latest Saucy upgrades.

On which display do you see the cursor artifacts?

summary: - Frequent display artifacts, take 2
+ [prime] Frequent display artifacts, take 2

On the external monitor. Built-in laptop display seems to be fine.

Note: symptoms include slow-motion typing, e.g. letters appear on screen 0.5sec later than typed.

Any suggestions for workarounds appreciated. The system is hardly usable with the external monitor (e.g. surfing on the web & scrolling).

I tried lxde desktop, it behaves the same.

Thanks!

Additional notes:
* this doesn't have anything to do with Mir, just pure X
* Kevin mentioned: its my understanding that there was (is?) a cache coherency bug in the intel driver

Sample screen showing the bug

Chris Wilson (ickle) wrote :

No, that is not a cache coherency bug. It is very likely it is just the lack of synchronisation on the dma-buf between the two drivers.

summary: - [prime] Frequent display artifacts, take 2
+ [dual monitor, xorg, intel] Corrupted rendering

Created attachment 87478
screen photo

On the 2nd monitor attached to laptop, the display is delayed and/or corrupted (e.g. keypresses appear after 0.5 seconds, or see attache photo, replicable by moving the mouse cursor).
The laptop display doesn't experience this.

$ uname -a
Linux marius-ThinkPad-W530 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

 xserver-xorg-video-intel 2:2.99.904-0ubuntu2

Hardware information attached at https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1228506

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
 Subsystem: Lenovo Device 21f5
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 45
 Region 0: Memory at f1400000 (64-bit, non-prefetchable) [size=4M]
 Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
 Region 4: I/O ports at 6000 [size=64]
 Expansion ROM at <unassigned> [disabled]
 Capabilities: <access denied>
 Kernel driver in use: i915

01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1000M] (rev a1) (prog-if 00 [VGA controller])
 Subsystem: Lenovo Device 21f5
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
 Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
 Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
 Region 5: I/O ports at 5000 [size=128]
 Expansion ROM at f1000000 [disabled] [size=512K]
 Capabilities: <access denied>
 Kernel driver in use: nouveau

Thanks Chris for the additional info, and triaging the bug at https://bugs.freedesktop.org/show_bug.cgi?id=70389

Should I try to disable the nvidia card, maybe from BIOS?

summary: - [dual monitor, xorg, intel] Corrupted rendering
+ [prime] unsynchronised rendering on secondary displays

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Payam Meyer (payam-blue) wrote :

I would like to add that I've only noticed the problem when DVI/DP cables are used to connect the external monitor. VGA cable works just fine. I have a Lenovo T520 with these graphics:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [Quadro NVS 4200M] (rev a1)

and two external monitors, the one connected with VGA works just fine but the second one connected with DVI has artifacts and rendering issues. A fix or workaround is very much appreciated.

Note that I use a VGA cable, and still have the issues. I have only one external monitor, connected with VGA.
The laptop display works fine (cannot be turned off, as far as I tried).

@Payam -- did you turn off your laptop display?

Dmitry K. (argus-ua) wrote :

I have the same problem on laptop Asus U31SD-RX127R with
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520M] (rev a1)

If need more info I ready to help.

Dmitry K. (argus-ua) wrote :

After install nvidia driver external monitor works fine, but internal not work, because internal videocard (intel) disabled. If enable internal video card, external again not works.

Also experiencing this on a Thinkpad T530 running Arch with kernel 3.11.6.

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 21f5
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 47
        Region 0: Memory at f1400000 (64-bit, non-prefetchable) [size=4M]
        Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 5000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [NVS 5400M] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 21f5
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
        Region 5: I/O ports at 4000 [size=128]
        Expansion ROM at f1000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nouveau
        Kernel modules: nouveau

Changed in nouveau:
importance: Unknown → Medium
status: Unknown → Confirmed

Also experiencing this issue on a W530 running Fedora 18 with 3.11.10. My second monitor is connected via the Lenovo dock connector. The bug does not appear if the display adapter is switched to Discrete mode in BIOS. I have also experienced this bug on a projector connected via VGA.

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
 Subsystem: Lenovo Device 21f5
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 44
 Region 0: Memory at f1400000 (64-bit, non-prefetchable) [size=4M]
 Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
 Region 4: I/O ports at 5000 [size=64]
 Expansion ROM at <unassigned> [disabled]
 Capabilities: <access denied>
 Kernel driver in use: i915

01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [Quadro K1000M] (rev a1) (prog-if 00 [VGA controller])
 Subsystem: Lenovo Device 21f5
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
 Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
 Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
 Region 5: I/O ports at 4000 [size=128]
 Expansion ROM at f1000000 [disabled] [size=512K]
 Capabilities: <access denied>
 Kernel driver in use: nouveau

Marius-andreiana, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xserver-xorg-video-intel REPLACE-WITH-BUG-NUMBER

Please note, given that the information from the prior release is already available, doing this on a release prior to the development one would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Keshav Dhandhania (kshav-91) wrote :

Yes. This bug still exists. I am experiencing the same issue.
Ubuntu 14.04

ThinkPad W530

One external monitor.

01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1000M] (rev a1) (prog-if 00 [VGA controller])
 Subsystem: Lenovo Device 21f5
 Flags: bus master, fast devsel, latency 0, IRQ 48
 Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
 Memory at c0000000 (64-bit, prefetchable) [size=256M]
 Memory at d0000000 (64-bit, prefetchable) [size=32M]
 I/O ports at 5000 [size=128]
 Expansion ROM at f1000000 [disabled] [size=512K]
 Capabilities: <access denied>
 Kernel driver in use: nouveau

Keshav Dhandhania (kshav-91) wrote :

Sorry. Forgot the second card.

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
 Subsystem: Lenovo Device 21f5
 Flags: bus master, fast devsel, latency 0, IRQ 46
 Memory at f1400000 (64-bit, non-prefetchable) [size=4M]
 Memory at e0000000 (64-bit, prefetchable) [size=256M]
 I/O ports at 6000 [size=64]
 Expansion ROM at <unassigned> [disabled]
 Capabilities: <access denied>
 Kernel driver in use: i915

Keshav Dhandhania, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report by executing the following in a terminal:
ubuntu-bug xorg

Please ensure you have xdiagnose installed, and that you click the Yes button for attaching additional debugging information.

For more on this, please see the official Ubuntu documentation:
Ubuntu X.Org Team, Ubuntu Bug Control, and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report will delay your problem being addressed as quickly as possible.

Thank you for your understanding.

summary: - [prime] unsynchronised rendering on secondary displays
+ [Lenovo ThinkPad W530] Unsynchronised rendering on secondary displays
description: updated
tags: added: bios-outdated-2.58
Keshav Dhandhania (kshav-91) wrote :

Hi Christopher,

My apologies in the delay in getting back to you. I probably missed the email notification.
I have created a new bug report and subscribed you to the same.

Thanks..

Try updating your intel ddx -- nouveau is not responsible for the contents of the images it renders when in reverse-prime mode -- the primary gpu is (in your case, intel).

Download full text (3.8 KiB)

Getting what appears to be a less-serious version of this bug on Debian Testing with the Intel driver from Experimental (2:2.99.916+git20141119-1~exp1).

I'm also using a W530, in Optimus mode in BIOS.

Dragging windows around the DVI/DFP display leaves artifacts and tears. The internal display (LVDS1) looks fine. Scrolling and typing is similarly slow; gnome-terminal is particularly ugly

$ uname -a
Linux dtp 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64 GNU/Linux

$ lspci | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1000M] (rev a1)

$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0xae cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 1 name:Intel
Provider 1: id: 0x68 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 4 outputs: 5 associated providers: 1 name:nouveau

$ xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 2280, maximum 32767 x 32767
LVDS1 connected primary 1920x1080+0+1200 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080 60.00*+ 59.93 50.00
   1680x1050 59.95 59.88
   1600x1024 60.17
   1400x1050 59.98
   1280x1024 60.02
   1440x900 59.89
   1280x960 60.00
   1360x768 59.80 59.96
   1152x864 60.00
   1024x768 60.00
   800x600 60.32 56.25
   640x480 59.94
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
LVDS-1-2 disconnected (normal left inverted right x axis y axis)
VGA-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200 59.95*+
   1920x1080 50.00
   1600x1200 60.00
   1680x1050 59.88
   1280x1024 75.02 60.02
   1440x900 74.98 59.90
   1280x960 60.00
   1280x800 59.91
   1152x864 75.00
   1280x720 60.00 50.00 59.94
   1024x768 75.08 70.07 60.00
   832x624 74.55
   800x600 72.19 75.00 60.32 56.25
   720x576 50.00
   720x480 60.00 59.94
   640x480 75.00 72.81 66.67 60.00 59.94
   720x400 70.08
  1680x1050 (0x6c) 119.000MHz
        h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.67KHz
        v: height 1050 start 1053 end 1059 total 1080 clock 59.88Hz
  1280x1024 (0x6e) 108.000MHz
        h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz
        v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz
  1280x960 (0x71) 108.000MHz
        h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.00KHz
        v: height 960 start 961 end 964 total 1000 clock 60.00Hz
  1024x768 (0x79) 65.000MHz
        h: width 1024 start 1048 end 1184 total 1344 ...

Read more...

no longer affects: xserver-xorg-video-intel (Ubuntu)
affects: nouveau → xserver-xorg-video-intel (Ubuntu)
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Medium → Undecided
status: Confirmed → New
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.