Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]gentoo-sources-2.6.38 causes screen mess
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sipingal
n00b
n00b


Joined: 12 May 2008
Posts: 62
Location: China

PostPosted: Sat Mar 19, 2011 1:14 pm    Post subject: [SOLVED]gentoo-sources-2.6.38 causes screen mess Reply with quote

My video card is Intel Mobile 945GM which is an embedded video card. The screen looks like it is running with a piece of broken RAM. Anybody encounter the same issue?

If I go back to 2.6.37, everything just is fine. Hope the new intel video driver(xf86-video-intel-2.15) will fix this issue.


Code:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
   Subsystem: Dell Device 01c2
   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
   Capabilities: <access denied>
   Kernel driver in use: agpgart-intel


Last edited by sipingal on Wed May 04, 2011 3:11 am; edited 4 times in total
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Sat Mar 19, 2011 5:47 pm    Post subject: Reply with quote

Same here.
Back to top
View user's profile Send private message
`VL
n00b
n00b


Joined: 30 Apr 2004
Posts: 71
Location: Russia

PostPosted: Sun Mar 20, 2011 9:04 pm    Post subject: Reply with quote

Hello!

I have a similar problem with 2.6.38, but with an nvidia card.
It looks like black color is broken =)))

Actually, after running some hw-accelerated stuff (flash, quake,...) part of my
screen keeps random garbage for black color.

I've created video with my camera and put it on youtube: http://www.youtube.com/watch?v=2RRUjo9re6s

Other effects are corrupted fonts.

Does anybody knows where to start debugging from? ;-)
Maybe some settings can be tuned for the driver?
_________________
Life is too short to be taken seriously.
Back to top
View user's profile Send private message
SandStar
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2005
Posts: 77

PostPosted: Sun Mar 20, 2011 10:34 pm    Post subject: Reply with quote

Everything seems normal here

Code:

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 1252
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at feb80000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at ec00 [size=8]
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Memory at feb40000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Kernel driver in use: i915


2.6.38 and everything runs smooth.

Edit:
Bit of a noob most of the time but "agpart-intel" as driver?
Back to top
View user's profile Send private message
sipingal
n00b
n00b


Joined: 12 May 2008
Posts: 62
Location: China

PostPosted: Mon Mar 21, 2011 4:48 am    Post subject: Reply with quote

SandStar wrote:
Everything seems normal here

Code:

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 1252
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at feb80000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at ec00 [size=8]
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Memory at feb40000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Kernel driver in use: i915


2.6.38 and everything runs smooth.

Edit:
Bit of a noob most of the time but "agpart-intel" as driver?


Could you please paste the output of "eselect mesa list"? Have you enabled modeset?

Thank you
Back to top
View user's profile Send private message
SandStar
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2005
Posts: 77

PostPosted: Mon Mar 21, 2011 1:04 pm    Post subject: Reply with quote

Code:

eselect mesa list
i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
  [2]   gallium
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen)
sw (Software renderer)
  [1]   classic
  [2]   gallium *


As for the modeset; I've no idea. Still reading up on what it is

Edit:
Hope this is it:
Code:

grep I915 /usr/src/linux/.config
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
Back to top
View user's profile Send private message
sipingal
n00b
n00b


Joined: 12 May 2008
Posts: 62
Location: China

PostPosted: Mon Mar 21, 2011 3:56 pm    Post subject: Reply with quote

SandStar wrote:
Code:

eselect mesa list
i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
  [2]   gallium
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen)
sw (Software renderer)
  [1]   classic
  [2]   gallium *


As for the modeset; I've no idea. Still reading up on what it is

Edit:
Hope this is it:
Code:

grep I915 /usr/src/linux/.config
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y


Hi SandStar, thank you. I have the same setting as yours. I still face the issue. have no idea either.

Quote:
$ sudo lspci -vv -s 00:00.0
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
Subsystem: Dell Device 01c2
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
Capabilities: [e0] Vendor Specific Information: Len=09 <?>
Kernel driver in use: agpgart-intel

$ sudo lspci -vv -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Dell Device 01c2
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 16
Region 0: Memory at eff00000 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at eff8 [size=8]
Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at efec0000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Address: 00000000 Data: 0000
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: i915



BTW, you are able to see my screenshot here(please DO NOT click the URL directly, copy it to a new tab or window to open it):
Gnome-terminal: http://126.fm/3YlmrF
Firefox: http://126.fm/4JyZMz
Back to top
View user's profile Send private message
sipingal
n00b
n00b


Joined: 12 May 2008
Posts: 62
Location: China

PostPosted: Mon Mar 21, 2011 4:45 pm    Post subject: Reply with quote

This should be a bug, many reports here:

http://permalink.gmane.org/gmane.linux.debian.devel.kernel/68806
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/737900
https://bugs.launchpad.net/ubuntu/natty/+source/linux/+bug/717114

Found a solution, will try it tomorrow.
https://bugs.freedesktop.org/show_bug.cgi?id=34584
Back to top
View user's profile Send private message
SandStar
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2005
Posts: 77

PostPosted: Mon Mar 21, 2011 6:35 pm    Post subject: Reply with quote

Screenshots clear things up.
I'm seeing sort of the same thing but only on Thunderbird and then only for half a second when I open it.
Everything else works fine. I wasn't bothered by it very much and considered it a Thunderbird bug and was planning to recompile it.
Back to top
View user's profile Send private message
Odinist
Apprentice
Apprentice


Joined: 09 Aug 2006
Posts: 176
Location: Silesia, Poland

PostPosted: Tue Mar 22, 2011 9:01 am    Post subject: Reply with quote

Hope this is it:
Code:

grep I915 /usr/src/linux/.config
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
[/quote]

I have no I915 in kernel (2.6.38-gentoo-sources):
Code:
# grep I915 /usr/src/linux/.config
komputronik / #


What should I do? My kernel config is here
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2664
Location: Slovenia

PostPosted: Tue Mar 22, 2011 9:36 am    Post subject: Reply with quote

Remove all FB drivers (FB_UVESA, FB_VESA, FB_LE8057), you don't need FB_MODE_HELPERS and FB_TILEBLITTING either.
Then activate AGP and AGP_INTEL, and you'll be able to select DRM_I915 and DRM_I915_KMS
Back to top
View user's profile Send private message
Odinist
Apprentice
Apprentice


Joined: 09 Aug 2006
Posts: 176
Location: Silesia, Poland

PostPosted: Tue Mar 22, 2011 10:16 am    Post subject: Reply with quote

Thanks.
Back to top
View user's profile Send private message
sipingal
n00b
n00b


Joined: 12 May 2008
Posts: 62
Location: China

PostPosted: Tue Mar 22, 2011 1:00 pm    Post subject: Reply with quote

failed with the patch set, give up and wait for upstream fix. :(
Back to top
View user's profile Send private message
sipingal
n00b
n00b


Joined: 12 May 2008
Posts: 62
Location: China

PostPosted: Thu Mar 24, 2011 3:47 pm    Post subject: Reply with quote

Thank the ARCH kernel group. The problem is solved by the patch i915-pipeline.patch. Have it here: http://projects.archlinux.org/linux-2.6-ARCH.git/tree/patches
Back to top
View user's profile Send private message
sipingal
n00b
n00b


Joined: 12 May 2008
Posts: 62
Location: China

PostPosted: Wed May 04, 2011 3:10 am    Post subject: Reply with quote

vanilla kernel 2.6.38.5 fixes this issue, the gentoo-sources-2.6.38-r4 has the fix as well
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum