LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2003, 04:05 PM   #1
ToolBoy
LQ Newbie
 
Registered: Jun 2003
Distribution: Trying Suse 8.1
Posts: 16

Rep: Reputation: 0
XF86Config Setup


Hey,

I can't seem to get my XF86Config file working correctly. I have a Dell Optiplex GX1. It has an onboard ATI Rage PRO AGP 2x with 4 MB of RAM. The monitor is a HP Pavilion M70 (D5259A). When I use the Config file below the computer does not boot into KDE. I can use a different Config file and KDE comes up but it's not at the right resolution and whatnot. So basicaly I need this file to start working. Plus default to a resolution of say 1024x768 at 85Hz. Also for some reason with those mouse setting my mouse is still not using the scroll wheel. It's a Logitech Cordless Freedom Navigator.

Oh, I am using Gentoo Linux, if that information is needed. I donít think it would be.

*****
My XF86Config File
*****
Section "ServerLayout"
Identifier "XFree86 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/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
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 "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "type1"
Load "speedo"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "HP D5259A Pavilion M70 Monitor"
DisplaySize 320 240
HorizSync 30-70
VertRefresh 50-120
Option "dpms"
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 "accel" # [<bool>]
#Option "crt_display" # [<bool>]
#Option "composite_sync" # [<bool>]
#Option "hw_cursor" # [<bool>]
#Option "linear" # [<bool>]
#Option "mmio_cache" # [<bool>]
#Option "panel_display" # [<bool>]
#Option "probe_clocks" # [<bool>]
#Option "reference_clock" # <freq>
#Option "shadow_fb" # [<bool>]
#Option "sw_cursor" # [<bool>]
Identifier "Card0"
Driver "ati"
VendorName "ATI"
BoardName "Mach64 3D RAGE II"
ChipSet "ati"
ChipId 0x4742
ChipRev 0x5c
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepts 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerFlags"

EndSection
 
Old 09-03-2003, 04:38 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
are you sure the ATI supports a color depth of 24?
plus you should probably use a protocol of "IMPS/2" instead of "PS/2" for the mouse.

Also you should include a DRI permissions section.

just my $0.02
jpbarto
 
Old 09-03-2003, 06:07 PM   #3
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
You could probably just take your other config file and remove "800x600" "640x480" from the screen section.
 
Old 09-03-2003, 06:12 PM   #4
ToolBoy
LQ Newbie
 
Registered: Jun 2003
Distribution: Trying Suse 8.1
Posts: 16

Original Poster
Rep: Reputation: 0
Ok I got the mouse working. By using the following configuration.

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

I also added a ďDRIĒ section like below.

Section ďDRIĒ
Mode 0666
End Section

I canít see why the card would not support 24-bit color. I am fairly sure that itís capable of it. I believe thatís what I ran when it use to be a windows box. Also is Mach64 really what I should have for the configuration? A few places online said to use that if you had a Rage Pro. So I am assuming itís correct. Any more help I could get would be great.

Thanks.
Tool
 
Old 09-03-2003, 07:59 PM   #5
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
about the depth issue: take for example the Voodoo3 cards... they'll do DRI and 1024x768 but only in 16 bit color. Voodoo5 will do it too but only in 24. Might want to see what the user's guide over at dri.sourceforge.net has to say.
 
Old 09-04-2003, 01:58 AM   #6
ToolBoy
LQ Newbie
 
Registered: Jun 2003
Distribution: Trying Suse 8.1
Posts: 16

Original Poster
Rep: Reputation: 0
OK, I decide against the DRI part untill i figure out what my hardware supports wiht it.

Anway, my Config file is now going into KDE just fine. The only problem is that my resolution is still off. I should be able to run at 1024/768 at 85Hz. When KDE comes up it's not that as the default it's 800x600 at 85Hz. Pressing CTRL-ALT + or - only changes from 800x600 to 640x.480. Here is my new XF86Config file and the results of a $xrandr. Please help me if you can.

***
XF86Config
***

Section "ServerLayout"
Identifier "XFree86 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/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
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 "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "type1"
Load "speedo"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "HP D5259A Pavilion M70 Monitor"
DisplaySize 320 240
HorizSync 30-70
VertRefresh 50-120
Option "dpms"
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 "accel" # [<bool>]
#Option "crt_display" # [<bool>]
#Option "composite_sync" # [<bool>]
#Option "hw_cursor" # [<bool>]
#Option "linear" # [<bool>]
#Option "mmio_cache" # [<bool>]
#Option "panel_display" # [<bool>]
#Option "probe_clocks" # [<bool>]
#Option "reference_clock" # <freq>
#Option "shadow_fb" # [<bool>]
#Option "sw_cursor" # [<bool>]
Identifier "Card0"
Driver "ati"
VendorName "ATI"
BoardName "Mach64 3D RAGE II"
ChipSet "ati"
ChipId 0x4742
ChipRev 0x5c
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 8
Modes "1024x768/85Hz" "800x600" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768/85Hz" "800x600" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768/85Hz" "800x600" "640x480"
Virtual 0 0
EndSubSection
EndSection


***
xrandr
***
bash-2.05b$ xrandr
SZ: Pixels Physical Refresh
*0 800 x 600 ( 323mm x 242mm ) *85 75 72 60 56
1 640 x 480 ( 323mm x 242mm ) 85 75 72 60
2 700 x 525 ( 323mm x 242mm ) 59
3 640 x 512 ( 323mm x 242mm ) 60
4 720 x 400 ( 323mm x 242mm ) 85
5 640 x 400 ( 323mm x 242mm ) 85
6 576 x 432 ( 323mm x 242mm ) 75
7 640 x 350 ( 323mm x 242mm ) 85
8 576 x 384 ( 323mm x 242mm ) 54
9 512 x 384 ( 323mm x 242mm ) 84 75 70 60 87
10 416 x 312 ( 323mm x 242mm ) 74
11 400 x 300 ( 323mm x 242mm ) 85 75 72 60 56
12 320 x 240 ( 323mm x 242mm ) 85 75 72 60
13 360 x 200 ( 323mm x 242mm ) 85
14 320 x 200 ( 323mm x 242mm ) 85
15 320 x 175 ( 323mm x 242mm ) 85
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none


I also forgot to mention that "Physical" specs from the xrandr say 323mm x 242mm. When on the XF68Config file they say 320mm x 240mm. The monitor specs are 320 x 240. Don't know why it's not the same.

Thank you again,
Tool

Last edited by ToolBoy; 09-04-2003 at 02:01 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
root@localhost:~# xf86config -bash: xf86config: command not found klemen Slackware 17 01-06-2005 03:56 AM
where can I find the XF86Config and XF86Config-4 files? souaw Mandriva 4 04-21-2004 10:30 AM
XF86Config and Quad Monitor Setup hikoseijuro Linux - Software 2 05-06-2003 11:04 AM
Slack install - Setup xf86config file but don't seem to have an X server up sidewalking Slackware 12 01-08-2003 05:13 AM
Diff btw XF86Config-4 and XF86Config BorgKing Linux - Newbie 1 06-12-2002 02:31 PM


All times are GMT -5. The time now is 06:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration