LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 01-04-2012, 01:21 PM   #1
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 724

Rep: Reputation: 29
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?
 
Old 01-04-2012, 02:22 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,214

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
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
 
Old 01-05-2012, 01:01 AM   #3
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 724

Original Poster
Rep: Reputation: 29
1. yes
2. yes
3. I do have two monitors and usb mouse, dunno if that makes it nonsimple.
 
Old 01-05-2012, 01:05 AM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,247

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

Evo2.
 
Old 01-05-2012, 11:44 AM   #5
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 724

Original Poster
Rep: Reputation: 29
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.
 
Old 01-05-2012, 01:12 PM   #6
gargunkle
LQ Newbie
 
Registered: Oct 2011
Posts: 13

Rep: Reputation: Disabled
Not necessarily much help, but I have two monitors, no xorg.conf, and my X works fine.
 
Old 01-05-2012, 01:40 PM   #7
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 724

Original Poster
Rep: Reputation: 29
but are they using different resolutions?
 
Old 01-05-2012, 01:44 PM   #8
gargunkle
LQ Newbie
 
Registered: Oct 2011
Posts: 13

Rep: Reputation: Disabled
mine personally are the same size monitor and have the same resolutions.
 
Old 01-05-2012, 09:59 PM   #9
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,247

Rep: Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128
Quote:
Originally Posted by qrange View Post
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.
 
Old 01-06-2012, 12:10 PM   #10
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 724

Original Poster
Rep: Reputation: 29
mkay
Quote:
Originally Posted by evo2 View Post
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.
 
Old 01-06-2012, 07:08 PM   #11
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
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
 
Old 01-07-2012, 05:21 AM   #12
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 724

Original Poster
Rep: Reputation: 29
yes, well the problem is, without config file, I don't see a way to increase 'Virtual screen size'.
 
Old 01-07-2012, 06:45 AM   #13
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
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
 
Old 01-07-2012, 09:53 AM   #14
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 724

Original Poster
Rep: Reputation: 29
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."
 
Old 01-07-2012, 01:58 PM   #15
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
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.
 
  


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
PC-BSD 8.2 won't start x, missing xorg.conf loop Arcane *BSD 0 04-26-2011 10:21 AM
fresh netinst of squeeze:X server fails to start, missing /dev/fb0, missing xorg.conf frumpus Debian 7 03-17-2010 12:36 PM
Xorg.conf missing maikki Linux - Desktop 3 12-10-2009 04:04 PM
xorg.conf is missing in the last slackware64 installation ROXR Slackware 1 07-20-2009 02:56 AM
xorg.conf file missing dannyk1 Linux - Software 12 02-13-2009 07:48 AM


All times are GMT -5. The time now is 11:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration