Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving from 2.4 to 2.6 guide
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Wed Jan 28, 2004 2:12 am    Post subject: Reply with quote

pengo wrote:
I just updated to 2.6 without a problem, but I'm not seeing ANY kind of improvements.

The system doesn't seem any faster and I still get audio lag from XMMS when I scroll in a webpage. Is there any way to make sure I'm running the 2.6 kernel? Should I recompile XMMS, or what?

BTW: I'm on a 1.4ghz Athlon XP w/ 512MB RAM.


audio lag when scrolling a web page with that machine? hmmm... is the audio you are playing coming off the net or off your hdd?

to check your running kernel at a terminal window type uname -r and it will return the running kernel version.

i also suspect your system may be kept busy with something. it is odd that a machine of that power would lag in anything.

now, if the audio is coming off the net then you may very well be reaching the saturation point in your bandwidth causing some packet loss. if you have dsl or broadband of some type, try limiting your xmms on net music to about 1/2 to 1/3 your available bandwidth then run this test again and that should clear it up. if the music is being played from your hard drive, then we need to dig in a bit to figure this out. shouldnt happen.. also if it is being played from your cd player it still shouldnt happen.

2.6.x by its very nature will give noticable improvements in some way.

if you run gkrellm, click on the memory button to let it scroll and see how much free memory you have. same for swap. see if any swap is being used while playing music. if you dont have gkrellm i highly recommend it, but you can open a terminal and run top to see your processor and memory usages in real time.

Chuck
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Wed Jan 28, 2004 3:10 am    Post subject: Reply with quote

Thank you for your help, Chuck!

The problem occurs when I scroll around on any webpage. The music is being streamed over my network, but the same problem occurs when I'm playing music off of my hard drive.

uname -r returns "2.6.0", so I guess that's not the problem.

top shows that when I scroll in either Firebird or Konqueror, CPU usage spikes to between 60 and 70 percent. Also, I was under the impression that gkrellm was a Gnome app? Does it function well in KDE as well?

Thanks again for the help. :)
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Wed Jan 28, 2004 6:33 am    Post subject: Reply with quote

pengo wrote:
Thank you for your help, Chuck!

The problem occurs when I scroll around on any webpage. The music is being streamed over my network, but the same problem occurs when I'm playing music off of my hard drive.

uname -r returns "2.6.0", so I guess that's not the problem.

top shows that when I scroll in either Firebird or Konqueror, CPU usage spikes to between 60 and 70 percent. Also, I was under the impression that gkrellm was a Gnome app? Does it function well in KDE as well?

Thanks again for the help. :)


I assume your network is standard ethernet 10/100/1000 ?

2.6.0 had several issues. you might want to try 2.6.1 or 2.6.2-rc1

what kernel 'type' are you running? gentoo sources?

something is odd about that. i have a dual p3-933 and when i scroll using firebird, if i scroll using the mouse wheel, top reports one proc shoots to about 18%. scrolling using the scrollbar arrows, top reports about 30% and if i grab the bar and hold it and move the mouse rapidly up and down the webpage top jumps to about 38%.

what happens to the music if you just scroll one line with a second or 2 between lines? do you hear the interruption? also try using noatun for a test. does it do this with noatun also?

you can run any app. i use kde 3.1.5 and i regularly use gnome applications, did use evolution but not any more, gnomemeeting ,gaim, etc. you can even create a hybrid window manager by mixing elements of gnome into kde (such as gnome's great movable panel system). you do need either gnome installed or several gnome libraries installed to be able to do this. gkrellm , i believe, will compile and run even without that. not 100% sure but i believe it will compile using qt as well as gtk (emerge takes care of needs anyway). if I didn't have gkrellm I would go nuts :D It runs well in any window manager. I have used it with no caveats in fluxbox, windowmaker, xfce, gnome, enlightenment, kde. as long as it can compile, my impression of it is it will run. hehe i even had windowmaker wm box apps running in kde with no problems either.

Chuck
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Wed Jan 28, 2004 6:43 am    Post subject: Reply with quote

pengo wrote:
Thank you for your help, Chuck!

The problem occurs when I scroll around on any webpage. The music is being streamed over my network, but the same problem occurs when I'm playing music off of my hard drive.

uname -r returns "2.6.0", so I guess that's not the problem.

top shows that when I scroll in either Firebird or Konqueror, CPU usage spikes to between 60 and 70 percent. Also, I was under the impression that gkrellm was a Gnome app? Does it function well in KDE as well?

Thanks again for the help. :)


just thought of something. what video card/driver do you use? what is your performance report using glxgears? open a terminal window, remain as the logged in user, not superuser, and type glxgears and then watch the report scroll in the terminal window for 4 or 5 lines, then cut and paste it here.

also while in a terminal window, please copy/paste the report from the following

cat /proc/interrupts

i hope 2.6.x still supports that :) i stopped running 2.6.2 until they have the lm80 sensors support i need and am back to 2.4.22..

Chuck
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Wed Jan 28, 2004 2:41 pm    Post subject: Reply with quote

Yes, my network card is 10/100.

How can I emerge the 2.6.1 kernel? development-sources seems to just grab 2.6.0.

Noatun is also affected by this bug, it seems even worse in noatun. The lag doesn't really happen when I just scroll a line or two at a time.

Thanks for the info about gnome apps.

I couldn't paste info from glxgears--something's messed up with it. At first, it would whine about not being able to open some sort of window, and now it's telling me the command doesn't exist at all and emerge can't find it either.

Code:

# cat /proc/interrupts
           CPU0
  0:     966054    IO-APIC-edge  timer
  1:       1066    IO-APIC-edge  i8042
  2:          0          XT-PIC  cascade
 11:          0    IO-APIC-edge  acpi
 14:      21505    IO-APIC-edge  ide0
 15:         19    IO-APIC-edge  ide1
 17:      77227   IO-APIC-level  eth0
 25:      55696   IO-APIC-level  uhci_hcd, uhci_hcd
 26:      14332   IO-APIC-level  VIA686A
NMI:          0
LOC:     967108
ERR:          0
MIS:          0
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Wed Jan 28, 2004 3:03 pm    Post subject: Reply with quote

pengo wrote:
Yes, my network card is 10/100.

How can I emerge the 2.6.1 kernel? development-sources seems to just grab 2.6.0.

Noatun is also affected by this bug, it seems even worse in noatun. The lag doesn't really happen when I just scroll a line or two at a time.

Thanks for the info about gnome apps.

I couldn't paste info from glxgears--something's messed up with it. At first, it would whine about not being able to open some sort of window, and now it's telling me the command doesn't exist at all and emerge can't find it either.

Code:

# cat /proc/interrupts
           CPU0
  0:     966054    IO-APIC-edge  timer
  1:       1066    IO-APIC-edge  i8042
  2:          0          XT-PIC  cascade
 11:          0    IO-APIC-edge  acpi
 14:      21505    IO-APIC-edge  ide0
 15:         19    IO-APIC-edge  ide1
 17:      77227   IO-APIC-level  eth0
 25:      55696   IO-APIC-level  uhci_hcd, uhci_hcd
 26:      14332   IO-APIC-level  VIA686A
NMI:          0
LOC:     967108
ERR:          0
MIS:          0


hmmm.. i dont see a sound card above.. or are you using a usb card?

there is a difference between development-sources and gentoo-dev-sources. i use gentoo-dev-sources. it will deliver 2.6.1

it sounds to me like the system decided glx isnt working right and disabled it. what should happen is after you enter glxgears in the terminal it will open a small window with 3 gears in it rotating, and the numbers will appear every 5 seconds on the terminal window, then press ^C in the terminal window to exit. here is mine to give you an idea what it should look like:



Code:

gndmstr@eron gndmstr $ glxgears
12064 frames in 5.0 seconds = 2412.800 FPS
13025 frames in 5.0 seconds = 2605.000 FPS
12959 frames in 5.0 seconds = 2591.800 FPS
12516 frames in 5.0 seconds = 2503.200 FPS

gndmstr@eron gndmstr $



does your vid system support glx? what vid card/chip and driver are you using. i think we need to attack X first here.. this may be the source of your problems. What I will need is is your vidcard make/model, your agp settings in bios, your agp settings in kernel and whether internal or module, and a copy of your XF86Config. For clarity, if it still has all those comments in it from the example file, please edit them out and save it into a temp file to paste here so it is nothing but code. Also do you have interrupts for video enabled in your cmos? if not enable it. something is very odd about your setup but i think in time we can find it. your machine should perform very well and smoothly. the things you say are sending it over the edge should be able to run and have it still 'loafing'.

Chuck
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Wed Jan 28, 2004 3:14 pm    Post subject: Reply with quote

RioFL wrote:
pengo wrote:
How can I emerge the 2.6.1 kernel? development-sources seems to just grab 2.6.0.

there is a difference between development-sources and gentoo-dev-sources. i use gentoo-dev-sources. it will deliver 2.6.1


If you just want the vanilla sources, then doing

Code:
ACCEPT_KEYWORDS="~x86" emerge development-sources


should get you the vanilla 2.6.1 sources.
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Thu Jan 29, 2004 12:01 am    Post subject: Reply with quote

RioFL wrote:
pengo wrote:
Yes, my network card is 10/100.

How can I emerge the 2.6.1 kernel? development-sources seems to just grab 2.6.0.

Noatun is also affected by this bug, it seems even worse in noatun. The lag doesn't really happen when I just scroll a line or two at a time.

Thanks for the info about gnome apps.

I couldn't paste info from glxgears--something's messed up with it. At first, it would whine about not being able to open some sort of window, and now it's telling me the command doesn't exist at all and emerge can't find it either.

Code:

# cat /proc/interrupts
           CPU0
  0:     966054    IO-APIC-edge  timer
  1:       1066    IO-APIC-edge  i8042
  2:          0          XT-PIC  cascade
 11:          0    IO-APIC-edge  acpi
 14:      21505    IO-APIC-edge  ide0
 15:         19    IO-APIC-edge  ide1
 17:      77227   IO-APIC-level  eth0
 25:      55696   IO-APIC-level  uhci_hcd, uhci_hcd
 26:      14332   IO-APIC-level  VIA686A
NMI:          0
LOC:     967108
ERR:          0
MIS:          0


hmmm.. i dont see a sound card above.. or are you using a usb card?

there is a difference between development-sources and gentoo-dev-sources. i use gentoo-dev-sources. it will deliver 2.6.1

it sounds to me like the system decided glx isnt working right and disabled it. what should happen is after you enter glxgears in the terminal it will open a small window with 3 gears in it rotating, and the numbers will appear every 5 seconds on the terminal window, then press ^C in the terminal window to exit. here is mine to give you an idea what it should look like:



Code:

gndmstr@eron gndmstr $ glxgears
12064 frames in 5.0 seconds = 2412.800 FPS
13025 frames in 5.0 seconds = 2605.000 FPS
12959 frames in 5.0 seconds = 2591.800 FPS
12516 frames in 5.0 seconds = 2503.200 FPS

gndmstr@eron gndmstr $



does your vid system support glx? what vid card/chip and driver are you using. i think we need to attack X first here.. this may be the source of your problems. What I will need is is your vidcard make/model, your agp settings in bios, your agp settings in kernel and whether internal or module, and a copy of your XF86Config. For clarity, if it still has all those comments in it from the example file, please edit them out and save it into a temp file to paste here so it is nothing but code. Also do you have interrupts for video enabled in your cmos? if not enable it. something is very odd about your setup but i think in time we can find it. your machine should perform very well and smoothly. the things you say are sending it over the edge should be able to run and have it still 'loafing'.

Chuck


Code:

# glxgears
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual


I'm running an S3 Savage4. I'm not quite sure how it's set up, but I'm fairly sure it's a PCI card.

Here's my XF86Config. I noticed in there that "load glx" was commented out. Should I uncomment it so things like glxgears will work?

Code:

Section "Module"

    Load        "dbe"   # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "speedo"
#    Load        "freetype"
#    Load        "xtt"

#    Load       "glx"
#    Load       "dri"

EndSection

Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "ServerFlags"

#    Option "NoTrapSignals"

#    Option "DontVTSwitch"

#    Option "DontZap"

#    Option "Dont Zoom"

#    Option "DisableVidModeExtension"

#    Option "AllowNonLocalXvidtune"

#    Option "DisableModInDev"

#    Option "AllowNonLocalModInDev"

EndSection


Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "Keyboard"

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

#    Option     "Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"
#    Option "XkbModel"    "pc102"
#    Option "XkbModel"    "microsoft"

#    Option "XkbLayout"   "de"

#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"

#    Option "XkbOptions"  "ctrl:swapcaps"

#    Option "XkbRules"    "xfree86"
#    Option "XkbModel"    "pc101"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"

EndSection


Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/usbmouse"
    Option "ZAxisMapping" "4 5"

#    Option "Resolution"        "256"

#    Option "Protocol"  "Xqueue"

#    Option "BaudRate"  "9600"
#    Option "SampleRate"        "150"

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

#    Option "ChordMiddle"

EndSection


Section "Monitor"

    Identifier  "Compaq MV720"

    HorizSync   30-64

    VertRefresh 50-100

vendorname "[Compaq MV720]"
modelname "[Compaq MV720]"
ModeLine "1024x768/76Hz" 85 1024 1032 1152 1360 768 784 787 823
EndSection


Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

    Driver     "vga"

#    BusID      "PCI:0:10:0"

#    VideoRam   256

#    Clocks     25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "S3 Savage4"
    Driver      "savage"
    VideoRam    32768
vendorname ""
boardname ""
EndSection


Section "Screen"
    Identifier  "Screen 1"
    Device      "S3 Savage4"
    Monitor     "Compaq MV720"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768/76Hz" "1024x768" "800x600" "640x480"
        ViewPort    0 0
                Virtual 0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768/76Hz" "1024x768" "800x600" "640x480"
        ViewPort    0 0
                Virtual 0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768/76Hz" "1024x768" "800x600" "640x480"
        ViewPort    0 0
                Virtual 0 0
    EndSubsection
EndSection

Section "ServerLayout"

    Identifier  "Simple Layout"

    Screen "Screen 1"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "InputDevice"

Identifier "Keyboard"

        Option "XkbModel" "pc104"
        Option "XkbLayout" "us"
        Driver "keyboard"
EndSection


Section "InputDevice"

Identifier "Mouse"

        Option "Protocol" ""
        Option "Device" "/dev/mouse"
        Driver "mouse"
        Option "Emulate3Buttons"
        Option "ZAxisMapping" "4 5"
EndSection


I don't know where to find the PCI settings, sorry.
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Thu Jan 29, 2004 12:47 am    Post subject: Reply with quote

I got glxgears working as well as the 2.6.1 kernel. Below is an output of glxgears. I loaded Mozilla, loaded Gentoo forums mainpage, then scrolled up and down furiously for like 2 or 3 seconds and let it level back off.

Code:

bash-2.05b# glxgears
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
366 frames in 5.0 seconds = 73.200 FPS
216 frames in 6.0 seconds = 36.000 FPS
216 frames in 6.0 seconds = 36.000 FPS
288 frames in 5.0 seconds = 57.600 FPS
576 frames in 5.0 seconds = 115.200 FPS
720 frames in 5.0 seconds = 144.000 FPS
360 frames in 5.0 seconds = 72.000 FPS
360 frames in 5.0 seconds = 72.000 FPS
216 frames in 6.0 seconds = 36.000 FPS
504 frames in 5.0 seconds = 100.800 FPS
504 frames in 5.0 seconds = 100.800 FPS


EDIT: I tried using the anticipatory scheduler. No improvement.
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Thu Jan 29, 2004 1:10 am    Post subject: Reply with quote

[quote="pengo"][quote="RioFL"]
pengo wrote:


Code:

# glxgears
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual


I'm running an S3 Savage4. I'm not quite sure how it's set up, but I'm fairly sure it's a PCI card.

This is the hardest part of attempting to help someone. Invariably someone's feelings or sensitivities are hurt. I 'm sorry but this card is probably the major source of slow down in your machine. It should not be used in a machine much faster than a 500mhz. Plus using the pci bus is extremely slow for video although it can usually be made to work acceptably.

I would suggest strongly looking on ebay for a good NVidia AGP card. The GeForce 4200 series cards are very inexpensive and will work quite up to speed on your machine. You will think you increased your processor speed by at least 50% the gui will be that much better.PNY brand are one of the best if you can find one. They give a life-of-the-product warranty.

If you can't replace the vid card, let me know and I will research the specs a bit more closely to figure out how to set this up for the most efficiency it can have. Video Interrupts enabled in the bios is the first step which you can check and enable if necessary immediately. There will be a line somewhere in your chipset setups that will simply say something to the effect of "Enable Video Interrupt" with a yes/no or enable/disable answer. Some cmos setups do not have this option in which case you are at the mercy of the MB mfgr defaults.



Here's my XF86Config. I noticed in there that "load glx" was commented out. Should I uncomment it so things like glxgears will work?

yes uncomment glx and dbi and comment the omit dba leaving the subsection and endsubsection commands and then restart X and look at the /var/log/XFree86.0.log and see if there are any errors in loading glx. this last option, dba may or may not cause a problem. I suspect it will help the card though. This card supports 3d so it may very well support glx properly.

very important:
Also, in your USE statements in your /etc/make.conf, do you have 3DNOW included in the statements? be sure there is not a - in front of it. Your system supports/relies on that for best graphic operation. Unfortunately if you do not have it, it will mean adding it, then recompiling the kernel, Xfree and KDE and any graphics applications you have to take advantage of it, along with any graphic libraries.

<snipped for brevity>
your X config is basically stock options however I would leave this alone for the moment for enabling/changing any other options than what was mentioned above.

I don't know where to find the PCI settings, sorry.



ok there will not be much in the way of settings for pci. your system cmos will have whether there is an interrupt enabled for video or not. you can see if it is a pci card by doing cat /proc/pci | grep 'VGA' and it should return to you a line about vga compatible controller. you can also use nano to view the /proc/pci file and search through it <just don't accidently save it:)>.

we also need to look at your audio. is it onboard or is it a card? what chipset is it? that also will be in the pci file unless it is an isa card. is your audio driver compiled into the kernel or a module? are you using alsa? which driver option are you using for xmms? <arts/alsa/oss>

Chuck
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Thu Jan 29, 2004 1:14 am    Post subject: Reply with quote

pengo wrote:
I got glxgears working as well as the 2.6.1 kernel. Below is an output of glxgears. I loaded Mozilla, loaded Gentoo forums mainpage, then scrolled up and down furiously for like 2 or 3 seconds and let it level back off.

Code:

bash-2.05b# glxgears
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
366 frames in 5.0 seconds = 73.200 FPS
216 frames in 6.0 seconds = 36.000 FPS
216 frames in 6.0 seconds = 36.000 FPS
288 frames in 5.0 seconds = 57.600 FPS
576 frames in 5.0 seconds = 115.200 FPS
720 frames in 5.0 seconds = 144.000 FPS
360 frames in 5.0 seconds = 72.000 FPS
360 frames in 5.0 seconds = 72.000 FPS
216 frames in 6.0 seconds = 36.000 FPS
504 frames in 5.0 seconds = 100.800 FPS
504 frames in 5.0 seconds = 100.800 FPS


