DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th May 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Thanked 1 Time in 1 Post
Default Wrong screen resolution, font size etc.

Good morning Gentlemen,

I have recently installed my new desktop pc with 7.0.

Xorg was configured easily with my Radeon 9000 although I read there are often problems with those cards. Anyway, the radeon driver worked right out of the box with graphics acceleration and everything.

BUT, the X server starts with a 1024x768 resolution, no matter what I do. There is no mod-line with this resolution, no extra xorg.conf file somewhere, it just uses this resolution and I have no idea why. Odd, I can resize the screen to 1280x1024 with xrandr without any problems! Fluxbox then messes up the screen and needs to be restarted. That's when all of the fonts in the application windows become big like a 24 font in an office-document.

I think this has all got to do with the first resolution problem, am I right? Where could I start debugging this error?
Reply With Quote
  #2   (View Single Post)  
Old 11th May 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Quote:
Originally Posted by PatrickBaer View Post
Good morning Gentlemen,
At the risk of scaring off future female members, try to refrain from making such assumptions.

As for your problem, We're not going to be able to help you without at least a copy of your xorg.conf and Xorg.0.log files.
Reply With Quote
  #3   (View Single Post)  
Old 13th May 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Thanked 1 Time in 1 Post
Default

Ok, that's a point there

Here's my xorg.conf content:

PHP Code:
Section "Module"
    
Load        "dbe"   # Double buffer extension
    
SubSection  "extmod"
      
Option    "omit xfree86-dga"   # don't initialise the DGA extension
    
EndSubSection
    Load        
"freetype"
    
Load        "glx"
    
Load        "dri"
EndSection
Section 
"Files"
    
FontPath   "/usr/local/lib/X11/fonts/misc/"
    
FontPath   "/usr/local/lib/X11/fonts/TTF/"
    
FontPath   "/usr/local/lib/X11/fonts/OTF"
    
FontPath   "/usr/local/lib/X11/fonts/Type1/"
    
FontPath   "/usr/local/lib/X11/fonts/100dpi/"
    
FontPath   "/usr/local/lib/X11/fonts/75dpi/"
    
FontPath   "/usr/local/lib/X11/fonts/local/"
EndSection
Section 
"ServerFlags"
EndSection
Section 
"InputDevice"
    
Identifier  "Keyboard1"
    
Driver      "kbd"
    
Option "AutoRepeat" "500 30"
    
Option "XkbRules"   "xorg"
    
Option "XkbModel"   "pc101"
    
Option "XkbLayout"  "de"
EndSection
Section 
"InputDevice"
    
Identifier  "Mouse1"
    
Driver      "mouse"
    
Option "Protocol"    "Auto" # Auto detect
    
Option "Device"      "/dev/sysmouse"
    
Option "ZAxisMapping"   "4 5 6 7"
EndSection
Section 
"Monitor"
    
Identifier  "videoseven"
    
HorizSync   31.5 79.0
    VertRefresh 56
-75
EndSection
Section 
"Device"
    
Identifier  "Standard VGA"
    
VendorName  "Unknown"
    
BoardName   "Unknown"
    
Driver     "vga"
EndSection
Section 
"Device"
    
Identifier  "radeon"
    
Driver      "radeon"
EndSection
Section 
"Screen"
    
Identifier  "Screen 1"
    
Device      "radeon"
    
Monitor     "videoseven"
    
DefaultDepth 24

    Subsection 
"Display"
        
Depth       8
        Modes       
"1280x1024"
        
ViewPort    0 0
    EndSubsection
    Subsection 
"Display"
        
Depth       16
        Modes       
"1280x1024"
        
ViewPort    0 0
    EndSubsection
    Subsection 
"Display"
        
Depth       24
        Modes       
"1280x1024"
        
ViewPort    0 0
    EndSubsection
EndSection
Section 
"ServerLayout"
    
Identifier  "Simple Layout"
    
Screen "Screen 1"
    
InputDevice "Mouse1" "CorePointer"
    
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section 
"DRI"
Mode 0666
EndSection 
The Xorg.0.log file is attached, thanks for helping!
Attached Files
File Type: gz Xorg.0.log.gz (8.8 KB, 15 views)
Reply With Quote
  #4   (View Single Post)  
Old 13th May 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

You should always use "X -configure" to generate a template xorg.conf file, taking some example off the Internet and adapting it to your needs is bound to cause issues.

Anyway, don't specify Vert/Horiz values.. your monitor has DDC functionality.

Right, So:
# X -configure
# $EDITOR xorg.conf.new
# mv xorg.conf.new /etc/X11/xorg.conf

That's all.. post back if you have any more problems.
Reply With Quote
  #5   (View Single Post)  
Old 14th May 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Thanked 1 Time in 1 Post
Default

Hm, I used xorgconf, didn't know there is a difference...
Reply With Quote
  #6   (View Single Post)  
Old 14th May 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

In the Monitor section, try adding this line:

Option "PreferredMode" "1280x1024"

And see if that makes a difference.
Reply With Quote
  #7   (View Single Post)  
Old 14th May 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Thanked 1 Time in 1 Post
Default

Adam, you just made my day

X -configure didn't work at all btw, still 1024x768 and couldn't even change with xrandr. Same commenting the refresh rate lines...
Reply With Quote
  #8   (View Single Post)  
Old 14th May 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Quote:
Originally Posted by PatrickBaer View Post
Adam, you just made my day
Glad I could help :-)

Adam
Reply With Quote
  #9   (View Single Post)  
Old 14th May 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Thanked 1 Time in 1 Post
Default



Now I have the resolution, but only 60Hz. Is that important for a TFT monitor?
Reply With Quote
Old 14th May 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

60 Hz is standard on a flat panel. From wikipedia ( http://en.wikipedia.org/wiki/Refresh_rate ):

Quote:
Much of the discussion of refresh rate does not apply to the liquid crystal portion of an LCD monitor. This is because while a CRT monitor uses the same mechanism for both illumination and imaging, LCDs employ a separate backlight to illuminate the image being portrayed by the LCD's liquid crystal shutters. The shutters themselves do not have a "refresh rate" as such due to the fact that they always stay at whatever opacity they were last instructed to continuously, and do not become more or less transparent until instructed to produce a different opacity.

The closest thing liquid crystal shutters have to a refresh rate is their response time, while nearly all LCD backlights (most notably fluorescent cathodes, which commonly operate at ~200Hz) have a separate figure known as flicker, which describes how many times a second the backlight pulses on and off.
Adam
Reply With Quote
Old 14th May 2008
xiphias xiphias is offline
Port Guard
 
Join Date: May 2008
Posts: 31
Thanked 2 Times in 2 Posts
Default

Refresh rate doesn't matter for TFT monitiors because it is a digital technology. The refresh rate is only used for sending the signal to the monitor, it is then turned back into digital data and the appropriate pixels are flipped. There is no refreshing of the entire screen every specific period in the same way as a CRT works.

The recommended refresh rate for most TFT monitors is 60Hz.

EDIT: Too slow trying to dredge up data from the bottom of my brain.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
font-misc-ethiopic & font-misc-meltho Beastie General software and network 0 27th February 2009 11:21 AM
CLI font size idefix FreeBSD General 3 7th February 2009 11:19 AM
Help with screen resolution for Window Maker bsdforlife FreeBSD General 2 25th August 2008 01:49 PM
Dump dates wrong? cwhitmore FreeBSD General 2 17th August 2008 08:49 PM
Howto fix problems on X with resolution wrong aleunix Guides 1 2nd June 2008 03:33 PM


All times are GMT. The time now is 05:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick