Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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.
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
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?
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.
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."
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.