EDIT: I tried using the anticipatory scheduler. No improvement.


this definitely is too slow and will cause your system to pause when it should not. Do you have preemptible kernel enabled? if not please enable it. it should make an improvement.

otherwise lets run through the things in my last msg and see if we cant make some sense out of this.. it is definitely not right as it sits.
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Thu Jan 29, 2004 1:25 am    Post subject: Reply with quote

pengo wrote:
I got glxgears working as well as the 2.6.1 kernel. Below is an output of glxgears. I loaded Mozilla, loaded Gentoo forums mainpage, then scrolled up and down furiously for like 2 or 3 seconds and let it level back off.

Code:

bash-2.05b# glxgears
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
366 frames in 5.0 seconds = 73.200 FPS
216 frames in 6.0 seconds = 36.000 FPS
216 frames in 6.0 seconds = 36.000 FPS
288 frames in 5.0 seconds = 57.600 FPS
576 frames in 5.0 seconds = 115.200 FPS
720 frames in 5.0 seconds = 144.000 FPS
360 frames in 5.0 seconds = 72.000 FPS
360 frames in 5.0 seconds = 72.000 FPS
216 frames in 6.0 seconds = 36.000 FPS
504 frames in 5.0 seconds = 100.800 FPS
504 frames in 5.0 seconds = 100.800 FPS


EDIT: I tried using the anticipatory scheduler. No improvement.



Sorry I didn't notice this at first read... DRI MISSING... enable that in your XF86Config also.
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Thu Jan 29, 2004 3:22 am    Post subject: Reply with quote

Code:

# cat /proc/pci | grep 'VGA'
    VGA compatible controller: S3 Inc. ProSavage KM133 (rev 3).


Also: more info from just "cat /proc/pci"
Code:

  Bus  0, device   7, function  5:
    Multimedia audio controller: VIA Technologies, In VT82C686 AC97 Audio  (rev 80).
      IRQ 26.
      I/O at 0x1000 [0x10ff].
      I/O at 0x1414 [0x1417].
      I/O at 0x1410 [0x1413].
    VGA compatible controller: S3 Inc. ProSavage KM133 (rev 3).
      IRQ 16.
      Master Capable.  Latency=32.  Min Gnt=4.Max Lat=255.
      Non-prefetchable 32 bit memory at 0xe8100000 [0xe817ffff].
      Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].



I am using OSS in XMMS, for some reason. DiskWriter and eSound are the other two options--kdearts and ALSA aren't mentioned. Maybe this is the problem?
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Thu Jan 29, 2004 3:42 am    Post subject: Reply with quote

pengo wrote:
Code:

# cat /proc/pci | grep 'VGA'
    VGA compatible controller: S3 Inc. ProSavage KM133 (rev 3).


Also: more info from just "cat /proc/pci"
Code:

  Bus  0, device   7, function  5:
    Multimedia audio controller: VIA Technologies, In VT82C686 AC97 Audio  (rev 80).
      IRQ 26.
      I/O at 0x1000 [0x10ff].
      I/O at 0x1414 [0x1417].
      I/O at 0x1410 [0x1413].
    VGA compatible controller: S3 Inc. ProSavage KM133 (rev 3).
      IRQ 16.
      Master Capable.  Latency=32.  Min Gnt=4.Max Lat=255.
      Non-prefetchable 32 bit memory at 0xe8100000 [0xe817ffff].
      Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].



I am using OSS in XMMS, for some reason. DiskWriter and eSound are the other two options--kdearts and ALSA aren't mentioned. Maybe this is the problem?


oss is fine. i see they both have irq assigned via acpi so that's ok. I don't know a whole lot about AC97 and the via audio chip. I use via chipsets myself in my tiger mb, but I don't have built in sound. I had one experience with ac97 and it was very bad, but to be fair, the motherboard was terrible, and it was in my beginning days with linux when I could crash the system easier than use it.:) Only thing I do know is that there are a lot of AC97 in use, and few if any complaints, so it must work well.:)

I know you want to get this done as fast as possible, but to be honest I am a bit tired, been working for the last 15 hrs straight, so I will tackle this tomorrow with a fresh mind. The board info from above is enough to look up the exact model and get some specs from it.

Please double check your compiler options for that 3dnow option to be sure it is in.. this is probably more important in amd performance than anything else.

One more thing. Some motherboards are very sensitive to which slot the vga adapter is in. Usually the first pci slot next to the agp slot is the best one to use for video.

Chuck
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Fri Jan 30, 2004 1:54 am    Post subject: Reply with quote

I tried recompiling XMMS w/ the 3dnow flag--no improvement. But, it's been added to my make.conf file so hopefully my system should be faster when it starts running correctly.

Problem's still occuring--gkrellm says that cpu usage is 100% when I'm scrolling. I dont think top was accurate enough. I'm also getting like 15% cpu usage just typing this message. When I idle, I hit around 4%.

I'm running kernel "2.6.1-gentoo" now, but still no improvement.

EDIT: Forgot to thank you again for your time. :) You've been a great help and people like you deserve medals for all the work you put in with idiots like me. Thanks!
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Fri Jan 30, 2004 2:43 am    Post subject: Reply with quote

pengo wrote:
I tried recompiling XMMS w/ the 3dnow flag--no improvement. But, it's been added to my make.conf file so hopefully my system should be faster when it starts running correctly.

Problem's still occuring--gkrellm says that cpu usage is 100% when I'm scrolling. I dont think top was accurate enough. I'm also getting like 15% cpu usage just typing this message. When I idle, I hit around 4%.

I'm running kernel "2.6.1-gentoo" now, but still no improvement.

EDIT: Forgot to thank you again for your time. :) You've been a great help and people like you deserve medals for all the work you put in with idiots like me. Thanks!


You are not an idiot:) I am simply, as the movie says 'paying it forward' as well as returning favors that others have done for me. It's how our support system here works.

Ok that info helps a lot. I have some serious research to do. Also just putting 3dnow into your make.conf will not help anything simply because your kernel, all of X and all of KDE were not compiled with it there so even any new compilations using 3dnow will not help unless the lower layers just mentioned also support it. It is recompile time. :)

XMMS actually does not use 3dnow except possibly in some of its visual plugins.. its a video thing only.

The cpu usage while using the mouse wheel is disturbing. exactly what mouse do you have (make model). I suspect it is the video activity during scrolling sending it over the edge, but for the sake of completeness we must look at everything.

did you enable dri and dba in the XF86Config and then restart X?

To give you an idea my cpu usage while typing this is about 14%, but it remains between 10% and 28% since I have at the moment, kde as my primary window manager, 6 kssh windows open, 2 setiathome threads, firebird with 5 tabs running, 2 rxvt terminal windows, gkrellm, a kwrite document open , kmail, kopete. a gdm-flexiserver xnest window where I am logged in as root using fluxbox working on some configurations, and tightvnc giving me a remote deskop into my other machine.

Although my machine is dual 933, it should work out approximately the same for your single Athelon faster processor. obviously it isnt so something is not right somewhere.

My first attack would be the video/gui system, but there may be something else as well. something just does not feel right but i can't put a finger on it yet.

When you run top, what are the top 10 processes listed? also can you include a copy of your entire ps ax listing?

one more very important thing, with gkrellm. go into the cpu configuration and tell it to NOT display nice time as part of the total cpu usage. That will skew everything. My nice time averages 90% usage, displayed separately and not included in my main cpu usage figures so I have a more accurate representation of what the machine is actually doing.

one more test to run. Please log out of kde, hit ctrl-alt-f1 to get to a tty window, log in as root, then type /etc/init.d/xdm stop (if you are running kdm or gdm) to make sure X is completely unloaded. Then run top and see what your figures are after it settles down for a few seconds. This will tell us whether the resource usage is in the core system, or only in the gui system. Record your cpu usage with nothing going on in the gui desktop using top, then exit everything as above, and do the same thing without any part of X loaded. If cpu usage is still high, do /etc/init.d/xfs stop if you are running the font server, which you should be. and run top again. if it is low with X unloaded but with xfs still running, then run X by itself to get that ugly desktop it has, and run top once more from one of the terminal windows. if it is good, use another terminal window still in X alone, not kde, and run MozillaFirebird or whatever browser it is you run, and try the scroll tests. you can also run gkrellm if you wish. This comparison will tell us if it is in the core system, X or KDE.

Also, once you have these figures, if it is X or KDE, recompile them if you have not already to get them to use the 3dnow option, then run the usage test again.

In the meantime I am going to do some charts and research trying to make some sense out of this. Work kept me busy today so I didn't have as much time as I wanted to research your card. Tomorrow should be better :)

Chuck
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Fri Jan 30, 2004 3:28 am    Post subject: Reply with quote

Chuck--Thanks so much. :)

DRI is enabled. I couldn't find an option for dba, though. Do you mean DBE? DBE's enabled...

I turned off nice time in gkrellm, but am still getting pretty much the same percentages of CPU usage.

I'm using a Kensington optical mouse, "mouse-in-a-box optical pro model # 72112"

Here's my ps ax info:
Code:

bash-2.05b# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:03 init [3]
    2 ?        SW     0:00 [migration/0]
    3 ?        SWN    0:00 [ksoftirqd/0]
    4 ?        SW<    0:00 [events/0]
    5 ?        SW<    0:00 [kblockd/0]
    6 ?        SW     0:00 [khubd]
    7 ?        SW     0:00 [pdflush]
    8 ?        SW     0:00 [pdflush]
    9 ?        SW     0:00 [kswapd0]
   10 ?        SW<    0:00 [aio/0]
   11 ?        SW     0:00 [kseriod]
   12 ?        SW     0:00 [kjournald]
  162 ?        S      0:00 /sbin/devfsd /dev
 3123 ?        S      0:00 /usr/sbin/smbd
 3125 ?        S      0:00 /usr/sbin/nmbd
 3165 ?        S      0:00 /usr/sbin/syslog-ng
 3171 ?        S      0:00 /usr/sbin/cron
 3202 ?        S      0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/we
 3265 ?        S      0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayal
 3276 tty1     S      0:00 /sbin/agetty 38400 tty1 linux
 3277 tty2     S      0:00 /sbin/agetty 38400 tty2 linux
 3278 tty3     S      0:00 /sbin/agetty 38400 tty3 linux
 3279 tty4     S      0:00 /sbin/agetty 38400 tty4 linux
 3280 tty5     S      0:00 /sbin/agetty 38400 tty5 linux
 3281 tty6     S      0:00 /sbin/agetty 38400 tty6 linux
 3294 ?        S      0:00 /usr/kde/3.1/bin/kdm
 3296 ?        S      3:51 /etc/X11/X -auth /var/run/xauth/A:0-ju5HZl
 3297 ?        S      0:00 -:0
 3319 ?        S      0:00 /bin/sh /etc/X11/Sessions/kde-3.1.4
 3363 ?        S      0:00 /bin/sh --login /usr/kde/3.1/bin/startkde
 3380 ?        S      0:00 kdeinit: Running...
 3383 ?        S      0:00 kdeinit: dcopserver --nosid
 3386 ?        S      0:00 kdeinit: klauncher
 3388 ?        S      0:00 kdeinit: kded
 3405 ?        S      0:01 //usr/kde/3.1/bin/artsd -F 10 -S 4096 -s 60 -m artsme
 3407 ?        S      0:00 kdeinit: knotify
 3408 ?        S      0:00 kwrapper ksmserver
 3410 ?        S      0:00 kdeinit: ksmserver
 3411 ?        S      0:01 kdeinit: kwin -session 105f5d0dbc00010728583290000002
 3414 ?        S      0:01 kdeinit: kdesktop
 3416 ?        S      0:03 kdeinit: kicker
 3417 ?        S      0:00 kdeinit: kio_file file /tmp/ksocket-root/klauncherEit
 3420 ?        S      0:00 kdeinit: klipper
 3422 ?        S      0:01 kdeinit: konsole -session 105667c29100010753961480000
 3423 ?        S      0:00 korgac --miniicon korganizer
 3430 pts/0    S      0:00 /bin/bash
 3431 ?        S      0:00 kalarmd --login
 3433 pts/0    S      0:20 gkrellm2
 3607 ?        S      0:00 /bin/sh /usr/bin/MozillaFirebird
 3613 ?        S      0:00 /bin/sh /usr/lib/MozillaFirebird/run-mozilla.sh /usr/
 3619 ?        S      0:14 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3623 ?        S      0:00 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3624 ?        S      0:00 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3625 ?        S      0:00 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3626 ?        S      0:00 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3639 pts/0    R      0:00 ps ax


I got between 0% and 0.3% CPU usage in all places. However, when I tried to stop XFS, I got the following:
Code:

