PDA

View Full Version : [ubuntu] I have a partial xorg.conf



collinp
June 3rd, 2008, 04:08 AM
Ok, when i go into my xorg.conf for 8.04, it seems i only have a partial file. Here is my file:

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

Can someone tell me if i have a partial or incomplete file, and if so, how to correct it?

EXCiD3
June 3rd, 2008, 04:14 AM
I think that it is fine, its just the generic xorg without any extra settings such as video card settings. If you install your graphics driver several more options should be added automatically.

collinp
June 3rd, 2008, 04:18 AM
Where do i install the i810 driver at?

EDIT: I found my driver in Synaptic and reinstalled it but there is no change in the xorg.conf.

EXCiD3
June 3rd, 2008, 04:31 AM
It may be already installed, check to see if you ahve this package installed currently: xserver-xorg-video-intel

collinp
June 3rd, 2008, 04:35 AM
It is installed, and i reinstalled it, but still no change with the xorg.conf file.

EXCiD3
June 3rd, 2008, 04:36 AM
What graphics card do you have? I should think that there would be a "Driver" section in your xorg. Are you getting the correct screen resolutions?

collinp
June 3rd, 2008, 04:39 AM
i have intergrated graphics, Intel 810, and yes, i get the correct resolutions.

EXCiD3
June 3rd, 2008, 04:53 AM
I'm still thinking you should have a lot more in your xorg. Try configuring your xorg with this command:

sudo dpkg-reconfigure -phigh xserver-xorg

collinp
June 3rd, 2008, 04:55 AM
It is still exactly the same, even after your command.

EXCiD3
June 3rd, 2008, 05:01 AM
Interesting. I should think it would use the Driver "Intel"...Is there any problems you are experiencing?

collinp
June 3rd, 2008, 05:04 AM
Well, i was working on getting compiz-fusion running and i saw inside the xorg.conf file and i got worried, plus i cant enable compiz-fusion for some reason, even though glxinfo says i have direct rendering enabled.

EXCiD3
June 3rd, 2008, 05:06 AM
what is the output of "compiz --replace" in terminal?

BandD
June 3rd, 2008, 05:11 AM
I was wondering about this a few days ago. I also have an intel card. I found the answer in a post by one the the Ubuntu Developers here (http://ubuntuforums.org/showpost.php?p=5075310&postcount=4).

It seems Xorg is more advanced in the auto-detection realm. You can see the driver xorg is using by looking through /var/log/Xorg.0.log or type this in a terminal:


grep Driver /var/log/Xorg.0.log

Check out RAOF's post if you don't understand...

collinp
June 3rd, 2008, 05:11 AM
Checking for Xgl: not present.
Detected PCI ID for VGA: 00:01.0 0300: 8086:7121 (rev 03) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x1024) to maximum 3D texture size (512): Failed.
aborting and using fallback: /usr/bin/metacity

EXCiD3
June 3rd, 2008, 05:15 AM
Does Screen and Graphics show your card and video driver correctly?



I was wondering about this a few days ago. I also have an intel card. I found the answer in a post by one the the Ubuntu Developers here (http://ubuntuforums.org/showpost.php?p=5075310&postcount=4).

It seems Xorg is more advanced in the auto-detection realm. You can see the driver xorg is using by looking through /var/log/Xorg.0.log or type this in a terminal:


grep Driver /var/log/Xorg.0.logCheck out RAOF's post if you don't understand...

Thats very interesting to note. Thanks for this! :)

collinp
June 3rd, 2008, 05:24 AM
where would i find that?

EXCiD3
June 3rd, 2008, 05:30 AM
Press Alt-F2 and run "gksudo displayconfig-gtk" or run it from terminal.

collinp
June 3rd, 2008, 05:33 AM
Yes, it does.

collinp
June 3rd, 2008, 05:40 AM
Oh great, i forgot to say that i had to set my monitor and now my screen is flashing different colored lines all over my screen after i logged off to restart x.

EXCiD3
June 3rd, 2008, 05:45 AM
Do you mean you used screen and graphics to configure your screen and now its not working correctly?

Also, i'm about to head off to bed in a little while, if you have IM we could chat much easier.

collinp
June 3rd, 2008, 05:51 AM
Yea, i used screen and graphics to configure my monitor model but i fixed it now, using Recovery mode to reconfigure xorg.

EXCiD3
June 3rd, 2008, 05:53 AM
Thats good, I cant seem to find anything else about your problem. It seems that everyone else has their xorg properly configured and compiz working out of the box. Did you do an upgrade from a previous version?

collinp
June 3rd, 2008, 05:58 AM
if you mean ubuntu, yes. If you mean compiz, yes.

EXCiD3
June 3rd, 2008, 06:01 AM
Could be an issue from upgrading Ubuntu...There have been TONS of problems with upgrades. A fresh install should give you compiz out of the box.

collinp
June 3rd, 2008, 06:17 AM
Ah ok, thanks

imneo
June 3rd, 2008, 02:26 PM
try reinstalling you xorg-server ( you will loose all configuration !)

they have a guide somewhere on this site:

http://www.scripts-net.com