head	1.2;
access;
symbols
	netbsd-11-0-RC5:1.2.2.2
	netbsd-11-0-RC4:1.2.2.2
	netbsd-11-0-RC3:1.2.2.2
	netbsd-11-0-RC2:1.2.2.2
	netbsd-11-0-RC1:1.2.2.2
	netbsd-10:1.2.0.4
	netbsd-11:1.2.0.2;
locks; strict;
comment	@# @;


1.2
date	2025.11.18.06.35.40;	author nia;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;
commitid	fhrA1jXuOdIA80jG;

1.1
date	2025.11.17.00.14.24;	author nia;	state Exp;
branches;
next	;
commitid	CbfI7J1ugMlz3QiG;

1.2.2.1
date	2025.11.18.06.35.40;	author martin;	state dead;
branches;
next	1.2.2.2;
commitid	KvxkHHH9RjPljPjG;

1.2.2.2
date	2025.11.24.16.43.54;	author martin;	state Exp;
branches;
next	;
commitid	KvxkHHH9RjPljPjG;

1.2.4.1
date	2025.11.18.06.35.40;	author martin;	state dead;
branches;
next	1.2.4.2;
commitid	BdcMFWXI5fxVkPjG;

1.2.4.2
date	2025.11.24.16.48.29;	author martin;	state Exp;
branches;
next	;
commitid	BdcMFWXI5fxVkPjG;


desc
@@


1.2
log
@small corrections
@
text
@# $NetBSD: xorg.conf,v 1.1 2025/11/17 00:14:24 nia Exp $
#
# This is a sample /etc/xorg.conf for use with NetBSD systems.
#
# Generally, it is not recommended to automatically generate an
# xorg.conf with "X -configure" any more. Many systems will work
# without an xorg.conf, but it may be necessary to specify a video
# driver or special server options.

Section "Device"
	Identifier	"Card0"

	# Most NetBSD systems can use the framebuffer driver.
	#
	# On x86 it may need to be configured with either "vesa" or "gop"
	# options in the bootloader.
	#
	# Other drivers (except DRM/KMS ones) generally need securelevel=0
	# since they access hardware directly from user space.
	Driver	"wsfb"

	# Systems with Kernel Mode Setting drivers (DRM/KMS) should
	# use the "modesetting" driver instead of "wsfb".
	#Driver	"modesetting"

	# Older Intel GPUs may need these options. See intel(4).
	# Newer Intel GPUs should use modesetting.
	#Driver	"intel"
	#Option	"AccelMethod"	"UXA"
	#Option	"TearFree"	"on"

	# For a full list of 2D accelerated drivers, see
	# /usr/X11R7/lib/modules/drivers
EndSection

Section "ServerFlags"
	# Uncommenting this allows restricting command-line access when
	# Ctrl+Alt+FX is pressed on the keyboard. This is useful for
	# protecting systems from untrusted users and their cats.
	#Option	"DontVTSwitch"	"on"
EndSection
@


1.2.4.1
log
@file xorg.conf was added on branch netbsd-10 on 2025-11-24 16:48:29 +0000
@
text
@d1 41
@


1.2.4.2
log
@Pull up following revision(s) (requested by nia in ticket #1196):

	external/mit/xorg/share/examples/xorg.conf: revision 1.1
	external/mit/xorg/share/examples/xorg.conf: revision 1.2
	distrib/sets/lists/xbase/mi: revision 1.178
	etc/mtree/NetBSD.dist.Xorg: revision 1.32
	external/mit/xorg/share/Makefile: revision 1.3
	external/mit/xorg/share/examples/Makefile: revision 1.1

Add a sample xorg.conf that shows how to set the video driver.

This is mainly so that I don't have to look up how to configure
xorg to use wsfb every time I try out a new machine.


small corrections
@
text
@a0 41
# $NetBSD: xorg.conf,v 1.1 2025/11/17 00:14:24 nia Exp $
#
# This is a sample /etc/xorg.conf for use with NetBSD systems.
#
# Generally, it is not recommended to automatically generate an
# xorg.conf with "X -configure" any more. Many systems will work
# without an xorg.conf, but it may be necessary to specify a video
# driver or special server options.

Section "Device"
	Identifier	"Card0"

	# Most NetBSD systems can use the framebuffer driver.
	#
	# On x86 it may need to be configured with either "vesa" or "gop"
	# options in the bootloader.
	#
	# Other drivers (except DRM/KMS ones) generally need securelevel=0
	# since they access hardware directly from user space.
	Driver	"wsfb"

	# Systems with Kernel Mode Setting drivers (DRM/KMS) should
	# use the "modesetting" driver instead of "wsfb".
	#Driver	"modesetting"

	# Older Intel GPUs may need these options. See intel(4).
	# Newer Intel GPUs should use modesetting.
	#Driver	"intel"
	#Option	"AccelMethod"	"UXA"
	#Option	"TearFree"	"on"

	# For a full list of 2D accelerated drivers, see
	# /usr/X11R7/lib/modules/drivers
EndSection

Section "ServerFlags"
	# Uncommenting this allows restricting command-line access when
	# Ctrl+Alt+FX is pressed on the keyboard. This is useful for
	# protecting systems from untrusted users and their cats.
	#Option	"DontVTSwitch"	"on"
EndSection
@


1.2.2.1
log
@file xorg.conf was added on branch netbsd-11 on 2025-11-24 16:43:54 +0000
@
text
@d1 41
@


1.2.2.2
log
@Pull up following revision(s) (requested by nia in ticket #100):

	external/mit/xorg/share/examples/xorg.conf: revision 1.1
	external/mit/xorg/share/examples/xorg.conf: revision 1.2
	distrib/sets/lists/xbase/mi: revision 1.178
	etc/mtree/NetBSD.dist.Xorg: revision 1.32
	external/mit/xorg/share/Makefile: revision 1.3
	external/mit/xorg/share/examples/Makefile: revision 1.1

Add a sample xorg.conf that shows how to set the video driver.

This is mainly so that I don't have to look up how to configure
xorg to use wsfb every time I try out a new machine.


small corrections
@
text
@a0 41
# $NetBSD: xorg.conf,v 1.1 2025/11/17 00:14:24 nia Exp $
#
# This is a sample /etc/xorg.conf for use with NetBSD systems.
#
# Generally, it is not recommended to automatically generate an
# xorg.conf with "X -configure" any more. Many systems will work
# without an xorg.conf, but it may be necessary to specify a video
# driver or special server options.

Section "Device"
	Identifier	"Card0"

	# Most NetBSD systems can use the framebuffer driver.
	#
	# On x86 it may need to be configured with either "vesa" or "gop"
	# options in the bootloader.
	#
	# Other drivers (except DRM/KMS ones) generally need securelevel=0
	# since they access hardware directly from user space.
	Driver	"wsfb"

	# Systems with Kernel Mode Setting drivers (DRM/KMS) should
	# use the "modesetting" driver instead of "wsfb".
	#Driver	"modesetting"

	# Older Intel GPUs may need these options. See intel(4).
	# Newer Intel GPUs should use modesetting.
	#Driver	"intel"
	#Option	"AccelMethod"	"UXA"
	#Option	"TearFree"	"on"

	# For a full list of 2D accelerated drivers, see
	# /usr/X11R7/lib/modules/drivers
EndSection

Section "ServerFlags"
	# Uncommenting this allows restricting command-line access when
	# Ctrl+Alt+FX is pressed on the keyboard. This is useful for
	# protecting systems from untrusted users and their cats.
	#Option	"DontVTSwitch"	"on"
EndSection
@


1.1
log
@Add a sample xorg.conf that shows how to set the video driver.

This is mainly so that I don't have to look up how to configure
xorg to use wsfb every time I try out a new machine.
@
text
@d1 3
a3 2
# $NetBSD$
# This is an sample /etc/xorg.conf for use with NetBSD systems.
d22 1
a22 1
	# Systems with Kernel Mode Setting 3D drivers (DRM/KMS) should
@