bash-2.05b# /etc/init.d/xfs stop
 * ERROR:  "xfs" has not yet been started.

This happens even when KDE is running.

Also, I'll post my dmesg output in case it'll help.
Code:

bash-2.05b# dmesg
Linux version 2.6.1-gentoo (root@hook) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)) #1 SMP Wed Jan 28 10:25:56 MST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e6c00 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001dff0000 (usable)
 BIOS-e820: 000000001dff0000 - 000000001dfffc00 (ACPI data)
 BIOS-e820: 000000001dfffc00 - 000000001e000000 (ACPI NVS)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
479MB LOWMEM available.
On node 0 totalpages: 122864
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 118768 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
DMI present.
ACPI: RSDP (v000 PTLTD                                     ) @ 0x000f7850
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x1dffb32e
ACPI: FADT (v001 HP     Maui     0x06040000 PTL  0x00000001) @ 0x1dfffb14
ACPI: MADT (v001 PTLTD    APIC   0x06040000  LTP 0x00000000) @ 0x1dfffb88
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x1dfffbd8
ACPI: DSDT (v001     HP   Moorea 0x06040000 MSFT 0x0100000b) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x0b] enabled)
Processor #11 6:6 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x00] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 0
IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, IRQ 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI BALANCE SET
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Building zonelist for node : 0
Kernel command line: root=/dev/hdb3
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 1399.946 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Memory: 481504k/491456k available (2719k kernel code, 9204k reserved, 957k data, 172k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2752.51 BogoMIPS
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU:     After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU:     After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU:     After all inits, caps: 0383fbff c1cbfbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU0: AMD Athlon(tm) XP 1600+ stepping 02
per-CPU timeslice cutoff: 731.85 usecs.
task migration cache decay timeout: 1 msecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Total of 1 processors activated (2752.51 BogoMIPS).
ENABLING IO-APIC IRQs
init IO_APIC IRQs
 IO-APIC (apicid-pin) 0-0, 0-16, 0-17, 0-18, 0-19, 0-20, 0-21, 0-22, 0-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1399.0383 MHz.
..... host bus clock speed is 266.0549 MHz.
Starting migration thread for cpu 0
CPUS done 8
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd7ee, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031203
    ACPI-1120: *** Error: Method execution failed [\_SB_.PCI0.PIB_.SIO0._INI] (Node ddf61d60), AE_AML_UNINITIALIZED_LOCAL
    ACPI-1120: *** Error: Method execution failed [\_SB_.PCI0.PIB_.SIO0.LPT_._INI] (Node ddf619e0), AE_AML_UNINITIALIZED_LOCAL
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 14 15)
ACPI: PCI Interrupt Link [LNKU] (IRQs 3 4 5 6 7 *9 10 11 14 15)
ACPI: PCI Interrupt Link [LNKS] (IRQs 3 4 5 6 7 9 *10 11 14 15)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LNKU] enabled at IRQ 9
IOAPIC[0]: Set PCI routing entry (0-9 -> 0x71 -> IRQ 9 Mode:1 Active:1)
00:00:07[D] -> 0-9 -> IRQ 9
ACPI: PCI Interrupt Link [LNKS] enabled at IRQ 10
IOAPIC[0]: Set PCI routing entry (0-10 -> 0x79 -> IRQ 10 Mode:1 Active:1)
00:00:07[C] -> 0-10 -> IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
Pin 0-10 already programmed
IOAPIC[0]: Set PCI routing entry (0-16 -> 0xa9 -> IRQ 16 Mode:1 Active:1)
00:00:0d[A] -> 0-16 -> IRQ 16
IOAPIC[0]: Set PCI routing entry (0-17 -> 0xb1 -> IRQ 17 Mode:1 Active:1)
00:00:0d[B] -> 0-17 -> IRQ 17
IOAPIC[0]: Set PCI routing entry (0-18 -> 0xb9 -> IRQ 18 Mode:1 Active:1)
00:00:0d[C] -> 0-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (0-19 -> 0xc1 -> IRQ 19 Mode:1 Active:1)
00:00:0d[D] -> 0-19 -> IRQ 19
Pin 0-17 already programmed
Pin 0-18 already programmed
Pin 0-19 already programmed
Pin 0-16 already programmed
Pin 0-18 already programmed
Pin 0-19 already programmed
Pin 0-16 already programmed
Pin 0-17 already programmed
Pin 0-17 already programmed
Pin 0-18 already programmed
Pin 0-19 already programmed
Pin 0-16 already programmed
Pin 0-16 already programmed
number of MP IRQ sources: 15.
number of IO-APIC #0 registers: 24.
testing the IO APIC.......................
IO APIC #0......
.... register #00: 00000000
.......    : physical APIC id: 00
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 00178011
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0011
.... register #02: 00000000
.......     : arbitration: 00
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
 00 000 00  1    0    0   0   0    0    0    00
 01 0FF 0F  0    0    0   0   0    1    1    39
 02 0FF 0F  0    0    0   0   0    1    1    31
 03 0FF 0F  0    0    0   0   0    1    1    41
 04 0FF 0F  0    0    0   0   0    1    1    49
 05 0FF 0F  0    0    0   0   0    1    1    51
 06 0FF 0F  0    0    0   0   0    1    1    59
 07 0FF 0F  0    0    0   0   0    1    1    61
 08 0FF 0F  0    0    0   0   0    1    1    69
 09 001 01  1    1    0   1   0    1    1    71
 0a 001 01  1    1    0   1   0    1    1    79
 0b 0FF 0F  0    0    0   0   0    1    1    81
 0c 0FF 0F  0    0    0   0   0    1    1    89
 0d 0FF 0F  0    0    0   0   0    1    1    91
 0e 0FF 0F  0    0    0   0   0    1    1    99
 0f 0FF 0F  0    0    0   0   0    1    1    A1
 10 001 01  1    1    0   1   0    1    1    A9
 11 001 01  1    1    0   1   0    1    1    B1
 12 001 01  1    1    0   1   0    1    1    B9
 13 001 01  1    1    0   1   0    1    1    C1
 14 000 00  1    0    0   0   0    0    0    00
 15 000 00  1    0    0   0   0    0    0    00
 16 000 00  1    0    0   0   0    0    0    00
 17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9-> 0:9
