Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg + console switch -> sound stutters
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Fri Oct 29, 2004 10:44 pm    Post subject: Xorg + console switch -> sound stutters Reply with quote

hi,

i am just building a new gentoo-box (nptl,gcc34, kernel-2.6, 2Ghz, 512DDR). Everything is working fine, except one thing...

While installing i have mpg123 playing songs from my LAN-Server(NFS-mounted). The sound (Alsa) is fine, until after i start X. The sound pauses for ~2-3 seconds when i switch to console or between them. This even continues after i killed X. It's not a big deal, but very annoying when i just listen to my fav songs (btw atm Type O Negative is playing.;)).

Everything (except bootstrap with gcc34) is the latest stable version..

Anybody got a clue about this?

Specs:
-gentoo-dev-sources-2.6.9-r1 (i fixed that "__VMALLOC_RESUME"-Error manually, because otherwise nvidia-modules won't merge).
-Alsa is built as a module
- ..think i forgot sth...

Here for a start is my xorg.conf:
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

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

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option       "CoreKeyboard"
#   Option       "XkbModels" "105"
   Option       "XkbRules"   "xorg"
   Option       "XkbLayout" "de"
   Option       "XkbVariant" "nodeadkeys"

EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "IMPS/2"
   Option       "ZAxisMapping" "4 5"
   Option       "Device" "/dev/input/mouse0"
EndSection

Section "Monitor"
   Identifier      "Monitor0"
   HorizSync   30-70
   VertRefresh   50-160
   DisplaySize    1024 768
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     "DigitalVibrance"       "3"         # <i>
        #Option     "NoFlip"                # [<bool>]
        #Option     "Dac8Bit"               # [<bool>]
        Option     "NoLogo"         "true"                # [<bool>]
        #Option     "UBB"                   # [<bool>]
        #Option     "Stereo"                # <i>
        #Option     "SWcursor"              # [<bool>]
        Option     "HWcursor"              "1"         # [<bool>]
        #Option     "VideoKey"              # <i>
        Option     "NvAGP"                 "2"
        #Option     "IgnoreEDID"            # [<bool>]
        Option     "NoDDC"          "1"                # [<bool>]
        #Option     "ConnectedMonitor"      # <str>
        #Option     "ConnectedMonitors"     # <str>
        #Option     "TVStandard"            # <str>
        #Option     "TVOutFormat"           # <str>
        Option     "RenderAccel"           "true"         # [<bool>]
        #Option     "CursorShadow"          # [<bool>]
        #Option     "CursorShadowAlpha"     # <i>
        #Option     "CursorShadowXOffset"    # <i>
        #Option     "CursorShadowYOffset"    # <i>
        Option     "UseEdidFreqs"       "true"         # [<bool>]
        #Option     "FlatPanelProperties"    # <str>
        #Option     "TwinView"              # [<bool>]
        #Option     "TwinViewOrientation"    # <str>
        #Option     "SecondMonitorHorizSync"    # <str>
        #Option     "SecondMonitorVertRefresh"    # <str>
        #Option     "MetaModes"             # <str>
        #Option     "UseInt10Module"        # [<bool>]
        #Option     "NoTwinViewXineramaInfo"    # [<bool>]
        #Option     "NoRenderExtension"     # [<bool>]
        #Option     "Overlay"               # [<bool>]
        #Option     "CIOverlay"             # [<bool>]
        #Option     "ForceEmulatedOverlay"    # [<bool>]
        #Option     "TransparentIndex"      # <i>
        #Option     "OverlayDefaultVisual"    # [<bool>]
        #Option     "NvEmulate"             # <i>
        Option     "NoBandWidthTest"       "true"      # [<bool>]
        #Option     "CustomEDID-CRT-0"      # <str>
        #Option     "CustomEDID-CRT-1"      # <str>
        #Option     "CustomEDID-DFP-0"      # <str>
        #Option     "CustomEDID-DFP-1"      # <str>
        #Option     "CustomEDID-TV-0"       # <str>
        #Option     "CustomEDID-TV-1"       # <str>
        #Option     "TVOverScan"            # <f>
        #Option     "IgnoreDisplayDevices"    # <str>
        #Option     "MultisampleCompatibility"    # [<bool>]
        #Option     "RegistryDwords"        # <str>
        #Option     "NoPowerConnectorCheck"    # [<bool>]
        #Option     "AllowDFPStereo"        # [<bool>]
        #Option     "XvMCUsesTextures"      # [<bool>]
        Option     "HorizSync"             "30-70"         # <str>
        Option     "VertRefresh"           "50-160"      # <str>
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "NV34 [GeForce FX 5200]"
   BusID       "PCI:1:0:0"
EndSection

#Section "extensions"
#   Option "Composite"   "Enable"
#   Option "RENDER"      "Enable"
#EndSection

Section "Screen"
    Identifier  "Screen 0"
    Device      "Card0"
    Monitor     "Monitor0"
    DefaultDepth 24

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



make.conf
Quote:

# Build-time functionality
# ========================
#
#Boostrap only
USE="nptl objc f77 erandom pic"
#
#Post Bootstrap
#USE="3dnow 3dnowext mmx mmx2 sse sse2 acpi alsa -apm -arts avi -berkdb cdr cups dbus -directfb dvd -encode flac -foomaticdb gif gnome -gpm gtk2 -gtkhtml -gphoto2 hal -imlib -jpeg kde -mad -mikmod mmx -mozilla mp3 mpeg mysql nocardbus nptl oav oggvorbis oss opengl -pdflib -png qt quicktime samba -scanner -slang sse -spell ssl -svga truetype usb X x86 xmms -xprint"

# Host Setting
# ============
CHOST="i686-pc-linux-gnu"

# Host and optimization settings
# ==============================
# GCC 3.4
#
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
#CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -finline-functions -falign-functions=16 -falign-labels=1 -falign-loops=16 -falign-jumps=16 -ffast-math"
#CXXFLAGS="${CFLAGS}"

# LD-Flags
#LDFLAGS="-Wl. -Ol, -Wl, --enable-new-dtags -Wl, --sort-common s"

# Advanced Masking
# ================
#ACCEPT_KEYWORDS="~arch"

# Portage Directories
# ===================
#PORTAGE_TMPDIR=/var/tmp
#PORTDIR=/usr/portage
#DISTDIR=${PORTDIR}/distfiles
#PKGDIR=${PORTDIR}/packages
#PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/portage/local

# Fetching files
# ==============
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://194.149.10.10 http://www.gigaload.org/gentoo.org/"

# Synchronizing Portage
# =====================
# Europe: "rsync://rsync.europe.gentoo.org/gentoo-portage"
# Default "rsync://rsync.gentoo.org/gentoo-portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

RSYNC_RETRIES="5"
#RSYNC_TIMEOUT=180

# Advanced Features
# =================

MAKEOPTS="-j5"

#PORTAGE_NICENESS=3
AUTOCLEAN="yes"

#FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox notitles noclean noauto cvs keeptemp keepwork"
FEATURES="distcc ccache"
CCACHE_SIZE="1G"
DISTCC_DIR="/var/tmp/portage/.distcc/"
ALSA_CARDS="cmipci"

#RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes
#FETCHCOMMAND="/usr/bin/getdelta.sh \${URI}"


_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
nightm4re
Guru
Guru


Joined: 20 Jun 2004
Posts: 519
Location: Providence, RI, USA

PostPosted: Fri Oct 29, 2004 11:17 pm    Post subject: Reply with quote

not much to say but the fact that it does that.

try those multimedia sources, perhaps they patched something up to make it work, but otherwise... deal with it :D

mine does it too.
_________________
Nitrogen - GtkMM based background setter/restorer, please test!
Minuslab | d.minuslab.net
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Sat Oct 30, 2004 10:39 am    Post subject: Reply with quote

hi,


mhh ok think got to live with it. I was thinking, i didd sth. wrong in my configuration. Good to know i didn't.;)

Thx!
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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