DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th January 2015
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default Is /etc/X11/xorg.conf functional on OpenBSD ?

The display offsets to right 1cm, so i use `xvidtune` to adjust it. And i put its output into xorg.conf.
Code:
# grep Modeline /etc/X11/xorg.conf 
Modeline "1440x900"    106.50   1440 1536 1688 1904    900  903  909  934 -hsync +vsync
I'm using OpenBSD-5.6.

Regards!
Reply With Quote
  #2   (View Single Post)  
Old 27th January 2015
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

What does /var/log/Xorg.0.log tell you about which config file is being used?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 27th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Is /etc/X11/xorg.conf functional on OpenBSD ?
You must answer the question yourself, because there are multiple ways to configure X. Review the log file /var/log/Xorg.0.log to determine which configuration files are being used, and if there are any errors in any of them.
Reply With Quote
  #4   (View Single Post)  
Old 27th January 2015
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

thanks for your quick answers.
Code:
$grep -i xorg /var/log/Xorg.0.log
[    30.112] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 27 23:28:47 2015
[    30.140] (==) Using config file: "/etc/X11/xorg.conf"
[    30.140] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
It seems no problem here.
Reply With Quote
  #5   (View Single Post)  
Old 27th January 2015
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Quote:
[ 30.140] (==) Using config file: "/etc/X11/xorg.conf"
[ 30.140] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
My understanding is that in the case of multiple sources, the last entry read wins
Reply With Quote
  #6   (View Single Post)  
Old 27th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Hmm... xorg.conf(5) lists the many different places it searches for configuration files, and uses the phrase "additional configuration files" when starting X as a normal user.

But we don't know what s2wolf's Xorg.0.log contains, as only three lines were extracted and provided above. Among all the information therein, the log should show which Modelines were configured and which mode(s) is/are active,
Reply With Quote
  #7   (View Single Post)  
Old 28th January 2015
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

Quote:
Originally Posted by jggimi View Post
Hmm... xorg.conf(5) lists the many different places it searches for configuration files, and uses the phrase "additional configuration files" when starting X as a normal user.

But we don't know what s2wolf's Xorg.0.log contains, as only three lines were extracted and provided above. Among all the information therein, the log should show which Modelines were configured and which mode(s) is/are active,
here it is, thanks!
Attached Files
File Type: txt Xorg.0.log.txt (36.6 KB, 85 views)

Last edited by sw2wolf; 31st January 2015 at 01:35 AM.
Reply With Quote
  #8   (View Single Post)  
Old 28th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

It appears that there are multiple configuration files, and all are being used. There are duplicate font paths, and triplicate Modelines deployed from the configuration files "(**)".
Reply With Quote
  #9   (View Single Post)  
Old 31st January 2015
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

Quote:
Originally Posted by jggimi View Post
It appears that there are multiple configuration files, and all are being used. There are duplicate font paths, and triplicate Modelines deployed from the configuration files "(**)".
Yeah, besides /etc/X11/xorg.conf, there is xorg.conf in /usr/X11R6/share/X11/xorg.conf.d/. I have amended it.

BTW, Why donot `Modes "1440x900_60"` and `Modes "1440x900@60"` work ? `Modes "1440x900"` works though.

Regards!

Last edited by sw2wolf; 2nd February 2015 at 07:04 AM.
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
xorg.conf doesn't exist & I want to keep record of my working Xorg setting daemonfowl OpenBSD General 14 28th August 2012 01:13 AM
xorg.conf with 1440x900 openBSDheart OpenBSD General 8 12th June 2012 07:06 PM
xorg.conf is not necessary ? sw2wolf OpenBSD General 5 1st June 2012 02:42 AM
xorg.conf overriden? delboy FreeBSD General 4 3rd February 2010 10:37 AM
Xorg.conf w/Matrox g550 agp WeakSauceIII OpenBSD General 4 20th May 2008 08:27 AM


All times are GMT. The time now is 03:37 AM.


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