IRQ10 -> 0:10-> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
.................................... done.
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Machine check exception polling timer started.
devfs: v1.22 (20021013) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
Applying VIA southbridge workaround.
PCI: Enabling Via external APIC routing
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1)
pty: 256 Unix98 ptys configured
request_module: failed /sbin/modprobe -- parport_lowlevel. error = -16
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
[drm:drm_init] *ERROR* Cannot initialize the agpgart module.
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
lp0: using parport0 (polling).
parport_pc: Via 686A parallel port: io=0x378
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
8139too Fast Ethernet driver 0.9.26
PCI: Enabling device 0000:00:12.0 (0000 -> 0003)
eth0: RealTek RTL8139 at 0xde808400, 00:e0:18:4b:f6:0e, IRQ 17
eth0:  Identified 8139 chip type 'RTL-8139C'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: WDC WD600AB-22CDB0, ATA DISK drive
hdb: Maxtor 94091U8, ATA DISK drive
hdc: HP CD-Writer cd16b, ATAPI CD/DVD-ROM drive
hdd: SAMSUNG DVD-ROM SD-616F, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=65535/16/63
 /dev/ide/host0/bus0/target0/lun0: p1 p2
hdb: max request size: 128KiB
hdb: 78165360 sectors (40020 MB) w/512KiB Cache, CHS=65535/16/63
 /dev/ide/host0/bus0/target1/lun0: p1 p2 p3
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.12
hdd: ATAPI 40X DVD-ROM drive, 512kB Cache
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 9, io base 00001420
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: irq 9, io base 00001440
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
drivers/usb/core/usb.c: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.0rc2.
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
PCI: Setting latency timer of device 0000:00:07.5 to 64
hub 1-0:1.0: new USB device on port 1, assigned address 2
ALSA device list:
  #0: VIA 82C686A/B rev50 at 0x1000, irq 10
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
hub 1-0:1.0: new USB device on port 2, assigned address 3
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.00 Mouse [Kensington USB Input Device] on usb-0000:00:07.2-2
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 172k freed
Adding 7748992k swap on /dev/hdb2.  Priority:-1 extents:1
EXT3 FS on hdb3, internal journal
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
hub 1-0:1.0: port 2 disabled by hub (EMI?), re-enabling...<6>usb 1-2: USB disconnect, address 3
hub 1-0:1.0: new USB device on port 2, assigned address 4
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.00 Mouse [Kensington USB Input Device] on usb-0000:00:07.2-2


There are some parts in there where it complains about things--thought it might help. :)

Thanks again
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Fri Jan 30, 2004 3:51 am    Post subject: Reply with quote

pengo wrote:
Chuck--Thanks so much. :)

DRI is enabled. I couldn't find an option for dba, though. Do you mean DBE? DBE's enabled...

I turned off nice time in gkrellm, but am still getting pretty much the same percentages of CPU usage.

I'm using a Kensington optical mouse, "mouse-in-a-box optical pro model # 72112"

Here's my ps ax info:
Code:

bash-2.05b# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:03 init [3]
    2 ?        SW     0:00 [migration/0]
    3 ?        SWN    0:00 [ksoftirqd/0]
    4 ?        SW<    0:00 [events/0]
    5 ?        SW<    0:00 [kblockd/0]
    6 ?        SW     0:00 [khubd]
    7 ?        SW     0:00 [pdflush]
    8 ?        SW     0:00 [pdflush]
    9 ?        SW     0:00 [kswapd0]
   10 ?        SW<    0:00 [aio/0]
   11 ?        SW     0:00 [kseriod]
   12 ?        SW     0:00 [kjournald]
  162 ?        S      0:00 /sbin/devfsd /dev
 3123 ?        S      0:00 /usr/sbin/smbd
 3125 ?        S      0:00 /usr/sbin/nmbd
 3165 ?        S      0:00 /usr/sbin/syslog-ng
 3171 ?        S      0:00 /usr/sbin/cron
 3202 ?        S      0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/we
 3265 ?        S      0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayal
 3276 tty1     S      0:00 /sbin/agetty 38400 tty1 linux
 3277 tty2     S      0:00 /sbin/agetty 38400 tty2 linux
 3278 tty3     S      0:00 /sbin/agetty 38400 tty3 linux
 3279 tty4     S      0:00 /sbin/agetty 38400 tty4 linux
 3280 tty5     S      0:00 /sbin/agetty 38400 tty5 linux
 3281 tty6     S      0:00 /sbin/agetty 38400 tty6 linux
 3294 ?        S      0:00 /usr/kde/3.1/bin/kdm
 3296 ?        S      3:51 /etc/X11/X -auth /var/run/xauth/A:0-ju5HZl
 3297 ?        S      0:00 -:0
 3319 ?        S      0:00 /bin/sh /etc/X11/Sessions/kde-3.1.4
 3363 ?        S      0:00 /bin/sh --login /usr/kde/3.1/bin/startkde
 3380 ?        S      0:00 kdeinit: Running...
 3383 ?        S      0:00 kdeinit: dcopserver --nosid
 3386 ?        S      0:00 kdeinit: klauncher
 3388 ?        S      0:00 kdeinit: kded
 3405 ?        S      0:01 //usr/kde/3.1/bin/artsd -F 10 -S 4096 -s 60 -m artsme
 3407 ?        S      0:00 kdeinit: knotify
 3408 ?        S      0:00 kwrapper ksmserver
 3410 ?        S      0:00 kdeinit: ksmserver
 3411 ?        S      0:01 kdeinit: kwin -session 105f5d0dbc00010728583290000002
 3414 ?        S      0:01 kdeinit: kdesktop
 3416 ?        S      0:03 kdeinit: kicker
 3417 ?        S      0:00 kdeinit: kio_file file /tmp/ksocket-root/klauncherEit
 3420 ?        S      0:00 kdeinit: klipper
 3422 ?        S      0:01 kdeinit: konsole -session 105667c29100010753961480000
 3423 ?        S      0:00 korgac --miniicon korganizer
 3430 pts/0    S      0:00 /bin/bash
 3431 ?        S      0:00 kalarmd --login
 3433 pts/0    S      0:20 gkrellm2
 3607 ?        S      0:00 /bin/sh /usr/bin/MozillaFirebird
 3613 ?        S      0:00 /bin/sh /usr/lib/MozillaFirebird/run-mozilla.sh /usr/
 3619 ?        S      0:14 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3623 ?        S      0:00 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3624 ?        S      0:00 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3625 ?        S      0:00 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3626 ?        S      0:00 /usr/lib/MozillaFirebird/MozillaFirebird-bin
 3639 pts/0    R      0:00 ps ax


I'll run that test you suggested and edit my post. :)



since you are using the startx method rather than xdm you should not need to stop xdm since it isnt running.

