LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-08-2005, 08:21 PM   #1
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
Need xorg.conf for 1280x800 Compaq R3000Z display


I had Fedora Core 3 up and running, then I got greedy and went for the native 1280x800 display. I somehow wrote over my saved backup xorg.conf file, so now I have nothing to work with. Here is the xorg.conf file I found, but when it starts X, it tells me:

Screens found, but no configurations can be used

Here is the conf file that I am using now. Can someone help me to get this up and running please!!

Code:
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

# Comment out some modules - functionality is provided by nvidia
Section "Module"
#	Load	"GLcore"
	Load	"synaptics"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

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

# These parameters obtained from a mailing list post somewhere...
Section "InputDevice"
	Identifier	"Alps Touchpad"
	Driver		"synaptics"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/event1"
	Option		"Protocol"		"event"
	Option		"LeftEdge"		"60"
	Option		"RightEdge"		"830"
	Option		"TopEdge"		"70"
	Option		"BottomEdge"		"650"
	Option		"FingerLow"		"25"
	Option		"FingerHigh"		"30"
	Option		"MaxTapTime"		"180"
	Option		"MaxTapMove"		"110"
	Option		"EmulateMidButtonTime"	"75"
	Option		"VertScrollDelta"	"50"
	Option		"HorizScrollDelta"	"50"
	Option		"MinSpeed"		"0.2"
	Option		"MaxSpeed"		"0.5"
	Option		"AccelFactor"		"0.01"
	Option		"EdgeMotionSpeed"	"40"
	Option		"UpDownScrolling"	"1"
	Option		"TouchpadOff"	"0"
EndSection

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

# This section is only used for non-twinview layout
Section "Modes"
	# Here is the optimal mode: 1280x800 @ 60.0Hz
	Identifier "16:10"
	# 1280x800 @ 60.00Hz (GTF) hsync: 49.68kHz; pclk: 83.46MHz
	ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
EndSection

# Twinview setup
# The external monitor is configured to pan to the full resolution of
# the internal LCD.
Section "Device"
	Identifier	"NVidia GeForce4 440 Go 64M Twin"
	Driver		"nvidia"
	Option		"NvAgp"			"3"
	Option		"NoLogo"		"0"
	Option		"UseEdidFreqs"		"1"
	Option		"FlatPanelProperties"	"Scaling = aspect-scaled"
	Option		"TwinView"		"1"
	Option		"TwinViewOrientation"	"Clone"
	Option		"SecondMonitorHorizSync"	"30-90"
	Option		"SecondMonitorVertRefresh"	"50-75"
	Option		"MetaModes"		"1024x768 @1280x800,1280x800 @1280x800"
EndSection

# Non-twinview setup
Section "Device"
	Identifier	"NVidia GeForce4 440 Go 64M"
	Driver		"nvidia"
	Option		"NvAgp"			"3"
	Option		"NoLogo"		"0"
	Option		"UseEdidFreqs"		"1"
	Option		"FlatPanelProperties"	"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"
EndSection

# In twinview, the external monitor is the primary and the laptop
# LCD is the secondary.  The modeline here is not needed for the
# external monitor, but gets passed to the nvidia driver, which 
# needs it for the internal LCD
Section "Monitor"
	Identifier	"External"
	ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
	Option		"UseEdidFreqs"		"1"
EndSection

Section "Screen"
	Identifier	"External Screen"
	Device		"NVidia GeForce4 440 Go 64M Twin"
	Monitor		"External"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	Virtual 1280 800
	EndSubSection
EndSection

# This screen is only used in the non-twinview layout
Section "Screen"
	Identifier	"WXGA Screen"
	Device		"NVidia GeForce4 440 Go 64M"
	Monitor		"WXGA LCD"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x800"
	Virtual 1280 800
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"WXGA Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Alps Touchpad"
	InputDevice	"USB Mouse"
EndSection

Section "ServerLayout"
	Identifier	"twinview"
	Screen		"External Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Alps Touchpad"
	InputDevice	"USB Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
 
Old 03-09-2005, 04:17 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Here's mine from my HP zv5410 (which should be almost identical to yours):

Code:
Section "Files"
        RgbPath      "/usr/lib64/X11/rgb"
        ModulePath   "/usr/lib64/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

# Comment out some modules - functionality is provided by nvidia
Section "Module"
#       Load    "synaptics"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
#       Load    "speedo"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "dvorak"
EndSection

Section "InputDevice"
        Identifier      "POTP"
        Driver          "mouse"
        Option          "Device"                "/dev/mouse"
        Option          "Protocol"              "auto"
        Option          "Emulate3Buttons"       "true"
EndSection

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


Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
EndSection

# This section is only used for non-twinview layout
Section "Modes"
        # Here is the optimal mode: 1280x800 @ 60.0Hz
        Identifier "16:10"
        # 1280x800 @ 60.00Hz (GTF) hsync: 49.68kHz; pclk: 83.46MHz
        ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
EndSection

# Twinview setup
# The external monitor is configured to pan to the full resolution of
# the internal LCD.
Section "Device"
        Identifier      "NVidia GeForce4 440 Go 64M Twin"
        Driver          "nvidia"
        Option          "NvAgp"                 "3"
        Option          "NoLogo"                "0"
        Option          "UseEdidFreqs"          "1"
        Option          "FlatPanelProperties"   "Scaling = aspect-scaled"
        Option          "TwinView"              "1"
        Option          "TwinViewOrientation"   "Clone"
        Option          "SecondMonitorHorizSync"        "30-90"
        Option          "SecondMonitorVertRefresh"      "50-75"
        Option          "MetaModes"             "1024x768 @1280x800,1280x800 @1280x800"
