LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2004, 10:33 AM   #1
bleargh
Member
 
Registered: Jul 2004
Location: New York, NY
Distribution: Ubuntu
Posts: 67

Rep: Reputation: 16
Unhappy fluxbox slow? - libranet thinkpad 600e


So I finally got linux working. Libranet 2.8.1 and running fluxbox. It is quite a bit slower than XP, though, and I am wondering if this is fixable. I thought fluxbox was supposed to be lightweight and fast!

I push the down button to scroll (in firefox or synaptic, for instance) and by the time it reacts I had pushed it for so long that it scrolls 3 pages past where i wanted to be, and won't react to anything in the meantime, as it scrolls all slowly and chunkily. When I'm in xterm or rxvt and I do an ls of lots of files, it will scroll slowly, then scroll ahead real quickly, then scroll slowly again, very erratically. Any sort of typing seems to have a slow feedback, when it's being especially slow I can type a whole sentence without it showing up on the screen, and then it slowly pops up each letter one by one. And the mouse seems sluggish, too, although I have addressed that in another post; it might be unrelated. (http://www.linuxquestions.org/questi...84#post1085684)

This is on a Thinkpad 600E
Pentium II 366
something weird like 228 MB of RAM
256 MB swap
4 GB reiserFS partition
Libranet 2.8.1
 
Old 08-03-2004, 06:01 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Very odd, flux + libranet + firefox are all fast applicationsand your PC should run them flawlessly. I'd guess that your problem lays with the wrong usage of video configuration. It has been a while since I last used Libranet, but I believe that at xadminmenu you can configure your display settings.

If not, edit manually the file XF86Config (or XF86Config-4) located at /etc/X11/. Play a bit around with your monitor settings, including refresh rate and dept. Same goes to the amount of video memory and drivers (vesa, vga, etc).

Good luck mate!

P.S: if you Ram memory is wrongly configured (like if you have 256 and only 228 is detected) you can tell lilo the correct amount of Ram during boot time...

P.S2: try running "top" at the command line to see if some program/service is eating you RAM up. If so, killall -9 the process and see if that was the problem...
 
Old 08-03-2004, 06:08 PM   #3
bleargh
Member
 
Registered: Jul 2004
Location: New York, NY
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: 16
Ok. I will look into those. Is there a configuration file I could post or something for people to look through? I'm a newb.
 
Old 08-03-2004, 06:47 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I don't know libra, and therefore don't know how it
handles dma, but dma being turned off is a common
cause for performance issues ...

hdparm /dev/hda

to see what's set...


Another thing that often happens to notebooks is
problems with the apm-daemon ... have a look
whether apmd is running
ps -A | grep apm
and whether preformance improves without it...
su -c "skill -9 apmd"


Cheers,
Tink
 
Old 08-03-2004, 07:58 PM   #5
bleargh
Member
 
Registered: Jul 2004
Location: New York, NY
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by Megaman X
P.S: if you Ram memory is wrongly configured (like if you have 256 and only 228 is detected) you can tell lilo the correct amount of Ram during boot time...
I did some experiments and figured it out:

32 MB base + 128 MB card + 64 MB card = 224 MB

:-) free says 224044, so that is working correctly.

Quote:
P.S2: try running "top" at the command line to see if some program/service is eating you RAM up. If so, killall -9 the process and see if that was the problem...
It has 4 "firefox-bin"s that are using up 16.2% of memory each. Is this normal?

Quote:
hdparm /dev/hda

to see what's set...
using_dma = 1 (on)

Quote:
ps -A | grep apm
66 ? 00:00:00 kapmd
259 ? 00:00:00 apmd

Quote:
su -c "skill -9 apmd"
nope. still the same.

Quote:
su -c "skill -9 kapmd"
nope. still the same.
 
Old 08-03-2004, 08:07 PM   #6
bleargh
Member
 
