LinuxQuestions.org
Visit Jeremy's Blog.
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 07-05-2006, 01:01 AM   #1
matthias_k
LQ Newbie
 
Registered: Nov 2004
Posts: 16

Rep: Reputation: 0
Retrieving X11 display settings at run-time?


Hi guys,

I am using Linux for a couple of years now, but I am encountering a big problem recently, especially with newer distros (I think in particular those which incorporate XGL).

The problem is that I can't boot X11 anymore. It doesn't crash or even report errors, but the screen will just stay black. I'm using a Radeon 9800 Pro and an Acer 17" TFT.
I tried everything, using other video drivers (ati, radeon, fglrx) and tuning the monitor settings, but no luck. Even using my Ubuntu box'es xorg.conf where it works just fine will produce the same results.

The problem occured with the Kororaa XGL live-cd and with the recent RC3 of SUSE Enterprise Desktop 10 (SLED10). Here is the xorg.conf I am using with the latter: http://dump.finitestate.org/xorg.conf.txt

Grep'ing through the X11 log for warnings yields this:

Code:
matthias:suse$ cat var/log/Xorg.0.log | grep \(WW\)
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/X11R6/lib/X11/fonts/Speedo" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/PEX" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/misc" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin7/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/baekmuk" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/japanese" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/kwintv" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/misc" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/misc" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc/sgi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/xtest" does not exist.
(WW) The directory "/opt/kde3/share/fonts" does not exist.
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx(0): Bad V_BIOS checksum
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Specified desktop setup not supported: 8
(WW) fglrx(0): Option "CalcAlgorithm" is not used
No errors were indicated.

Now, the only thing I can imagine is that XGL somehow sends my TFT into a bad display mode, so I was wondering if there is a possibility to read from the command line what display mode X11 is using when I start it? I want to check if this is the problem.

Or maybe you know where the problem is? I'm getting pretty desperate...

Thanks,
Matthias
 
Old 07-05-2006, 07:37 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
I think that "fglrx: No matching Device section for instance (BusID PCI:1:0:1) found" is the problem is a device section specified does the PCI bit match?
 
Old 07-06-2006, 12:30 AM   #3
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
Quote:
fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
Thats probably nothing just means, that the graphics adapter probably has to Output devices like dvi and vga and only one is configured, though you could try to plug your monitor to the other one.

But I think is strange is this part of the log file:
Quote:
(WW) fglrx(0): Bad V_BIOS checksum
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Specified desktop setup not supported: 8
Sounds almost as if there is something wrong with your graphics card. Did you flash some differnet BIOS on the card, I know it is possible to do that with some ATI cards?

Quote:
(WW) The directory "/usr/X11R6/lib/X11/fonts/Speedo" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/PEX" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/misc" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin7/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/baekmuk" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/japanese" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/kwintv" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/misc" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/misc" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc/sgi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/xtest" does not exist.
(WW) The directory "/opt/kde3/share/fonts" does not exist.
That is probably the easiest part to begin with: xserver obviously doesn't find any fonts, so maybe you should start with correcting paths to fonts directorys in your xorg.conf

Good luck,

Isis
 
Old 07-06-2006, 02:16 AM   #4
matthias_k
LQ Newbie
 
Registered: Nov 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Hi,

the line with the missing device section is meaningless, as you said. It's only important if you use two monitors.

As to the other three lines (bad BIOS chksum etc): I get the exact same output on my Ubuntu box, and it works just fine. The "unknown 3rd party board" just means it doesn't know the vendor of my graphics card (it's an ATI card), but it does recognize my chipset.

The font paths, yes that's pretty strange. I might look into that, but I doubt it's the problem.

Oh and to my initial question: Is there a way to determine which display mode X is currently using while it's running?

Last edited by matthias_k; 07-06-2006 at 02:18 AM.
 
Old 07-06-2006, 03:57 AM   #5
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
Hmm I don't know a different way than to switch to a console and do a tail -f /var/log/Xorg.0.log

Maybe there is something wrong with the frequencies you entered in your xorg.conf? Does your Monitor just shows a blank screen or does it go to standby mode?
 
Old 07-06-2006, 09:49 AM   #6
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
When using the fglrx driver, it is possible to change display modes using ctrl+alt++ or ctrl+alt+-
I am not sure if this is a feature of the fglrx driver or the X server itself, but it should work at least with the fglrx driver.
Now, if you use these combinations and you get your screen working, then the problem is the display mode.
In addition, if I remember correctly, when I tried once to use xgl with fglrx, I had the same problem but I was able to see the cursor.

As for detecting the display mode... here is part of my Xorg.0.log:
Code:
(II) fglrx(0): Supported VESA Video Modes:
(II) fglrx(0): 720x400@70Hz
(II) fglrx(0): 640x480@60Hz
(II) fglrx(0): 640x480@67Hz
(II) fglrx(0): 640x480@72Hz
(II) fglrx(0): 640x480@75Hz
(II) fglrx(0): 800x600@56Hz
(II) fglrx(0): 800x600@60Hz
(II) fglrx(0): 800x600@72Hz
(II) fglrx(0): 800x600@75Hz
(II) fglrx(0): 832x624@75Hz
(II) fglrx(0): 1024x768@60Hz
(II) fglrx(0): 1024x768@70Hz
(II) fglrx(0): 1024x768@75Hz
(II) fglrx(0): 1280x1024@75Hz
(II) fglrx(0): 1152x870@75Hz
(II) fglrx(0): Manufacturer's mask: 0
(II) fglrx(0): Supported Future Video Modes:
(II) fglrx(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) fglrx(0): Supported additional Video Mode:
(II) fglrx(0): clock: 108.0 MHz   Image Size:  338 x 271 mm
(II) fglrx(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
(II) fglrx(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
(II) fglrx(0): Ranges: V min: 56  V max: 75 Hz, H min: 31  H max: 82 kHz, PixClock max 140 MHz
(II) fglrx(0): Monitor name: NEC LCD1711M
My display mode is shown here:
Code:
(II) fglrx(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
 
  


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
C/C++ API for retrieving system time in micro or milliseconds syseeker Programming 1 05-04-2006 07:15 AM
retrieving execution time for process dipenchaudhary Programming 3 02-24-2006 10:27 AM
mplayer -vo x11, how do I specify which display? lukebeales Linux - Software 2 09-17-2004 09:35 AM
Correct X11 display??? s1lv1a9999 Linux - Software 2 05-03-2004 01:39 AM
X11 display failed logins rangerx Linux - Security 0 09-19-2002 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration