View previous topic :: View next topic |
Author |
Message |
kingofearth n00b
Joined: 20 Mar 2005 Posts: 41
|
Posted: Wed Mar 23, 2005 4:18 am Post subject: What defaults X uses when there is no xorg.conf file |
|
|
I need to get Direct rendering working on my computer, Im using the Gentoo docs so thats not what I need help with, but part of it requires that I edit xorg.conf. The problem is that I dont have an /etc/X11/xorg.conf file. I've tryed making one but then X doesn't work. So is there anyway to find out what X is using so I can make xorg.conf and get direct rendering working? |
|
Back to top |
|
|
funduk n00b
Joined: 17 Jan 2005 Posts: 72 Location: Toronto, Ontario
|
Posted: Wed Mar 23, 2005 5:56 am Post subject: |
|
|
Did you run that 'xorgconfig' command as your user? That should create a brand new xorg.conf based on your answers to the questions. Might be a good place to start at least. |
|
Back to top |
|
|
kingofearth n00b
Joined: 20 Mar 2005 Posts: 41
|
Posted: Wed Mar 23, 2005 4:19 pm Post subject: |
|
|
yea, but I dont know what to put in for my monitor. Its a laptop screen, and the screen rotation/resize things says the refresh rate it 0Hz so I dont know what moniter to select. X works without the file, so Im wondering if their someplace I can look to find out what monitor settings its using to make my own xorg.conf so I can enable direct rendering. |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Wed Mar 23, 2005 4:21 pm Post subject: |
|
|
Google for your laptop vendor and model, there should be someone who has tried to get it working with linux and (hopefully) X, and posted the specifications. |
|
Back to top |
|
|
alkats n00b
Joined: 15 Feb 2005 Posts: 21
|
Posted: Wed Mar 23, 2005 5:07 pm Post subject: |
|
|
If you can boot KNOPPIX 3.7 liveCD with good resolution, it will give you xorg.conf file tailored for your computer. It worked for me very well:
1. Boot KNOPPIX
2. Open terminal
3. #su
4. mount /dev/hda1 /mnt/hda1 (hda1 is your hard drive root partition, could be different)
5. cp /etc/X11/(dont rememeber where exactly)XF86Config-4 /mnt/hda1/xorg.conf
5. edit xorg.conf either in KNOPPIX or after reboot deleting a lot of unneeded stuff. |
|
Back to top |
|
|
dewke Tux's lil' helper
Joined: 01 Jun 2004 Posts: 77 Location: The sunshine state
|
Posted: Wed Mar 23, 2005 5:27 pm Post subject: |
|
|
You should configure xorg with the native resolution of your LCD panel. You don't need to worry about refresh rates since it is a fixed frequency display.
My laptop has a 1600x1200 resolution and this is the appropriate part of my xorg.conf
Code: | Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200"
EndSubSection
EndSection |
_________________ Oderint dum metuant
-Caligula |
|
Back to top |
|
|
|