Difference between revisions of "I915"

From QWiki
*>Raket
*>Raket
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Check http://wiki.quakeworld.nu/CRT-Nvidia for a Nvidia CRT-xorg.config for nvidia cards, it gives 640x480@160hz and a standardmode of 1280x1024
 +
 
i915 is a kernel module:
 
i915 is a kernel module:
  
 
a xorg.conf could look something like this:
 
a xorg.conf could look something like this:
 
 
<code>
 
<code>
 
         Section "Device"
 
         Section "Device"
Line 8: Line 9:
 
         Option    "ColorKey"                  # <i>     
 
         Option    "ColorKey"                  # <i>     
 
         Option    "VideoKey"                  # <i>
 
         Option    "VideoKey"                  # <i>
 +
        Option    "AccelMethod"        "SNA"
 
         Option    "FallbackDebug"      "false"      # [<bool>]
 
         Option    "FallbackDebug"      "false"      # [<bool>]
 
         Option    "Tiling"            "true"        # [<bool>]
 
         Option    "Tiling"            "true"        # [<bool>]
Line 26: Line 28:
 
         Driver      "intel"   
 
         Driver      "intel"   
 
         BusID      "PCI:0:2:0"
 
         BusID      "PCI:0:2:0"
EndSection
+
        EndSection
 +
 
 +
    Section "Monitor"
 +
    Identifier    "Monitor0"
 +
    VendorName    "Unknown"
 +
    ModelName      "Unknown"
 +
    HorizSync      28.0 - 110
 +
    VertRefresh    43.0 - 160
 +
    Option        "DPMS"
 +
    Modeline "640x480_160.00"  72.85  640 680 752 864  480 481 484 527  -HSync +Vsync
 +
    EndSection
 +
 
 +
also ~/.drirc must be this:
 +
    <driconf>
 +
        <device screen="0" driver="dri2">
 +
        <application name="Default">
 +
        <option name="vblank_mode" value="0" />
 +
        </application>
 +
      </device>
 +
    </driconf>
 +
 
 +
or this:
 +
    <driconf>
 +
    <device screen="0" driver="dri2">
 +
        <application name="Default">
 +
            <option name="vblank_mode" value="0" />
 +
        </application>
 +
    </device>
 +
    <device screen="0" driver="i915">
 +
        <application name="Default">
 +
            <option name="force_s3tc_enable" value="true" />
 +
            <option name="no_rast" value="false" />
 +
            <option name="always_flush_cache" value="false" />
 +
            <option name="stub_occlusion_query" value="false" />
 +
            <option name="shader_precompile" value="false" />
 +
            <option name="hiz" value="false" />
 +
            <option name="always_flush_batch" value="false" />
 +
            <option name="bo_reuse" value="0" />
 +
            <option name="early_z" value="true" />
 +
            <option name="force_glsl_extensions_warn" value="false" />
 +
            <option name="disable_glsl_line_continuations" value="false" />
 +
            <option name="texture_tiling" value="false" />
 +
            <option name="disable_blend_func_extended" value="false" />
 +
            <option name="vblank_mode" value="0" />
 +
            <option name="allow_large_textures" value="0" />
 +
            <option name="fragment_shader" value="false" />
 +
        </application>
 +
    </device>
 +
    </driconf>
 +
 
 +
modelines can look something like this:
 +
    xrandr --newmode "640x480_160.00"  72.85  640 680 752 864  480 481 484 527  -HSync +Vsync
 +
    xrandr --addmode VGA1 "640x480_160.00"
 +
    xrandr -s 640x480
 +
    xrandr --rate 160
 +
 
 +
note: on newer xorg servers with SNA enabled this must be entered in the new xorgserver:
 +
if CRT is connected and a LAPTOP monitor (LVDS1) is present
 +
 
 +
    xrandr --output LVDS1 --off
 +
 
 +
    a 1920x1080@144hz modeline
 +
    ModeLine      "1920x1080" 325.08 1920 1944 1976 2056 1080 1083 1088 1098 +hsync +vsync
 +
 
  
</code>
+
If you are nuts and want to run a 1920x1080 144hz lcd monitor with the vgaport / vgacable, it works, I WILL NOT pay for a new monitor if it breaks.
More info can be found in intel(9)
+
      xrandr --output LVDS1 --off
 +
      xrandr --newmode "1920x1080@144" 325.08 1920 1944 1976 2056 1080 1083 1088 1098 +hsync +vsync
 +
      xrandr --addmode VGA1 "1920x1080@144"
 +
      xrandr -s 1920x1080@144
 +
      xrandr (snip)
 +
      VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
 +
      1920x1080      60.0*+
 +
      xrandr --rate 144
 +
      xrandr
 +
      VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
 +
      1920x1080@144  144.0*
 +
