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 8th September 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default Change CRT to LCD

I use FreeBSD 7 and before I use LG CRT monitor and everything was good and I think I have better image and text with it
today I change it with SyncMaster N1740 Samsung LCD , I think I do not have good image and an text which part of Xorg must change for have bettet image and picture with LCD ???
Reply With Quote
  #2   (View Single Post)  
Old 8th September 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

Most LCD monitors have one recommended resolution, so you should figure out what that is for your monitor and use it. You also need to make sure your video card is capable of supporting that resolution.

In your xorg.conf, in the Monitors section, comment out any HorizSync and VertRefresh lines.

In the Screens section, add the recommended resolution. For example, if your recommended resolution is 1440x900, you Screen section might look like this:
Code:
Section "Screen"
    Identifier  "Screen 0"
    Device      "videocard0"
    Monitor     "lcd0"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1440x900" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
Reply With Quote
  #3   (View Single Post)  
Old 8th September 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

If you are using a new enough version of Xorg, you don't need to change a thing. Just restart the X server and it will detect the optimal mode and rate for your monitor and use it.

Adam
Reply With Quote
  #4   (View Single Post)  
Old 8th September 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

adamk is technically correct, but I would run X -configure and copy the xorg.conf.new to /etc/X11/xorg.conf, manually merging anything you had changed in the existing file.

I like having a file, sometimes Xorg makes the wrong assumptions..
Reply With Quote
  #5   (View Single Post)  
Old 8th September 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Isn't Xorg making the same assumptions when you run it with -configure? :-)

Adam
Reply With Quote
  #6   (View Single Post)  
Old 8th September 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,074
Thanked 198 Times in 156 Posts
Default

Another thing you may want to do is to compile print/freetype2 with WITH_LCD_FILTERING, this uses a cleartype-like technique to improve font quality on LCD screens.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #7   (View Single Post)  
Old 8th September 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 adamk View Post
Isn't Xorg making the same assumptions when you run it with -configure? :-)

Adam
It's the ability to overwrite said assumptions that make the file worth having available.
Reply With Quote
  #8   (View Single Post)  
Old 8th September 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,074
Thanked 198 Times in 156 Posts
Default

X -configure will (almost) never give you a perfect xorg.conf, but it will (almost) always give you a working xorg.conf file, it's much easier to start from that then to start from scratch.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #9   (View Single Post)  
Old 8th September 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
It's the ability to overwrite said assumptions that make the file worth having available.
Well, I didn't say not to use an xorg.conf file, just that changing monitors shouldn't require any changes to the file :-)
Reply With Quote
Old 8th September 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

And I never said you were wrong.

Friends? :P
Reply With Quote
Old 8th September 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

And I never said you said I was wrong :-)

Yes, I think a truce of friendship is in order. What it really boils down to is that we are both right :-)

Adam
Reply With Quote
Old 8th September 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 506
Thanked 39 Times in 39 Posts
Default

Quote:
Originally Posted by adamk View Post
Well, I didn't say not to use an xorg.conf file, just that changing monitors shouldn't require any changes to the file :-)
Depends, I suppose. My xorg.conf is rather complicated, with two monitors run in Xinerama with dialed-in resolutions and various options selected (including the nvidia driver) and deselected.

I've never tried simply letting xorg figure out what I have, as I suspect the results would not be particularly useful.
Reply With Quote
Old 8th September 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Ahhh, but if you had an Xorg setup that already worked, and simply wanted to switch monitors, chances are it wouldn't require any changes to the xorg.conf file :-)

I'm not suggesting that the OP let Xorg figure out everything, simply that there is nothing that probably needs to get changed in /etc/X11/xorg.conf :-)

Adam
Reply With Quote
Old 9th September 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 506
Thanked 39 Times in 39 Posts
Default

If you change the resolution, refresh rate or anything else about the monitor then yes indeed you would have to change xorg.conf. FWIW, I've used and edited this base xorg.conf for six years, even when it was xf86.conf (or whatever it was called back in the day).
Reply With Quote
Old 9th September 2008
revzalot's Avatar
revzalot revzalot is offline
Shell Scout
 
Join Date: May 2008
Posts: 123
Thanked 1 Time in 1 Post
Default

Has anyone tried running triple or quadruple LCDs using two PCI E graphics card? Just curious is this is possible with xorg. I'm sure there's an open source flight sim out there that can be put to good use.
Reply With Quote
Old 9th September 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Thanks all guys .
my fonts are not nice and good with LCD
Reply With Quote
Old 9th September 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

I check xorg conf and I see this line
Code:
Section "Monitor"
	#DisplaySize	  310   230	# mm
	Identifier   "Monitor0"
	VendorName   "GSM"
	ModelName    "FLATRON 775FT"
and I think xorg still my CRT
but my monitor right now is LCD
Reply With Quote
Old 9th September 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Quote:
Originally Posted by DrJ View Post
If you change the resolution, refresh rate or anything else about the monitor then yes indeed you would have to change xorg.conf. FWIW, I've used and edited this base xorg.conf for six years, even when it was xf86.conf (or whatever it was called back in the day).
ACtually, unless you explicitly disabled EDID detection, even that information wouldn't matter as Xorg attempts (usually succesfully) to detect it these days.

Adam
Reply With Quote
Old 9th September 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Quote:
Originally Posted by mfaridi View Post
I check xorg conf and I see this line
Code:
Section "Monitor"
	#DisplaySize	  310   230	# mm
	Identifier   "Monitor0"
	VendorName   "GSM"
	ModelName    "FLATRON 775FT"
and I think xorg still my CRT
but my monitor right now is LCD
You are not specifying anything in that section that would need to be changed when switching monitors.
Reply With Quote
Old 9th September 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 506
Thanked 39 Times in 39 Posts
Default

Quote:
Originally Posted by adamk View Post
ACtually, unless you explicitly disabled EDID detection, even that information wouldn't matter as Xorg attempts (usually succesfully) to detect it these days.
I did.
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
Change for rc.lkm IdOp NetBSD General 2 24th August 2009 02:33 PM
Username Change ninjatux Off-Topic 3 24th March 2009 06:45 PM
change ttl value ecnalbya OpenBSD Security 18 23rd August 2008 12:46 PM
rpc.nfsd threads, how do i change them? NathanL FreeBSD General 2 11th July 2008 11:28 AM
Change the Size of a Slice kienjakenobi FreeBSD General 9 27th June 2008 03:01 PM


All times are GMT. The time now is 02:11 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