EndSection

# Non-twinview setup
Section "Device"
        Identifier      "NVidia GeForce4 440 Go 64M"
        Driver          "nvidia"
        Option          "NvAgp"                 "3"
        Option          "NoLogo"                "0"
        Option          "UseEdidFreqs"          "1"
        Option          "FlatPanelProperties"   "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"
EndSection

# In twinview, the external monitor is the primary and the laptop
# LCD is the secondary.  The modeline here is not needed for the
# external monitor, but gets passed to the nvidia driver, which
# needs it for the internal LCD
Section "Monitor"
        Identifier      "External"
        ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
        Option          "UseEdidFreqs"          "1"
EndSection

Section "Screen"
        Identifier      "External Screen"
        Device          "NVidia GeForce4 440 Go 64M Twin"
        Monitor         "External"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        Virtual 1280 800
        EndSubSection
EndSection

# This screen is only used in the non-twinview layout
Section "Screen"
        Identifier      "WXGA Screen"
        Device          "NVidia GeForce4 440 Go 64M"
        Monitor         "WXGA LCD"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1280x800"
        Virtual 1280 800
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "WXGA Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "POTP"
        InputDevice     "USB Mouse"
EndSection

Section "ServerLayout"
        Identifier      "twinview"
        Screen          "External Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "USB Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection
I'm running Gentoo on mine, so adjust accordingly.

Edit: You don't happen to have mencoder on that thing do you?

http://www.linuxquestions.org/questi...hreadid=299766

Last edited by sigsegv; 03-09-2005 at 04:31 PM.
 
Old 03-22-2005, 11:38 AM   #3
sillyxone
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
try "modprobe nvidia" at the command line first

Also, if you load the nvidia driver (instead of nv driver), the 1280x800 mode might give you a white screen on laptop, put " -HSync -Vsync" at the end of the line says: Modeline "1280x800" ....

However, my laptop keep freezing if I use the nvidia driver, if your linux distro doesn't have that problem, please let me know (I'm using Mandrake 10.1)

Thanks.
 
Old 03-23-2005, 12:55 AM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
The config I posted works flawlessly without modification. Your lockup is probably caused by the fact that you're using the latest driver. Go back one revision and see if that cures it (It's a know problem with WXGA and the latest driver).
 
Old 03-23-2005, 07:11 AM   #5
sillyxone
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
I installed 6111, 6629, 7167. None of them give me more than 5 minutes on KDE except going back to using "nv". My desktop is using GeForce4-MX but have no problem at all. I tried SuSE lastnight on the laptop and no problem, it worked for 2 hour straight until I turned it off (I installed 7167). Will give Mandrake a try again.

I wonder if this is the famous R3000/R3000Z issue many people having?
 
Old 03-24-2005, 07:14 PM   #6
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Are you running the SMP kernel? The ACPI code in the bios on these machines is complete and total garbage. I can't run the SMP kernel without things mysteriously not working, and I even had a lockup or two. Switching to the uniproc kernel fixed me up (and slowed me down )
 
Old 03-26-2005, 08:09 AM   #7
sillyxone
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
Sorry, I'm just a newbie, how do I know if I'm using SMP kernel?

Anyway, I tried Mandrake one more time, same thing, keep locking up, whether nv or nvidia (mandrake on my desktop run very smoothly and fast).

I gave up for now as I'm using SuSE with no problem, very fast and smooth with the latest version, exept the touchpad I had to put init option psmouse.proto=bare at boot to make it works the way it's supposed to. I'm just using generic features of Linux,so Mandrake or Suse just the same to me.

The ACPI is working fine on SuSE (didn't have enough time-to-live to check out on Mandrake), my laptop can suspend (LCD and backlight off). However, when I closed the lid under Windows and the laptop go to suspend, the power led keep flashing at 1Hz. Under SuSE, it's not flashing at all so I have to put a heavy thing on the lid switch to test it. I was afraid that it didn't suspend so the heat will rise up and damage the screen if I really close the lid. Need more testing and reading to make sure.

After experiencing with the screen resolution in both Mandrake and SuSE, this is my experience with 1280x800 for nvidia:
- Modeline "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828: this line itself is OK with nv driver
- If the VertRefresh/Horiz rang is too small, I will get garbage screen, white boxes, so increase those range to a big one (30-75 is good for me)
- With the Modeline above and modified refresh rate like above, the screen will split in halves with identical content in each. However the desktop does show up in each half.
- Adding -HSync -VSync at the end of the Modeline will solve the problem
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg.conf for Laptop & external display. Riddick Linux - Software 11 12-03-2005 04:24 PM
Monitor wont display 1280x800 resolution dasoberdick Linux - Newbie 1 11-07-2005 11:56 PM
1280x800 with Slackware on a Compaq Presario R3210US Zaulden Slackware 6 07-28-2005 10:57 PM
Compaq R3000z Video Trouble spaaarky21 Linux - Laptop and Netbook 2 07-27-2005 06:37 PM
Altering xorg.conf to change mice doesn't work or disables display alex_denner Linux - Laptop and Netbook 3 02-06-2005 07:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:03 AM.

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