LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2006, 12:42 PM   #1
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
A little trouble with configuring X


I've been trying to configure X to take full advantage of my hardware on my older laptop, but on all the configs I've put together, it has always ran X in framebuffer mode, which is incredibly slow (try scrolling through a window ). I thought if I posted my X config here, one of you guys would be able to spot what's going on

Code:
Section "ServerLayout"
Identifier     "XFree86 Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse using /dev/input/mice in Kernel 2.6
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"  "true"

EndSection

Section "Files"
    FontPath   "/usr/share/fonts/misc"
    FontPath   "/usr/share/fonts/75dpi"
    FontPath   "/usr/share/fonts/100dpi"
    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/Type1"
#    FontPath   "/usr/lib/X11/fonts/local/"
#    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
#        Load  "ddc"  # ddc probing of monitor
#Load  "GLcore"
#Load  "dbe"
#Load  "dri"
#Load  "extmod"
#Load  "glx"
#        Load  "bitmap" # bitmap-fonts
#Load  "speedo"
#Load  "type1"
#Load  "freetype"
#Load  "record"
Load  "synaptics"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
#        Option      "CoreKeyboard"
Option "XkbRules""xorg"
Option "XkbModel""pc104"
Option "XkbLayout""us"

EndSection

# Section "InputDevice"
#Identifier  "Serial Mouse"
#Driver      "mouse"
#Option      "Protocol" "Microsoft"
#Option      "Device" "/dev/ttyS0"
#Option      "Emulate3Buttons" "true"
#Option      "Emulate3Timeout" "70"
#Option    "SendCoreEvents"  "true"
# EndSection

Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver      "synaptics"
Option      "Protocol" "auto"
Option      "ZAxisMapping"    "4 5"
Option      "Device" "/dev/psaux"
Option      "Emulate3Buttons" "true"
Option      "Emulate3Timeout" "70"
Option    "SendCoreEvents"  "true"
Option      "SHMConfig"       "on"
Option      "HorizScrollDelta" "0"
Option      "Resolution"      "256"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
Option"SendCoreEvents""true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by KNOPPIX mkxf86config

Section "Monitor"

    Identifier  "Laptop Display Panel 800x600"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   53.7

#    HorizSync30-64         # multisync
#    HorizSync31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 85

EndSection


Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
        #Option     "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
Identifier  "NeoMagic Graph 128XD"
# The following line is auto-generated by KNOPPIX mkxf86config
Driver      "neomagic"
VendorName  "All"
BoardName   "All"
#BusID       "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "NeoMagic Graph 128XD"
Monitor    "Laptop Display Panel 800x600"
DefaultColorDepth 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 "800x600" "640x480"
EndSubSection
#SubSection "Display"
#Depth     32
#Modes "800x600" "640x480"
#EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
Yea, I've been borrowing a bit of code from Knoppix's autoconfig It doesn't use the framebuffer, so I've been trying some stuff from its configuration. I don't want to get clumsy and load a bunch of stuff a live CD does when it's not necesary though.

Also, when I have no configuration file (X autodetects every boot), it doesn't use the framebuffer. Interesting ... yeah. Nice and smooth graphics w/o a config file, but less colors and support Otherwise I probably wouldn't care so much.

The xorgconfig script also ends up with a config that uses framebuffer.

Thank you all!
 
Old 05-11-2006, 03:42 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
A few things first:
  1. What distro are you using?
  2. What X server are you using? Xorg or XFree?
  3. Have you tried 'xorgconfig' or 'xorgsetup'(If using Xorg)?
  4. What video card EXACTLY do you have?
    Code:
    lspci # Gives hardware info
    lsmod # Gives module info
  5. What kernel version ?
    Code:
    uname -a
A little more info always helps.

You can try my xorg.conf file if you wish, but until we get info on your video card, it won't help much.

Last edited by cwwilson721; 05-11-2006 at 03:43 PM.
 
Old 05-11-2006, 08:40 PM   #3
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
I'm on Arch Linux with Xorg. I've tried xorgconfig, and it makes a nice config, but the framebuffer mode is still active and it makes things very slow.

My card is a PCI NeoMagic Graph 128XD w/ 2MB RAM. This is on an older Dell Inspiron 3200 laptop. More info on it can be found here: http://support.dell.com/support/edoc...wist/specs.htm

My kernel version ... I'm not exactly sure at the moment as I'm class, but I'm fairly sure it's the latest stable release. I updated all the packages via pacman after I installed Arch, and they say that they're almost always on top of the latest releases.

Thank you for your help
 
Old 05-12-2006, 03:41 PM   #4
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Any ideas? Thanks for looking, everyone
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trouble configuring keyboard yakotey Debian 5 02-21-2006 05:00 AM
Trouble configuring linux Cripple Linux - Newbie 3 11-13-2005 09:39 PM
Trouble configuring XFree86 lantern Debian 10 09-09-2004 08:28 AM
trouble configuring eth0 slack---line Linux - Networking 0 06-11-2004 07:10 AM
having trouble configuring x krackerroot Linux - Newbie 3 09-11-2003 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:35 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