LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-04-2009, 06:42 PM   #1
fdahl_009
Member
 
Registered: Oct 2005
Location: Norway
Posts: 148

Rep: Reputation: 16
Slackware 13, X with intel gives artifacts


Hi all.

I have installed Slackware 13 on my laptop today, an HP ze2115ea.

In kde I do get artifacts just on the top window decoration.
For some reason, when right click on desktop, then appearance settings, the only window/program I have seen yet that do not have the problem.
In xfce I get misc artifacts. No problems outside X.

The only solution I have found yet is to use the vesa driver, works ok, except when playing video ofcourse, it gets laggy and hopeless laggy when fullscreen. With the intel driver I get artifacts as said, but video performance is as it should be.

Have tried to add the AccelMethod XAA/EXA, and/or the MigrationHeuristic greedy to the devices section of xorg.conf. This did not help.

Its the first time I have the problem, never seen them in any linux version on this laptop before.
Latest ubuntu installs and runs fine without the artifacts, so I am positive it is not an hardware problem. Slackware 12 is no problem either.

Any ideas on how to fix this?


Fredrik.
EDIT: Added graphic card info and xorg.conf


00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)

Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/local"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/CID"
	FontPath     "/usr/share/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
	Load  "dri2"
	Load  "dri"
	Load  "glx"
	Load  "extmod"
	Load  "dbe"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option       "XkbModel"  "pc104"
	Option       "XkbLayout"  "no"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "vesa"
	VendorName  "Unknown Vendor"
	BoardName   "Unknown Board"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card1"
	Driver      "vesa"
	VendorName  "Unknown Vendor"
	BoardName   "Unknown Board"
	BusID       "PCI:0:2:1"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Last edited by fdahl_009; 09-04-2009 at 06:47 PM.
 
Old 09-04-2009, 07:45 PM   #2
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
I still have a laptop with this card.

You will need to recompile the kernel. Remove all framebuffer devices except intelfb, and make intelfb <*>. Go to AGP section and make AGP and Intel's AGP <*>. Go to DRI and make i915 intel <M>. From here, pick a framebuffer size you like in lilo.conf, and after you recompile the kernel, add it to lilo.conf, run lilo, and reboot.

As for xorg.conf, i say temporarily move the xorg.conf out of the way and try X without an xorg.conf. It should pick up on what you have.

This is the only way I could get my laptop to have usable graphics and not barf when I move to/from virtual terminals (i.e. control+alt+F6/F7 when X is running), and the only way I could get hardware acceleration. This is how Slackware 12.2 worked. However, Slackware 13.0-rc1 also worked well this way.

You can see how I configured this laptop here:
TwinReverb: Toshiba A55-S306 Laptop
 
Old 09-05-2009, 09:38 AM   #3
fdahl_009
Member
 
Registered: Oct 2005
Location: Norway
Posts: 148

Original Poster
Rep: Reputation: 16
Downloaded latest stable kernel, 2.6.30.5.
Used the /boot/config-generic-smp-2.6.29.6-smp as the .config file to have something to start with.

Had to compile a couple of times before I remembered all, a couple of years since last time...

Renamed the xorg.conf so it would not be used.

Now everything are fine,

Thanks
 
Old 09-14-2009, 09:55 AM   #4
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 854

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
I also got artifacts with my laptop, a Dell Latitude D505. I will try the solutions and see what happens. Right now, the only thing I can do is to downgrade the driver to version 2.5.1 (found in /extra), but the catch is that hardware acceleration is lost.
 
Old 09-14-2009, 11:32 AM   #5
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
I've had to different artifacts with two different laptops. On the aspire one I had some "flicking" on the screen. Eventually it turned all white, blue or black. It didn't work to restart X. not even reload the module. The solution was to add DRI to the kernel.

On the other laptop I had distortion in the colors of the titlebar. This was only in KDE4 tho. In fluxbox it seemed to be all right. This is an old laptop I actually don't use, so I haven't debugged it. I fixed it temporary by using vesa. I doubt I will try to solve the issue. Last time i used the computer was a year ago. :P

Last edited by Dinithion; 09-14-2009 at 11:36 AM.
 
Old 09-15-2009, 11:44 AM   #6
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 854

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
I'm happy to report that I got a workaround on this issue. As I reported before, I use a Dell Latitude D505 laptop. The output from lspci identifies the video system as "Intel 82552/82855 GM/GME". With stock kernel, xorg and driver, I got a screen full of artifacts: horizontal lines, problems in the "oxygen" and "ozone" window decorations in KDE4, a totally unreadable OpenOffice.org, and so on.

For my particular hardware, you can work around the issues in TWO ways:

1. Without touching the kernel:

Replace the stock xf86-video-intel with the xf86-video-intel package, version 2.5.1, provided in /extra.

PRO: The issue is worked around. The screen now behaves decently, you don't have to do major changes to the system.
CON: You don't get hardware 3D acceleration.

2. Touching the kernel

- Upgrade or install the kernel 2.6.30.5 provided in /testing. Read carefully the hints in README-FIRST.txt
- Ensure you run either the stock (2.8.0) driver, or the latest one provided in extra (2.8.1).

