From 9e06ba69cc424c2a025cd882c3f72dd44c3f386e Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Tue, 10 Jun 2008 10:39:03 +0000 Subject: [PATCH] re-enabled force-WS option, but changed default to being true. Also modified default setting for program panel to being false since this may provide a higher chance for a working panel outthere. If people experience trouble please let me know. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25900 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../kernel/drivers/graphics/nvidia/README.html | 12 +++++++----- src/add-ons/kernel/drivers/graphics/nvidia/driver.c | 4 ++-- .../kernel/drivers/graphics/nvidia/nvidia.settings | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/add-ons/kernel/drivers/graphics/nvidia/README.html b/src/add-ons/kernel/drivers/graphics/nvidia/README.html index 2b86531c7f..d8e0192972 100644 --- a/src/add-ons/kernel/drivers/graphics/nvidia/README.html +++ b/src/add-ons/kernel/drivers/graphics/nvidia/README.html @@ -201,9 +201,9 @@ If you have an older card that officially doesn't support the AGP FW feature, yo
  • pgm_panel:
    This option only has an effect if you have a laptop panel or DVI panel connected. It's existing because it's currently impossible to setup the driver in a way every single panel outthere is happy about it.
  • vga_on_tv:
    @@ -227,9 +227,11 @@ If you select force_sync false the driver's 3D accelerant will
  • force_ws:
    This option (if enabled) overrules the aspect ratio detection for screens inside the driver. When set to true it forces all monitors to be treated as widescreen types.
  • primary: (set to disabled by default)
    Primary lets you force a certain card to be used as primary card in your system if you have multiple graphics cards installed: so it will display your desktop. To enable this (hack) feature uncomment this item and fill in the exact name of the card that is to be primary (as exported by the kerneldriver in /dev/graphics/). If you are going to select a card other than the one displaying your system's POST messages at bootup, make sure you also set 'usebios false' as otherwise the card(s) aren't coldstarted by the driver.
    @@ -243,6 +245,6 @@ Primary lets you force a certain card to be used as primary card in your system

    Rudolf Cornelissen. -

    (Page last updated on April 11, 2006)

    +

    (Page last updated on June 10, 2008)

    diff --git a/src/add-ons/kernel/drivers/graphics/nvidia/driver.c b/src/add-ons/kernel/drivers/graphics/nvidia/driver.c index ef0b889501..af321df52d 100644 --- a/src/add-ons/kernel/drivers/graphics/nvidia/driver.c +++ b/src/add-ons/kernel/drivers/graphics/nvidia/driver.c @@ -388,11 +388,11 @@ static nv_settings sSettings = { // see comments in nvidia.settings false, // switchhead false, // force_pci false, // unhide_fw - true, // pgm_panel + false, // pgm_panel true, // dma_acc false, // vga_on_tv false, // force_sync - false, // force_ws + true, // force_ws 0, // gpu_clk 0, // ram_clk }; diff --git a/src/add-ons/kernel/drivers/graphics/nvidia/nvidia.settings b/src/add-ons/kernel/drivers/graphics/nvidia/nvidia.settings index 1ef80276b5..87e48391b8 100644 --- a/src/add-ons/kernel/drivers/graphics/nvidia/nvidia.settings +++ b/src/add-ons/kernel/drivers/graphics/nvidia/nvidia.settings @@ -21,11 +21,11 @@ force_pci false # block AGP mode use if true (AGP cards only) dma_acc true # if true enable DMA cmd fetching for 2D acc (instead of using PIO) #tv_output 0 # disabled or 0 = autodetect, 1 = Y/C (and CVBS if possible), 2 = CVBS force_sync false # if true forces 3D rendering to be synchronized to the vertical retrace -force_ws false # if true forces widescreen type detection for all connected screens +force_ws true # if true forces widescreen type detection for all connected screens # WARNING: tweak alert! modify stuff below on your own risk... unhide_fw false # if true 'unhide' cards AGP fastwrite support on cards that hide it -pgm_panel true # if false don't program DVI and laptop panel pixelclocks (refreshrates) +pgm_panel false # if false don't program DVI and laptop panel pixelclocks (refreshrates) vga_on_tv false # if true enables VGA output on the head outputting to TV #gpu_clk 150 # in Mhz, (tries to) override default GPU clockspeed (be carefull!!!) #ram_clk 150 # in Mhz, (tries to) override default cardRAM clockspeed (be carefull!!!)