Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st September 2013
wimwauters wimwauters is offline
Port Guard
Join Date: Aug 2008
Posts: 36
Default Multi-monitor, dualhead setup

Hi all,

finally took some time to sort out multi-head setup of X, I had to create following file,
because xrandr complained about he virtual screen size not being big enough:


# to change the virtual buffer/screen:
Section "Screen"
        Identifier "default"
   SubSection "Display"
        Virtual 3200 1200
The special super-duper passphrase to get this to work is the Identifier line. X will of course not default to default, unless you tell it to... FFS!

I then run the following xrandr commands:
xrandr --output VGA-0 --primary
xrandr --verbose --fb 3200x1200 --output DVI-0 --right-of VGA-0
I'm using the default 'radeon' driver for OpenBSD 5.3 (the old default used to be 'radeonold')

Now I just need to figure out how to get the display resolutions to the correct setting when my desktop session starts. Feedback on this is most welcome.

dmesg | grep vga
vga1 at pci4 dev 0 function 0 "ATI Mobility Radeon HD 4300" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
radeondrm0 at vga1: apic 4 int 10
xrandr -q
$ xrandr -q                                                       
Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 3200 x 1200
DVI-0 connected 1280x1024+1920+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     59.9  
   720x400        70.1  
HDMI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1600x1200      60.0  
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x800       74.9     59.8  
   1024x768       75.0     60.0  
   800x600        75.0     60.3  
   640x480        75.0     59.9  
   720x400        70.1

Last edited by wimwauters; 21st September 2013 at 11:48 AM. Reason: code clean-up
Reply With Quote
  #2   (View Single Post)  
Old 21st September 2013
wimwauters wimwauters is offline
Port Guard
Join Date: Aug 2008
Posts: 36

Ah, add this to ~/.xsession ?

xrandr --output VGA-0 --mode 1920x1200
Reply With Quote

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
Altq on multi wan and multi zone environment apsaras OpenBSD Security 0 26th May 2012 11:19 PM
Monitor on before computer IdOp General Hardware 13 22nd March 2012 01:48 PM
Syslog-ng Monitor plexter OpenBSD Packages and Ports 8 5th February 2010 09:38 PM
gdm/ new monitor issue jimbus FreeBSD General 3 4th August 2009 07:39 PM
What is best way to monitor for bad sectors? PeterSteele FreeBSD General 9 16th August 2008 02:41 AM

All times are GMT. The time now is 07:59 PM.

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