PRO: The issue is worked around, the screen behaves correctly, and hardware 3D acceleration works.
CON: You move to an unsupported kernel.

Either way, is your call. Hope this helps.
 
Old 09-15-2009, 09:09 PM   #7
Koalazilla
LQ Newbie
 
Registered: Jul 2008
Location: Maryland
Distribution: Slackware, Debian
Posts: 2

Rep: Reputation: 0
I'm having a similar problem with an Intel 82865G chipset, except that the desktop basically freezes. Seconds after X starts, I can move the mouse cursor but the keyboard and mouse buttons are unresponsive, and so I have to manually reset. I have tried the stock and testing kernel with every combination of intel graphics drivers. I tried recompiling the stock kernel as TwinReverb suggested but to no avail. I have tried multiple window managers without success. The only thing that works is using the standard vesa driver, but that's not really a solution. I would appreciate any and all suggestions for help.
 
Old 09-15-2009, 10:54 PM   #8
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
Quote:
Originally Posted by sombragris View Post
CON: You move to an unsupported kernel.
That's only a con if you receive support for Slackware (much less you can keep the generic-smp and/or huge-smp kernels in the stock LILO config).
 
Old 04-14-2010, 02:05 PM   #9
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
Quote:
Originally Posted by TwinReverb View Post
I still have a laptop with this card.

You will need to recompile the kernel. Remove all framebuffer devices except intelfb, and make intelfb <*>. Go to AGP section and make AGP and Intel's AGP <*>. Go to DRI and make i915 intel <M>. From here, pick a framebuffer size you like in lilo.conf, and after you recompile the kernel, add it to lilo.conf, run lilo, and reboot.
<SNAP>

Hmm.. seems I have a Intel 82852 thingy inside.. and I am about to recomplile my very first kernel ( shudder ).. via menuconfig I allready found my processorfamily,. but I think you are 'criptic' about what things to exclude / include.. intelfb -> Is this under:
DeviceDrivers -> GraphicsSupport -> /dev/agpgart (AGP support) ->
thus de-selecting everything but I can't get Intel i8xx to go[*] only [m] since (and I quote): This feature depends on another which has been configured as a module. │
│ As a result, this feature will be built as a module.

To bad it doesn't note which other feature it depends upon, or ( for total slack-less-ness ) mention which feature(s) and the option to include these dependencies.. but hey.. that's to be overcome

under DRI ( which I think is " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) " I get the same 'error' on trying to set to[*]

-confused-

I could just use a link... (google is my friend, but I get to many answers)

PS:
Quote:
You can see how I configured this laptop here:
TwinReverb: Toshiba A55-S306 Laptop
To bad this link is dead. ( -> edit -> http://www.puresimplicity.net/~delah...a/toshiba.html )

Last edited by sjampoo; 04-15-2010 at 02:37 PM.
 
Old 04-14-2010, 02:37 PM   #10
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
The link has moved. Now:

here
 
Old 04-15-2010, 01:51 AM   #11
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
Thanx!

Looked at your site, and I think I can get going a little further.

Could it be ( as I am not at home now, so can't check ) that the config of 13 differs abit from 12.2. I can clearly find the intel fb hardware you mentioned earlier in your config file.. but don't recall that section in the menuconfig of 13. Different kernel won't make such a leap will it?
I'll probably be wrong
 
Old 04-15-2010, 02:29 AM   #12
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
This would have been terrific information for me as I have another thread going about an old laptop using a similar chip (82845GM). When I installed I could only use vesa to get a desktop. This sounds like it would have been a solution. But, sadly, networking does not work so it is a no-go for Slackware on this laptop.

Bob
 
Old 04-15-2010, 11:43 AM   #13
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
Good thing laptops mostly have pcicia card slots? .. or atleased usb?..
PS: I still consider this laptop not to be old.
 
Old 04-15-2010, 03:34 PM   #14
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
*compiling*

Since it's the first time I ever compile my own custom kernel... I had some trouble finding what to put where. Thanks to the link TwinReverb posted (and his .config file on that website) I figured out most of it.

PS: does compiling always take so long? ( Celeron Mobile 2,4Ghz )
 
Old 04-17-2010, 05:08 AM   #15
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
Talking

Quote:
Originally Posted by sjampoo View Post
*compiling*

Since it's the first time I ever compile my own custom kernel... I had some trouble finding what to put where. Thanks to the link TwinReverb posted (and his .config file on that website) I figured out most of it.

PS: does compiling always take so long? ( Celeron Mobile 2,4Ghz )
Celeron says it all 8-S
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Persistent screen artifacts in X on Edgy w/ Inspiron e1505 / Intel 945GM lisrael Ubuntu 3 05-30-2008 04:58 PM
Display artifacts in Ubuntu 7.10 digTro Linux - Software 0 10-20-2007 08:01 AM
artifacts with Radeon 9800 0pal_t0ad General 5 04-18-2005 02:04 AM
wierdo artifacts brainlesspinkey Linux - Games 0 10-04-2004 09:14 PM
Radeon Artifacts Phathead Linux - Hardware 11 11-20-2003 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration