FS#20186 - [xf86-video-intel] 2.12.0-1 Second monitor stopped working

Attached to Project: Arch Linux
Opened by Carlos (tatsuno) - Thursday, 15 July 2010, 14:07 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 03 August 2010, 06:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

Upgraded from xf86-video-intel 2.11.0-2 to 2.12.0-1, and my dual monitor setup stopped working properly. Even though the primary monitor is fine, I get a black screen in the secondary monitor, although you can move the mouse pointer into it and see it, but you can't freely move it all over the secondary monitor, because the mouse is bounded to a small portion of it.

Also, even though I have a setup of secondary monitor to the right of primary, xrandr strangely reports that the current resolution is 1280x2048, instead of the normal 2560x1024.

Additional info:

No xorg.conf used.

$ uname -a
Linux hyrule 2.6.34-ARCH #1 SMP PREEMPT Mon Jul 5 22:12:11 CEST 2010 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

Steps to reproduce:

Upgrade to 2.12.0-1. Restart and set up secondary monitor to the left or right of primary.
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 03 August 2010, 06:49 GMT
Reason for closing:  Fixed
Comment by Carlos (tatsuno) - Thursday, 15 July 2010, 14:58 GMT
I forgot to mention that I'm using gnome 2.30.
Comment by Jan de Groot (JGC) - Thursday, 15 July 2010, 15:32 GMT
Same problem at my workstation. I reverted to 2.10 to get my 2nd screen working again, I haven't had time to bisect the regression yet.
Comment by Joris Dedieu (rmdir) - Friday, 16 July 2010, 09:25 GMT
Same problem for me after the upgrade of xf86-video-intel

After driver update xrandr doesn't work as expected. Native resolution is not supported
anymore. And the second screen is not really detache.

>> xrandr --output VGA1 --pos 1024x0 --mode 1280x1024 --rate 75.0
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 149 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 26
Current serial number in output stream: 27

so I have to :
xrandr --output VGA1 --pos 1024x0 --mode 1024x768

>> xrandr
Screen 0: minimum 320 x 200, current 2048 x 768, maximum 4096 x 4096
VGA1 connected 1024x768+1024+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0 + 75.0
1152x864 75.0
1024x768 75.1* 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
720x400 70.1
LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 246mm x 185mm
1024x768 50.0*+ 60.0 40.0
800x600 60.3 56.2
640x480 60.0 59.9
TV1 disconnected (normal left inverted right x axis y axis)



>> pacman -Ss xf86-video-intel
extra/xf86-video-intel 2.12.0-1 [installé] (xorg-video-drivers)
X.org Intel i810/i830/i915/945G/G965+ video drivers

>> uname -a
Linux ladybug 2.6.34-ARCH #1 SMP PREEMPT Mon Jul 5 21:03:38 UTC 2010 i686 Genuine Intel(R) CPU T1300 @ 1.66GHz GenuineIntel GNU/Linux

>> lspci -v | grep -i vga

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Comment by Nathan Crandall (cactus.ed) - Tuesday, 20 July 2010, 02:33 GMT
I have 965 and dual monitors seem to be working fine. Maybe just a problem with 945?

> $ lspci | grep VGA
> 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

> $ pacman -Qs intel
> local/intel-dri 7.8.2-1
> Mesa DRI drivers for Intel
> local/xf86-video-intel 2.12.0-1 (xorg-video-drivers)
> X.org Intel i810/i830/i915/945G/G965+ video drivers

> $ xrandr
> Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 8192 x 8192
> VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
> 1280x1024 60.0*+ 75.0
> 1280x960 75.0
> 1152x864 75.0
> 1024x768 75.1 70.1 60.0
> 832x624 74.6
> 800x600 72.2 75.0 60.3 56.2
> 640x480 72.8 75.0 66.7 60.0
> 720x400 70.1
> LVDS1 connected 1280x800+1280+180 (normal left inverted right x axis y axis) 331mm x 207mm
> 1280x800 60.0*+ 50.0
> 1024x768 60.0
> 800x600 60.3 56.2
> 640x480 59.9


Comment by James (rossy_) - Tuesday, 20 July 2010, 12:34 GMT
I have the same problem with my 945.

> $ xrandr
> Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
> VGA1 connected 1280x1024+1024+0 (normal left inverted right x axis y axis) 338mm x 270mm
> 1280x1024 60.0*+ 75.0
> 1152x864 75.0
> 1024x768 75.1 75.0 60.0
> 832x624 74.6
> 800x600 75.0 60.3
> 640x480 75.0 60.0
> 720x400 70.1
> LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
> 1024x600 60.0*+
> 800x600 85.1 72.2 75.0 60.3 56.2
> 640x480 85.0 72.8 75.0 59.9
> 720x400 85.0
> 640x400 85.1
> 640x350 85.1

> $ xrandr --output LVDS1 --auto --output VGA1 --auto --right-of LVDS1
> X Error of failed request: BadMatch (invalid parameter attributes)
> Major opcode of failed request: 149 (RANDR)
> Minor opcode of failed request: 7 (RRSetScreenSize)
> Serial number of failed request: 24
> Current serial number in output stream: 25

> $ lspci | grep VGA
> 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)

> $ uname -a
> Linux hatsune 2.6.34-ARCH #1 SMP PREEMPT Mon Jul 5 21:03:38 UTC 2010 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux

> $ pacman -Qs xf86-video-intel
> local/xf86-video-intel 2.12.0-1 (xorg-video-drivers)
> X.org Intel i810/i830/i915/945G/G965+ video drivers

After trying to use xrandr to extend my desktop to the second monitor, the X server outputs this message:
> (EE) intel(0): Failed to allocate framebuffer.
Comment by Michal Docekal (lawmaker) - Sunday, 25 July 2010, 11:45 GMT
I can confirm the bug on Intel 945GME, bug exists on 32-bit architecture as well.
Comment by Juri (lynucs) - Monday, 02 August 2010, 08:48 GMT
confirming the same issue with:

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
Comment by Jan de Groot (JGC) - Monday, 02 August 2010, 09:24 GMT
This is actually a bug in libdrm:
http://cgit.freedesktop.org/mesa/drm/commit/?id=726210f87d558d558022f35bc8c839e798a19f0c

The new intel driver uses libdrm to allocate framebuffer, which doesn't work on pre-965 hardware without that commit.
Comment by Jan de Groot (JGC) - Monday, 02 August 2010, 20:59 GMT
This should be fixed with libdrm 2.4.21-2.

Loading...