(And yes, the monitor really reports 144hz in osd)

Latest revision as of 08:50, 20 June 2016

Check http://wiki.quakeworld.nu/CRT-Nvidia for a Nvidia CRT-xorg.config for nvidia cards, it gives 640x480@160hz and a standardmode of 1280x1024

i915 is a kernel module:

a xorg.conf could look something like this:

       Section "Device"
       Option     "DRI"                "true" # [<bool>]
       Option     "ColorKey"                  #      
       Option     "VideoKey"                  # 
       Option     "AccelMethod"         "SNA"
       Option     "FallbackDebug"       "false"      # [<bool>]
       Option     "Tiling"             "true"        # [<bool>]
       Option     "LinearFramebuffer"  "true"       # [<bool>]  
       Option     "Shadow"             "false"        # [<bool>]
       Option     "SwapbuffersWait"    "false"        # [<bool>]
       Option     "TripleBuffer"       "false"       # [<bool>] 
       Option     "XvMC"                      # [<bool>]       
       Option     "XvPreferOverlay"           # [<bool>]
       Option     "DebugFlushBatches" "false"         # [<bool>]
       Option     "DebugFlushCaches"   "false"        # [<bool>]
       Option     "DebugWait"          "false"        # [<bool>]
       Option     "HotPlug"            "true"       # [<bool>] 
       Option     "RelaxedFencing"     "false"        # [<bool>]
       Option     "BufferCache"        "true" # [<bool>]        
       Option "Throttle" "false"
       Identifier  "Card0" 
       Driver      "intel"   
       BusID       "PCI:0:2:0"
       EndSection
   Section "Monitor"
   Identifier     "Monitor0"
   VendorName     "Unknown"
   ModelName      "Unknown"
   HorizSync       28.0 - 110
   VertRefresh     43.0 - 160
   Option         "DPMS"
   Modeline "640x480_160.00"  72.85  640 680 752 864  480 481 484 527  -HSync +Vsync
   EndSection

also ~/.drirc must be this:

   <driconf>
        <device screen="0" driver="dri2">
        <application name="Default">
        <option name="vblank_mode" value="0" />
       </application>
     </device>
    </driconf>

or this:

    <driconf>
   <device screen="0" driver="dri2">
       <application name="Default">
           <option name="vblank_mode" value="0" />
       </application>
   </device>
   <device screen="0" driver="i915">
       <application name="Default">
           <option name="force_s3tc_enable" value="true" />
           <option name="no_rast" value="false" />
           <option name="always_flush_cache" value="false" />
           <option name="stub_occlusion_query" value="false" />
           <option name="shader_precompile" value="false" />
           <option name="hiz" value="false" />
           <option name="always_flush_batch" value="false" />
           <option name="bo_reuse" value="0" />
           <option name="early_z" value="true" />
           <option name="force_glsl_extensions_warn" value="false" />
           <option name="disable_glsl_line_continuations" value="false" />
           <option name="texture_tiling" value="false" />
           <option name="disable_blend_func_extended" value="false" />
           <option name="vblank_mode" value="0" />
           <option name="allow_large_textures" value="0" />
           <option name="fragment_shader" value="false" />
       </application>
   </device>
   </driconf>

modelines can look something like this:

   xrandr --newmode "640x480_160.00"  72.85  640 680 752 864  480 481 484 527  -HSync +Vsync
   xrandr --addmode VGA1 "640x480_160.00"
   xrandr -s 640x480
   xrandr --rate 160

note: on newer xorg servers with SNA enabled this must be entered in the new xorgserver: if CRT is connected and a LAPTOP monitor (LVDS1) is present

    xrandr --output LVDS1 --off
    a 1920x1080@144hz modeline
    ModeLine       "1920x1080" 325.08 1920 1944 1976 2056 1080 1083 1088 1098 +hsync +vsync


If you are nuts and want to run a 1920x1080 144hz lcd monitor with the vgaport / vgacable, it works, I WILL NOT pay for a new monitor if it breaks.

     xrandr --output LVDS1 --off
     xrandr --newmode "1920x1080@144" 325.08 1920 1944 1976 2056 1080 1083 1088 1098 +hsync +vsync
     xrandr --addmode VGA1 "1920x1080@144"
     xrandr -s 1920x1080@144
     xrandr (snip)
     VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
     1920x1080      60.0*+
     xrandr --rate 144
     xrandr
     VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
     1920x1080@144  144.0*

(And yes, the monitor really reports 144hz in osd)