I always get that option wrong.. it is dga

This is the default to omit it. With some cards it works best with that option commented out. Here is my module section:

Code:


Section "Module"
    Load        "dbe"
    Load        "type1"
    Load        "freetype"
    Load        "glx"
    Load        "dri"
        Load    "speedo"
        Load    "xtrap"
        Load    "record"
    SubSection  "extmod"
      Option    "omit xfree86-dga"
    EndSubSection
EndSection



leave the subsection parts and comment out the option omit xfree86-dga and see if that helps or hinders. if it made no change then leave it back in as the default. In my case my card did not like it enabled and worked much better without it.

ok. your configuration for the mouse should not cause problems.

are you running samba to share a resource? as an experiment, disconnect the resource/unmount remote drive , whatever it is doing and stop smbd and nmbd and see if that helps any at all.

also for now as a test, remove your webmin process. basically make it as bare as possible, then add items back one at a time testing resource usage with each addition.

have an early day tomorrow (start at 5am) so i wont be replying any more tonight. hope these tests reveal something. i think though you will need to recompile XFree and kde with 3dnow enabled.

Chuck
[/code]
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Fri Jan 30, 2004 4:10 am    Post subject: Reply with quote

hmmm try starting xfs then before any gui is running..

/etc/init.d/xfs start

double check the install doc if installation of it is needed.

if it loads ok, and kde seems to like it which i believe it will, then set it up in defaults so it runs before startx.. rc-update add xfs default

your dmesg is pretty standard. the parport lowlevel complaint is because it cant find a printer hooked up to the parallel port most likely.

and the agpgart should not be loaded since you have a pci card. it is erroring because it cannot find a card plugged into the agp slot.

both of those errors are harmless however and should not affect your situation.

Chuck
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Sat Jan 31, 2004 6:56 pm    Post subject: Reply with quote

A step forward and a million steps back.

I booted my system today and for some reason sound has completely stopped functioning.

I can't get any sound anywhere and don't know why 8O.

However, I added DGA support and XFS. Programs seem to open significantly faster but the scrolling problem still hasn't been fixed.

An interesting thing, though: If I scroll furiously in an empty tab in Mozilla, CPU usage shoots up to 70% or so. An EMPTY TAB! Odd...
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Sat Jan 31, 2004 7:16 pm    Post subject: Reply with quote

pengo wrote:
A step forward and a million steps back.

I booted my system today and for some reason sound has completely stopped functioning.

I can't get any sound anywhere and don't know why 8O.

However, I added DGA support and XFS. Programs seem to open significantly faster but the scrolling problem still hasn't been fixed.

An interesting thing, though: If I scroll furiously in an empty tab in Mozilla, CPU usage shoots up to 70% or so. An EMPTY TAB! Odd...


Welcome to computers:)

are you loading your sound as modules or is it built into the kernel? have you looked aet dmesg for any mention of the ac97 and what it may have to say about it?

The noticably faster opening of programs is a big step forward. furious scrolling is no test. ev ery browser on every machine on every os will cause cpu to jump very high on unusually fast scrolls. it simply is not done in normal usage (furious=grabbing scroll bar and sliding it up and down rapidly). I will admit that 100% is a bit unusual, i would expect more like 60-70%.

have you checked to be sure your vid card is in the #1 pci slot next to the agp slot? this is important on many boards.

i assume you tried rebooting to get your sound back. the system logs should show some kind of error. if not, it may be possible that sound loaded ok but the mixer is muted?

Chuck
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Sun Feb 01, 2004 10:10 pm    Post subject: Reply with quote

Well, somehow my sound had become unmuted. Sorry, I'm an idiot.

I can't really check the card position. The computer's my dad and he's for some reason adamant about me not opening it up.

I'm going to dig around in the kernel configuration thing and see if I can find anything about my video card drivers. Does that stuff even go in the kernel?

EDIT: Did some digging around and found that the S3 Savage4 is natively supported by 2.6.1! It's an "I2C" device, apparently. There was support for both my sound card and my video card in the I2C section. I'm recompiling the kernel now--hopefully there's some improvement.

EDIT2: No improvement :evil:. Do I have to tell the cards to use the drivers in the kernel, somehow? Or should I compile them as modules and modprobe them?
Back to top
View user's profile Send private message
RioFL
Guru
Guru


Joined: 31 Oct 2002
Posts: 407

PostPosted: Sun Feb 01, 2004 10:47 pm    Post subject: Reply with quote

pengo wrote:
Well, somehow my sound had become unmuted. Sorry, I'm an idiot.

I can't really check the card position. The computer's my dad and he's for some reason adamant about me not opening it up.

I'm going to dig around in the kernel configuration thing and see if I can find anything about my video card drivers. Does that stuff even go in the kernel?

EDIT: Did some digging around and found that the S3 Savage4 is natively supported by 2.6.1! It's an "I2C" device, apparently. There was support for both my sound card and my video card in the I2C section. I'm recompiling the kernel now--hopefully there's some improvement.

EDIT2: No improvement :evil:. Do I have to tell the cards to use the drivers in the kernel, somehow? Or should I compile them as modules and modprobe them?



the card has no clue how to use drivers. the drivers use the card. i2c usually is a character sensing device such as temp sensors. the drivers you need would be located under the agp/video and sound titles if there at all.

whether you use stuff within the kernel or as modules is totally up to you. while testing it is advisable to use modules since they are easier to change/unload/reload but once everything is configured it is your choice. i am a fan of monolithic kernels using no modules at all wherever possible. example, my present kernel only uses the nvidia module driver everything else is internal.
Back to top
View user's profile Send private message
crippledcanary
n00b
n00b


Joined: 29 Jan 2004
Posts: 1

PostPosted: Mon Feb 02, 2004 10:13 am    Post subject: Reply with quote

At the time of writing dev-sources got me the 2.6.1 version of the kernel.
Configuring using gconfig and compiling went Ok.
Booting with the new kernel is fine but when I get inside gnome and start a console the window is blank, only a blinking cursor in the top left corner.
All menues and window decoration is ok... its the console contents that is missing. Dont know if has anything to do with the new kernel but it works if I reboot using my 2.4.21 kernel.
Back to top
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Sat Feb 07, 2004 3:55 am    Post subject: Reply with quote

Bump. At this point I'm really sure the problem can be attributed to my video card. More research tells me the card is a ProSavage, not a Savage4, as I had previously suspected.

Does gentoo support the ProSavage?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 9 of 10

 
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