xref: /haiku/src/add-ons/kernel/drivers/graphics/nvidia/nvidia.settings (revision 6042b7b66583c8c087a564c80af7540cc5fe7fa0)
1a5667a5bSAxel Dörfler# Settings file for the nv driver and accelerant
2a5667a5bSAxel Dörfler#
3a5667a5bSAxel Dörfler# This file should be moved to the directory
4a5667a5bSAxel Dörfler# ~/config/settings/kernel/drivers/
5a5667a5bSAxel Dörfler#
6a5667a5bSAxel Dörfler
7*6042b7b6SRudolf Cornelissen# nvidia driver parameters:
8005b9e7aSMarcus Overhagen#accelerant "nvidia.accelerant"	# if enabled selects accelerant filename to be used
9a5667a5bSAxel Dörfler#primary	"10de_0110_010000"	# if enabled selects device to be used as primary device ('hack')
10a5667a5bSAxel Dörflerdumprom	false        			# dump bios rom to file (in home folder)
11a5667a5bSAxel Dörfler
12*6042b7b6SRudolf Cornelissen# nvidia.accelerant parameters:
13a5667a5bSAxel Dörflerusebios	true				# if true rely on bios to coldstart the card
14a5667a5bSAxel Dörfler#memory	2			# in MB, override builtin memory size detection
15a5667a5bSAxel Dörflerhardcursor	true			# if true use on-chip cursor capabilities
16a5667a5bSAxel Dörfler#logmask	0x00000000	# nothing logged, is default
17a5667a5bSAxel Dörfler#logmask	0x08000604	# log overlay use in full to file (in home folder)
18a5667a5bSAxel Dörfler#logmask	0xffffffff		# log everything to file (in home folder)
19a5667a5bSAxel Dörflerswitchhead	false		# switch head assignment (dualhead cards only)
20a5667a5bSAxel Dörflerforce_pci	false		# block AGP mode use if true (AGP cards only)
21a5667a5bSAxel Dörflerdma_acc		true			# if true enable DMA cmd fetching for 2D acc (instead of using PIO)
22a5667a5bSAxel Dörfler#tv_output	0			# disabled or 0 = autodetect, 1 = Y/C (and CVBS if possible), 2 = CVBS
23a5667a5bSAxel Dörflerforce_sync	false		# if true forces 3D rendering to be synchronized to the vertical retrace
249e06ba69SRudolf Cornelissenforce_ws		true			# if true forces widescreen type detection for all connected screens
25*6042b7b6SRudolf Cornelissenblock_acc	false		# if true disables the acceleration engine
26a5667a5bSAxel Dörfler
27a5667a5bSAxel Dörfler# WARNING: tweak alert! modify stuff below on your own risk...
28a5667a5bSAxel Dörflerunhide_fw	false		# if true 'unhide' cards AGP fastwrite support on cards that hide it
299e06ba69SRudolf Cornelissenpgm_panel	false		# if false don't program DVI and laptop panel pixelclocks (refreshrates)
30a5667a5bSAxel Dörflervga_on_tv	false		# if true enables VGA output on the head outputting to TV
31a5667a5bSAxel Dörfler#gpu_clk	150			# in Mhz, (tries to) override default GPU clockspeed (be carefull!!!)
32a5667a5bSAxel Dörfler#ram_clk	150			# in Mhz, (tries to) override default cardRAM clockspeed (be carefull!!!)
33a5667a5bSAxel Dörfler
34a5667a5bSAxel Dörfler#--------- that's all.
35a5667a5bSAxel Dörfler
36a5667a5bSAxel Dörfler
37a5667a5bSAxel Dörfler#logmask setup info:
38a5667a5bSAxel Dörfler#log level select:
39a5667a5bSAxel Dörfler#logmask   0x0000000x	# lowest digit: bitmask to select logging level.
40a5667a5bSAxel Dörfler
41a5667a5bSAxel Dörfler#log modules select:
42a5667a5bSAxel Dörfler#logmask   0xxxxxxxx0	# highest 7 digits: bitmask to select individual modules to log.
43a5667a5bSAxel Dörfler
44a5667a5bSAxel Dörfler#log levels: (3D add-on adheres to this setup, 2D add-on still has to tuned)
45a5667a5bSAxel Dörfler#logmask 0x00000001 # log rendering
46a5667a5bSAxel Dörfler#logmask 0x00000002 # log state
47a5667a5bSAxel Dörfler#logmask 0x00000004 # log experimental
48a5667a5bSAxel Dörfler#logmask 0x00000008 # log errors
49a5667a5bSAxel Dörfler
50a5667a5bSAxel Dörfler#log modules:
51a5667a5bSAxel Dörfler#logmask   0x00000100	# engine: agp
52a5667a5bSAxel Dörfler#logmask   0x00000200	# engine: bes
53a5667a5bSAxel Dörfler#logmask   0x00000400	# overlay
54a5667a5bSAxel Dörfler#logmask   0x00000800	# engine: support
55a5667a5bSAxel Dörfler#logmask   0x00001000	# engine: dac2
56a5667a5bSAxel Dörfler#logmask   0x00002000	# engine: info
57a5667a5bSAxel Dörfler#logmask   0x00004000	# engine: i2c
58a5667a5bSAxel Dörfler#logmask   0x00008000	# engine: general
59a5667a5bSAxel Dörfler#logmask   0x00010000	# engine: dac1
60a5667a5bSAxel Dörfler#logmask   0x00020000	# engine: crtc2
61a5667a5bSAxel Dörfler#logmask   0x00040000	# engine: crtc1
62a5667a5bSAxel Dörfler#logmask   0x00080000	# engine: acc (both PIO and DMA)
63a5667a5bSAxel Dörfler#logmask   0x00100000	# engine: brooktree tv
64a5667a5bSAxel Dörfler#logmask   0x00200000	# set displaymode
65a5667a5bSAxel Dörfler#logmask   0x00400000	# propose displaymode
66a5667a5bSAxel Dörfler#logmask   0x00800000	# init accelerant
67a5667a5bSAxel Dörfler#logmask   0x01000000	# get timing constraints
68a5667a5bSAxel Dörfler#logmask   0x02000000	# get mode info
69a5667a5bSAxel Dörfler#logmask   0x04000000	# get device info
70a5667a5bSAxel Dörfler#logmask   0x08000000	# get accelerant hook
71a5667a5bSAxel Dörfler#logmask   0x10000000	# engine management
72a5667a5bSAxel Dörfler#logmask   0x20000000	# cursor
73a5667a5bSAxel Dörfler#logmask   0x40000000	# 2D acceleration
74a5667a5bSAxel Dörfler#logmask   0x80000000	# 3D acceleration
75