LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2005, 12:23 PM   #1
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
Xorg troubles on Slamd64


I can't seem to get xorg to run at 1200x800 on my Compaq Presario R3000 series laptop under the unofficial AMD64 port of Slackware. What is strange though, is I just happen to have saved my xorg.conf file from when I had it up and running previously under Fedora (yep...not a problem...took some tweaking but got it working). I get X to start and the Nvidia drivers to load, but the display is all hosed up. It's almost as though the box does not think my horizontal and vertical refresh rates are right. The display is like half the screen and stretches beyond the screen when going up and down. When I go with the vesa settings and just load it up that way, I have no problem although it is ugly as heck.

How is it that the horizontal and vertical refresh rates would work fine under one distro, because they are the exact same ones I used under Fedora Core, and not another? I would think hardware is hardware and xorg is xorg. Anybody got Slackware working with xorg @ 1200x800?
 
Old 03-19-2005, 10:32 PM   #2
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30
What is even stranger, is I decided to just remove the xorg file under /etc/X11. When I removed xorg.conf, and typed startx, X still starts. It's almost like it is reading the conf file from elsewhere. Looking over at the Slackware site itself, I read a bit, decided to try xorgsetup and I still have the same problem. I was trying this under kernel 2.6.10 with the last three NVIDIA drivers for X86_64. I thought perhaps I might have better luck with 2.6.11.5, but I didn't. If any of you have any suggestions, I would really appreciate your sharing them with me. I'm lost. Have no idea how x starts without a xorg.conf file under /etc/X11. But it does.
 
Old 03-19-2005, 10:45 PM   #3
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30
Fixed it.

Strangely enough, at least when logged in as root, it appears that Xorg will accept a xorg.conf file from places other than /etc/X11. I found this out when I ran xorgsetup again, as it had made mention of the fact that it already found a xorg.conf file, which I had in under /root. It said that it would rename the file xorg.conf.bak, and it did under this directory, which explains my ghost config file problem.

However, it turns out I have not fixed it after all. The problem with the screwed up display is the nvidia driver. If I remove the nvidia portion out of the xorg.conf file and replace it with nv my display is low quality, but at the appropriate resoultion

Last edited by Clark Bent; 03-19-2005 at 11:04 PM.
 
Old 03-19-2005, 11:46 PM   #4
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30
Ok...fixed it for real this time. Interesting little fight with the nvidia drivers. 2.6.11.5 and the latest Nvidia drivers for X86_64. Here was the kicker:

I put the following in /etc/modprobe.conf

options nvidia NVreg_Mobile=0

Once I did that, she worked like a champ. Here is my xorg.conf file for anybody out there who needs a hand:

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen "WXGA Screen"
InputDevice "Alps Touchpad" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib64/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "synaptics"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
# Load "dri"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "yes"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

# Doesn't work
# Section "InputDevice"
# Identifier "Mouse0"
# Driver "synaptics"
# Option "CorePointer"
# Option "Protocol" "event"
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5"
# Option "Emulate3Buttons" "no"
#EndSection
Section "InputDevice"
Identifier "Alps Touchpad"
Driver "synaptics"
Option "Device" "/dev/input/event1"
Option "Protocol" "auto-dev"
Option "LeftEdge" "85"
Option "RightEdge" "830"
Option "TopEdge" "85"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "EmulateMidButtonTime" "110"
Option "MaxTapTime" "110"
Option "MaxDoubleTapTime" "110"
Option "ClickTime" "110"
Option "MaxTapMove" "110"
Option "LockedDrags" "0"
Option "MinSpeed" "0.3"
Option "MaxSpeed" "1.0"
Option "AccelFactor" "0.02"
Option "LTCornerButton" "2"
Option "LBCornerButton" "3"
Option "EdgeMotionMinSpeed" "0"
Option "EdgeMotionMaxSpeed" "20"
Option "EdgeMotionMinZ" "55"
Option "EdgeMotionMaxZ" "80"
Option "EdgeMotionUseAlways" "1"
Option "UpDownScrolling" "1"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "TouchpadOff" "0"
Option "SHMConfig" "on"
EndSection


# Original config
#Section "InputDevice"
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "IMPS/2"
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5"
# Option "Emulate3Buttons" "true"
#EndSection

# Also allow USB mouse
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

# Added by GAG
# Reference: http://cmb.phys.cwru.edu/kisner/linu...0/XF86Config-4
Section "Modes"
# Here is the optimal mode: 1280x800 @ 60.0Hz
Identifier "16:10"
# 1280x800 @ 60.00Hz (GTF) hsyn: 49.68kHz; pclk: 83.46Mhz
ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
UseModes "16:10"
HorizSync 30-90
VertRefresh 50-75
Option "UseEdidFreqs" "1"
Option "FlatPanelProperties" "Scaling = aspect-scaled"
Option "dpms"
EndSection

# Non-twinview setup
Section "Device"
Identifier "NVidia GeForce4 420 Go 32M"
Driver "nvidia"
Option "NvAgp" "3"
Option "UseEdidFreqs" "1"
Option "FlatPenelProperties" "Scaling = aspect-scaled"
EndSection

# This monitor is only needed in the non-twinview setup
Section "Monitor"
Identifier "WXGA LCD"
UseModes "16:10"
HorizSync 30-90
VertRefresh 50-75
Option "UseEdidFreqs" "1"
Option "FlatPanelProperties" "Scaling = aspect-scaled"
Option "dpms"
EndSection

Section "Screen"
Identifier "WXGA Screen"
Device "NVidia GeForce4 420 Go 32M"
Monitor "WXGA LCD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x800"
Virtual 1280 800
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection


Last edited by Clark Bent; 03-20-2005 at 12:03 AM.
 
  


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
Slamd64 Xorg only works correctly as root niztec Linux - General 3 09-21-2005 09:45 PM
Slamd64 Bonzodog Slackware 1 09-09-2005 10:21 PM
xorg troubles AndrewB Mandriva 6 03-29-2005 04:10 PM
SLAMD64? | Any others? kaN5300 Slackware 1 01-19-2005 07:06 PM
continuing troubles with radeon 9000 and xorg wackman Linux - General 2 06-28-2004 04:58 AM

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

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