LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xorg.conf missing :( (https://www.linuxquestions.org/questions/linux-software-2/xorg-conf-missing-922048/)

qrange 01-04-2012 01:21 PM

Xorg.conf missing :(
 
Xorg.conf is missing from /etc/X11. I tried to recreate it, but got this error: "Number of created screens does not match number of detected devices. Configuration failed."
what to do?

eSelix 01-04-2012 02:22 PM

1. Do you really need it?
2. How you tried to recreate it?
3. You can write this by hand (if you have simple configuration)
Code:

Section "Screen"
        Identifier  "Default Screen"
        Device      "Default Video Card"
        DefaultDepth 24
EndSection

Section "Device"
        Identifier    "Default Video Card"
        Driver        "nvidia"  # use this for nVidia proprietary driver
        Driver        "nv"      # or this for nVidia open source drivers
        Driver        "fglrx"    # or this for ATI proprietary driver
        Driver        "radeon"  # or this for Radeon open source drivers
                                  # others I don't known
EndSection


qrange 01-05-2012 01:01 AM

1. yes :rolleyes:
2. yes :rolleyes:
3. I do have two monitors and usb mouse, dunno if that makes it nonsimple.

evo2 01-05-2012 01:05 AM

Hmm, what video device and driver are you using? It may be best to post both the config file and the log file.

Evo2.

qrange 01-05-2012 11:44 AM

video card is with ATI chip, HD4850.
Xorg.0.log contains no errors.
what config file? the missing one? ;)

perhaps I should elaborate on '1.'
Debian works fine with my monitor in 1600x1200. but when I connect TV (1920x1080 on hdmi), monitor displays only part of picture.
problem seems to be, one screen has higher X resolution and the other Y.
I've played with xrandr and believe that, to solve the problem, 'virtual screen' in xorg.conf should be increased.
also, I thought having xorg.conf might decrease slightly bootup time.

gargunkle 01-05-2012 01:12 PM

Not necessarily much help, but I have two monitors, no xorg.conf, and my X works fine.

qrange 01-05-2012 01:40 PM

but are they using different resolutions?

gargunkle 01-05-2012 01:44 PM

mine personally are the same size monitor and have the same resolutions.

evo2 01-05-2012 09:59 PM

Quote:

Originally Posted by qrange (Post 4567106)
video card is with ATI chip, HD4850.

The output from lspci would be more helpful.

Quote:

Xorg.0.log contains no errors.
Yes, but if I could see it I could understand what driver is being used and perhaps get other useful information.

Quote:

what config file? the missing one? ;)
You said you wrote and /etc/X11/xorg.conf

I guess it would be best to post the Xorg log file for the cases both with and without your custom xorg.conf.

Evo2.

qrange 01-06-2012 12:10 PM

mkay
Quote:

Originally Posted by evo2 (Post 4567546)
The output from lspci would be more helpful.
Yes, but if I could see it I could understand what driver is being used and perhaps get other useful information.
You said you wrote and /etc/X11/xorg.conf
I guess it would be best to post the Xorg log file for the cases both with and without your custom xorg.conf.

Evo2.

lspci:
01:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850]

no, I didn't write xorg.conf. I tried 'automatic recreate' with: Xorg -configure

log: http://www.fileden.com/files/2006/9/...Xorg.0.log.zip


thanks.

adamk75 01-06-2012 07:08 PM

Maybe I'm missing something, but you don't seem to have explained what problem you are now having? According to the Xorg log file you posted, X seems to be starting up and running fine, correct?

Adam

qrange 01-07-2012 05:21 AM

yes, well the problem is, without config file, I don't see a way to increase 'Virtual screen size'.

adamk75 01-07-2012 06:45 AM

I didn't think that setting a Virtual screen size was necessary any more with KMS. KMS can dynamically grab as much memory as it needs for your screen real estate.

However, if you want to set the Virtual value, I don't see any reason you can't create an xorg.conf file with with 'Xorg -configure' and then edit the Screen section to put in the Virtual value.

Adam

qrange 01-07-2012 09:53 AM

d'uh
I can't recreate it with 'xorg -configure' because it reports error:
"Number of created screens does not match number of detected devices. Configuration failed."

adamk75 01-07-2012 01:58 PM

If 'Xorg -configure' reports that error, there's something wrong with your installation of Xorg. You can, however, still manually create an xorg.conf file with just a Screen section, and put the Virtual line in there.


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