Author Topic: /dev/null  (Read 642 times)

akirafactor

  • Guest
/dev/null
« on: November 21, 2010, 07:58:04 PM »
/dev/null
« Last Edit: December 18, 2010, 10:56:56 PM by akirafactor »

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3799
Re: Video tearing fix for Intel 965 GPU.
« Reply #1 on: November 21, 2010, 09:22:34 PM »
I have an Intel GM965. I had the same options except I have UXA instead of EXA. I had also forgotten to add INTEL_BATCH=1 into /etc/environment after my last install. I am not sure what video 'tearing' looks like. I am sure I've seen it, but blamed in on bad quality video. What exactly does it look like and how can I confirm if this makes a difference for me?

Galen
« Last Edit: November 22, 2010, 06:41:05 AM by old-polack »

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3799
Re: Video tearing fix for Intel 965 GPU.
« Reply #2 on: November 22, 2010, 12:19:04 AM »
I hadn't notice, but admittedly I don't watch action videos. Mostly news, documentaries, music. I did notice an increase in glxgears, though.

Galen
« Last Edit: November 22, 2010, 06:41:49 AM by old-polack »

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Video tearing fix for Intel 965 GPU.
« Reply #3 on: November 22, 2010, 06:52:05 AM »
Hi.

I am tempted by this altho I dont have a video problems with my card when watching nonhd videos. I know that the card can do better tho so I will give Your solution a shot with this card:

Quote
[andrzejl@wishmacer ~]$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)

This performance is with the KDE4 desktop and the effects switched on. Basic ones. Nothing like wobbly windows, fire, 3D cubes and stuff.
 
Quote
[andrzejl@wishmacer ~]$ glxgears
1918 frames in 5.0 seconds = 383.498 FPS
2099 frames in 5.0 seconds = 419.674 FPS
2107 frames in 5.0 seconds = 421.357 FPS
2111 frames in 5.0 seconds = 421.920 FPS
2083 frames in 5.0 seconds = 416.454 FPS
2040 frames in 5.0 seconds = 407.565 FPS

Quote
[andrzejl@wishmacer ~]$ cat /etc/X11/xorg.conf
# File generated by XFdrake (rev )

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1280x800"
    HorizSync 28.8-90
    VertRefresh 60
    
    # Monitor preferred modeline (60.0 Hz vsync, 48.9 kHz hsync, ratio 16/10, 108 dpi)
    ModeLine "1280x800" 68.9 1280 1301 1333 1408 800 804 808 816 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_120"  181.21  1280 1376 1520 1760  800 801 804 858  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_100"  147.89  1280 1376 1512 1744  800 801 804 848  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_85"  123.38  1280 1368 1504 1728  800 801 804 840  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_75"  107.21  1280 1360 1496 1712  800 801 804 835  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_60"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_50"  68.56  1280 1336 1472 1664  800 801 804 824  -HSync +Vsync
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810 and later"
    Driver "intel"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1280x800"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection
[andrzejl@wishmacer ~]$

After:

Quote
[root@wishmacer andrzejl]# cat /etc/X11/xorg.conf
# File generated by XFdrake (rev )

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1280x800"
    HorizSync 28.8-90
    VertRefresh 60
    
    # Monitor preferred modeline (60.0 Hz vsync, 48.9 kHz hsync, ratio 16/10, 108 dpi)
    ModeLine "1280x800" 68.9 1280 1301 1333 1408 800 804 808 816 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_120"  181.21  1280 1376 1520 1760  800 801 804 858  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_100"  147.89  1280 1376 1512 1744  800 801 804 848  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_85"  123.38  1280 1368 1504 1728  800 801 804 840  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_75"  107.21  1280 1360 1496 1712  800 801 804 835  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_60"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_50"  68.56  1280 1336 1472 1664  800 801 804 824  -HSync +Vsync
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810 and later"
    Driver "intel"
    Option "DPMS"
    Option "AccelMethod" "EXA"
    Option "MigrationHeuristic" "greedy"
    Option "ExaNoComposite" "false"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1280x800"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection

Quote
[root@wishmacer andrzejl]# cat /etc/environment
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
INTEL_BATCH=1

Result:

Quote
[andrzejl@wishmacer ~]$ glxgears
1819 frames in 5.0 seconds = 363.765 FPS
2111 frames in 5.0 seconds = 422.101 FPS
2098 frames in 5.0 seconds = 419.580 FPS
2106 frames in 5.0 seconds = 421.180 FPS
2113 frames in 5.0 seconds = 422.467 FPS
2126 frames in 5.0 seconds = 425.020 FPS
2137 frames in 5.0 seconds = 427.381 FPS
2120 frames in 5.0 seconds = 423.881 FPS
2077 frames in 5.0 seconds = 415.308 FPS

No improvement at all. Maybe due to the simple fact that my card refuses to use any of the options... Stubborn ba...fic card...

Quote
[root@wishmacer andrzejl]# cat /var/log/Xorg.* | grep sed
(WW) intel(0): Option "AccelMethod" is not used
(WW) intel(0): Option "MigrationHeuristic" is not used
(WW) intel(0): Option "ExaNoComposite" is not used
[root@wishmacer andrzejl]#

All I can do is wait for newer xorg and intel modules to be added to PCLinuxOS altho I can live with the results I have now.
« Last Edit: November 22, 2010, 07:48:52 AM by AndrzejL »

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3799
Re: Video tearing fix for Intel 965 GPU.
« Reply #4 on: November 22, 2010, 09:21:02 AM »
Ha! I typed in your command and got the same result! I think the command that made a difference in glxgears was adding INTEL_BATCH=1 to /etc/environment. I've done this before, but forgot on the last install.

Galen