Registered: Jul 2004
Location: New York, NY
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by Megaman X
If not, edit manually the file XF86Config (or XF86Config-4) located at /etc/X11/. Play a bit around with your monitor settings, including refresh rate and dept. Same goes to the amount of video memory and drivers
Ok, but you can help me.

Here is my XF86Config-4:

Code:
################################################################################
# XFree86 configuration for version XFree86 4.x
#
# Configuration created by Libranet Adminmenu
################################################################################

Section "Files"
	#FontPath	"unix/:7100"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/TrueType"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/share/fonts/truetype"
	FontPath	"/usr/share/fonts/truetype/openoffice"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
	Load	"ddc"
	Load	"GLcore"
	Load	"dbe"
	Load	"extmod"
	Load	"glx"
	Load	"record"
	Load	"bitmap"
	Load	"freetype"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"int10"
EndSection


Section "InputDevice"
	Identifier	"Default Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Default Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
	Option		"SampleRate" "10000000"
	Option		"Resolution" "500"
EndSection

Section "Device"
	Identifier	"Neomagic Corporation NM2200 [MagicGraph 256AV]"
	Driver		"neomagic"
	#VideoRam	2496
EndSection

Section "Monitor"
	Identifier "Selected Monitor"
	HorizSync 31.5-48.5
	VertRefresh 40-70
	Option "DPMS"
EndSection


Section "Screen"
	Identifier	"Default Screen"
	Device		"Neomagic Corporation NM2200 [MagicGraph 256AV]"
	Monitor		"Selected Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes	"1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes	"1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes	"1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes	"1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes	"1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes	"1024x768" "800x600" "640x480" 
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Install Screen"
	Device		"Neomagic Corporation NM2200 [MagicGraph 256AV]"
	Monitor		"Selected Monitor"
	DefaultDepth	15
	SubSection "Display"
		Depth		1
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Default Keyboard"
	InputDevice	"Default Mouse"
EndSection

Section "ServerLayout"
	Identifier	"Install Layout"
	Screen		"Install Screen"
	InputDevice	"Default Keyboard"
	InputDevice	"Default Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
I added the mouse resolution and samplerate, but otherwise the same as default. (And my silly samplerate didn't change anything. It was slow before I added it.)

It is a thinkpad LCD monitor, so the horizontal sync and such dont really apply, do they?
 
Old 08-03-2004, 08:30 PM   #7
bleargh
Member
 
Registered: Jul 2004
Location: New York, NY
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: 16
I switched the driver(?) to standard VESA 256 color 1024x768 and it seems to scroll faster but of course looks like crap. I am reading things about the framebuffer. How do I turn that on or check if it is on? I will keep trying other modes...
 
Old 08-03-2004, 08:47 PM   #8
bleargh
Member
 
Registered: Jul 2004
Location: New York, NY
Distribution: Ubuntu
Posts: 67

Original Poster
Rep: Reputation: 16
Yeah, the standard VESA driver is noticeably faster (though still choppy), with the same resolution and bit depth. That seems intuitively wrong, though. The thinkpad has a neomagic board so wouldn't the neomagic driver be faster? So maybe it would be faster but there's a configuration issue?
 
Old 03-07-2008, 12:14 PM   #9
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
In case someone stumbles upon this old thread looking for a solution. See the following thread:
http://www.linuxquestions.org/questi...magic+thinkpad
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
thinkpad 600e sound solution! freychef LinuxQuestions.org Member Success Stories 23 12-13-2005 11:24 AM
thinkpad 600e and powermanagement spotslayer SUSE / openSUSE 0 11-03-2005 06:43 AM
no sound on thinkpad 600e qfesp2002 Linux - Laptop and Netbook 4 09-30-2005 11:22 AM
Thinkpad 600E (ACPI vs APM) kysen Linux - Laptop and Netbook 3 02-18-2005 03:08 AM
kernel 2.6 and Thinkpad 600e freychef Linux - Laptop and Netbook 7 06-11-2004 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:12 PM.

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