Announcement

Collapse
No announcement yet.

Open-source drivers on ATI R7 260X

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Open-source drivers on ATI R7 260X

    Hey guys, this just present my experience with the ATI drivers after acquiring and mounting this new PC.
    A snapshot of my hardware, ):
    Code:
    ASUS Motherboard AM3+ M5A97 R2.0 (pretty solid and modern board)
    AMD FX-6300 3.5Ghz AM3+ six core processor
    VGA PowerColor R7 260X 2GB DDR5 128 Bits
    Kingston HyperX FURY 4GB 1600MHz DDR3( two of these)
    600W Black Master PSU
    Kingston SSD 2.5? 60 GB V300 SATA III
    Seagate HDD 1TB ( I already had this one)
    TP-Link Wireless 150Mbps PCIe TL-WN781ND (Atheros AR9485)
    Nice spacious tower with 3 fans for some cool computing
    (I'm just showing this cause I think this is the place where I can get some appreciation from these nice specs)

    Anyway on to my adventure with respective drivers:
    First time booting in my favourite Debian Jessie everything seemed ok, working with the auto detected configuration from Xorg.
    I wanted to test out games and max out graphics to see it out (this actually the first time I have something close to a high computer), So i rushed ahead and installed fglrx with help of the sgfxi script.
    Everything was perfect, getting high fps even with ultra graphics on xonotic, steam games were snappier than ever, crispy and beautiful. This is how gaming is meant to be!
    So after a couple of days and some update that seemed unrelated , X would fail to start throwing me back to console login. Struggled with this for a couple of days until managed to revert back to radeon and get X back.
    But the open-source driver wasn't quite working as well, something was off, no gaming for me at this point. Tried to get fglrx in several ways, including of a few, installing beta from amd, building system package, back-porting packages from experimental, downgrading xserver to stable's version. Nothing worked and all I could get was a black screen at boot.

    Turns out I was lucky out to get my system around the time Testing was transitioning into a new xserver version (like last week), which causes horrible incompatibility with proprietary drivers, the fglrx packages were indeed removed from the repos.
    But lucky me, this update also brought top notch xserver and drivers and stuff, enabling radeonsi, glamorgl, and even dpm for my specific card (which was reported not working). Plus I got back some functionalities, like dpms properly working for my monitor, and proper HDMI audio.

    Xonotic would work ok, didn't get more than 60 fps, but I've guess is built-in vsync. Steam would not work due a very known issue with the open-source drivers, best solution is given by the kind folks at the arch wiki.
    This is relevant if steam complains about "opengl glx context is not using direct rendering", and steam games will fail to launch. This is due to some old libraries in the steam runtime, incompatible with more recent systems, and can be fixed by:
    Code:
    rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
    rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1
    rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgcc_s.so.1
    rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6
    Now, for some reason the first time I did this, Steam would work ok but many games would not work correctly or not launch at all, but a day later I've tried and everything worked almost perfectly.
    Almost, because there yet may be some specific game issues, for example, Portal 2 which has its own libgcc library version in its folder (just rm or mv it), Civ5 also has some annoying graphical glitches.
    Again the kind folk at the arch wiki, managed to fix these and properly document for easy of use for others, plus they're really up-to-date and also prefer radeon open-source drivers.

    Now I'm happy to say my linux system (only system) is looking best as ever. If it were a lady I do bone it many times, in fact my girlfriend often mentions it as my mistress.
    To top it off, I've found how to properly use cpu drivers to manage cpu frequency (due to overclock made by the bios), and now the cpu is at a cool ~30?C or below for most of the time. GPU is at a constant 37?C.

    So how do you say, I've already seen some people around here have the same hardware, what specific configuration did you choose? Do you recommend any xorg.conf specific settings for optimal performance?

  • #2
    Vertical Tearing

    Hey guys, Just continuing my thread above, where I try to configure Xorg for optimal performance.
    I'm experiencing some very annoying vertical tearing, normally doesn't happen on games and 3d effects, at least I don't notice on Xonotic with high fps ~180, Kwin effects seem very crispy too.
    However scrolling browser(iceweasel) and on videos it becomes very apparent, specially on anime with any movement.
    At first I thought this must be enabled by default, as documentation suggest it. Xonotic was only running at 60 fps but turns I was using glx instead of better sdl (don't know exactly the difference), with sdl I now get ~190fps and thus my theory of vertical sync is disabled after-all.
    As you can see I'm very noobish in these matters, thanks for the support.

    The following is a copy of Xorg.0.log, with no pre-defined xorg.conf
    Code:
    X.Org X Server 1.16.0
    Release Date: 2014-07-16
    [     3.965] X Protocol Version 11, Revision 0
    [     3.965] Build Operating System: Linux 3.14-1-amd64 x86_64 Debian
    [     3.965] Current Operating System: Linux guiu-desktop 3.14-1-rt-amd64 #1 SMP PREEMPT RT Debian 3.14.12-1 (2014-07-11) x86_64
    [     3.965] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.14-1-rt-amd64 root=UUID=19b5bb64-919d-4e97-b736-d4cd40429dfa ro quiet
    [     3.965] Build Date: 17 July 2014  10:22:36PM
    [     3.965] xorg-server 2:1.16.0-1 (http://www.debian.org/support) 
    [     3.965] Current version of pixman: 0.32.6
    [     3.965] 	Before reporting problems, check http://wiki.x.org
    	to make sure that you have the latest version.
    [     3.965] Markers: (--) probed, (**) from config file, (==) default setting,
    	(++) from command line, (!!) notice, (II) informational,
    	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [     3.965] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 25 11:09:04 2014
    [     3.969] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [     3.971] (==) No Layout section.  Using the first Screen section.
    [     3.971] (==) No screen section available. Using defaults.
    [     3.971] (**) |-->Screen "Default Screen Section" (0)
    [     3.971] (**) |   |-->Monitor "<default monitor>"
    [     3.971] (==) No monitor specified for screen "Default Screen Section".
    	Using a default monitor configuration.
    [     3.971] (==) Automatically adding devices
    [     3.971] (==) Automatically enabling devices
    [     3.971] (==) Automatically adding GPU devices
    [     3.973] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    [     3.973] 	Entry deleted from font path.
    [     3.976] (==) FontPath set to:
    	/usr/share/fonts/X11/misc,
    	/usr/share/fonts/X11/100dpi/:unscaled,
    	/usr/share/fonts/X11/75dpi/:unscaled,
    	/usr/share/fonts/X11/Type1,
    	/usr/share/fonts/X11/100dpi,
    	/usr/share/fonts/X11/75dpi,
    	built-ins
    [     3.976] (==) ModulePath set to "/usr/lib/xorg/modules"
    [     3.976] (II) The server relies on udev to provide the list of input devices.
    	If no devices become available, reconfigure udev or disable AutoAddDevices.
    [     3.976] (II) Loader magic: 0x7fe9ee5c2d80
    [     3.976] (II) Module ABI versions:
    [     3.976] 	X.Org ANSI C Emulation: 0.4
    [     3.976] 	X.Org Video Driver: 18.0
    [     3.976] 	X.Org XInput driver : 21.0
    [     3.976] 	X.Org Server Extension : 8.0
    [     3.976] (II) xfree86: Adding drm device (/dev/dri/card0)
    [     3.978] (--) PCI:*(0:1:0:0) 1002:6658:1787:2339 rev 0, Mem @ 0xc0000000/268435456, 0xd0000000/8388608, 0xfea00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
    [     3.978] (II) LoadModule: "glx"
    [     3.982] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [     3.985] (II) Module glx: vendor="X.Org Foundation"
    [     3.985] 	compiled for 1.16.0, module version = 1.0.0
    [     3.985] 	ABI class: X.Org Server Extension, version 8.0
    [     3.985] (==) AIGLX enabled
    [     3.985] (==) Matched ati as autoconfigured driver 0
    [     3.985] (==) Matched ati as autoconfigured driver 1
    [     3.985] (==) Matched modesetting as autoconfigured driver 2
    [     3.985] (==) Matched fbdev as autoconfigured driver 3
    [     3.985] (==) Matched vesa as autoconfigured driver 4
    [     3.985] (==) Assigned the driver to the xf86ConfigLayout
    [     3.985] (II) LoadModule: "ati"
    [     3.985] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
    [     3.986] (II) Module ati: vendor="X.Org Foundation"
    [     3.986] 	compiled for 1.15.99.904, module version = 7.4.0
    [     3.986] 	Module class: X.Org Video Driver
    [     3.986] 	ABI class: X.Org Video Driver, version 18.0
    [     3.986] (II) LoadModule: "radeon"
    [     3.986] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
    [     3.990] (II) Module radeon: vendor="X.Org Foundation"
    [     3.990] 	compiled for 1.15.99.904, module version = 7.4.0
    [     3.990] 	Module class: X.Org Video Driver
    [     3.990] 	ABI class: X.Org Video Driver, version 18.0
    [     3.990] (II) LoadModule: "modesetting"
    [     3.990] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
    [     3.991] (II) Module modesetting: vendor="X.Org Foundation"
    [     3.991] 	compiled for 1.15.99.904, module version = 0.9.0
    [     3.991] 	Module class: X.Org Video Driver
    [     3.991] 	ABI class: X.Org Video Driver, version 18.0
    [     3.991] (II) LoadModule: "fbdev"
    [     3.992] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
    [     3.993] (II) Module fbdev: vendor="X.Org Foundation"
    [     3.993] 	compiled for 1.15.99.904, module version = 0.4.4
    [     3.993] 	Module class: X.Org Video Driver
    [     3.993] 	ABI class: X.Org Video Driver, version 18.0
    [     3.993] (II) LoadModule: "vesa"
    [     3.993] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
    [     3.994] (II) Module vesa: vendor="X.Org Foundation"
    [     3.994] 	compiled for 1.15.99.904, module version = 2.3.3
    [     3.994] 	Module class: X.Org Video Driver
    [     3.994] 	ABI class: X.Org Video Driver, version 18.0
    [     3.994] (II) RADEON: Driver for ATI Radeon chipsets:
    	ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
    	...........
    	HAWAII, HAWAII, HAWAII, HAWAII, HAWAII
    [     4.001] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    [     4.001] (II) FBDEV: driver for framebuffer: fbdev
    [     4.001] (II) VESA: driver for VESA chipsets: vesa
    [     4.001] (++) using VT number 7
    [     4.006] (II) [KMS] Kernel modesetting enabled.
    [     4.006] (WW) Falling back to old probe method for modesetting
    [     4.006] (WW) Falling back to old probe method for fbdev
    [     4.006] (II) Loading sub module "fbdevhw"
    [     4.006] (II) LoadModule: "fbdevhw"
    [     4.007] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    [     4.007] (II) Module fbdevhw: vendor="X.Org Foundation"
    [     4.007] 	compiled for 1.16.0, module version = 0.0.2
    [     4.007] 	ABI class: X.Org Video Driver, version 18.0
    [     4.007] (WW) Falling back to old probe method for vesa
    [     4.007] (II) RADEON(0): Creating default Display subsection in Screen section
    	"Default Screen Section" for depth/fbbpp 24/32
    [     4.007] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
    [     4.007] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
    [     4.007] (==) RADEON(0): Default visual is TrueColor
    [     4.007] (==) RADEON(0): RGB weight 888
    [     4.007] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
    [     4.007] (--) RADEON(0): Chipset: "BONAIRE" (ChipID = 0x6658)
    [     4.007] (II) Loading sub module "dri2"
    [     4.007] (II) LoadModule: "dri2"
    [     4.007] (II) Module "dri2" already built-in
    [     4.007] (II) Loading sub module "glamoregl"
    [     4.007] (II) LoadModule: "glamoregl"
    [     4.007] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
    [     4.016] (II) Module glamoregl: vendor="X.Org Foundation"
    [     4.016] 	compiled for 1.16.0, module version = 1.0.0
    [     4.016] 	ABI class: X.Org ANSI C Emulation, version 0.4
    [     4.016] (II) glamor: OpenGL accelerated X.org driver based.
    [     4.168] (II) glamor: EGL version 1.4 (DRI2):
    [     4.188] (II) RADEON(0): glamor detected, initialising EGL layer.
    [     4.188] (II) RADEON(0): KMS Color Tiling: enabled
    [     4.188] (II) RADEON(0): KMS Color Tiling 2D: enabled
    [     4.188] (II) RADEON(0): KMS Pageflipping: enabled
    [     4.188] (II) RADEON(0): SwapBuffers wait for vsync: enabled
    [     4.204] (II) RADEON(0): Output DisplayPort-0 has no monitor section
    [     4.267] (II) RADEON(0): Output HDMI-0 has no monitor section
    [     4.269] (II) RADEON(0): Output DVI-0 has no monitor section
    [     4.292] (II) RADEON(0): Output DVI-1 has no monitor section
    [     4.308] (II) RADEON(0): EDID for output DisplayPort-0
    [     4.371] (II) RADEON(0): EDID for output HDMI-0
    [     4.371] (II) RADEON(0): Manufacturer: AOC  Model: 2369  Serial#: 432
    [     4.371] (II) RADEON(0): Year: 2014  Week: 11
    [     4.371] (II) RADEON(0): EDID Version: 1.3
    [     4.371] (II) RADEON(0): Digital Display Input
    [     4.371] (II) RADEON(0): Max Image Size [cm]: horiz.: 51  vert.: 29
    [     4.371] (II) RADEON(0): Gamma: 2.20
    [     4.371] (II) RADEON(0): DPMS capabilities: Off
    [     4.371] (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
    [     4.371] (II) RADEON(0): First detailed timing is preferred mode
    [     4.371] (II) RADEON(0): redX: 0.651 redY: 0.338   greenX: 0.321 greenY: 0.614
    [     4.371] (II) RADEON(0): blueX: 0.154 blueY: 0.063   whiteX: 0.313 whiteY: 0.329
    [     4.371] (II) RADEON(0): Supported established timings:
    [     4.371] (II) RADEON(0): 720x400@70Hz
    [     4.371] (II) RADEON(0): 640x480@60Hz
    [     4.372] (II) RADEON(0): 640x480@67Hz
    [     4.372] (II) RADEON(0): 640x480@72Hz
    [     4.372] (II) RADEON(0): 640x480@75Hz
    [     4.372] (II) RADEON(0): 800x600@56Hz
    [     4.372] (II) RADEON(0): 800x600@60Hz
    [     4.372] (II) RADEON(0): 800x600@72Hz
    [     4.372] (II) RADEON(0): 800x600@75Hz
    [     4.372] (II) RADEON(0): 832x624@75Hz
    [     4.372] (II) RADEON(0): 1024x768@60Hz
    [     4.372] (II) RADEON(0): 1024x768@70Hz
    [     4.372] (II) RADEON(0): 1024x768@75Hz
    [     4.372] (II) RADEON(0): 1280x1024@75Hz
    [     4.372] (II) RADEON(0): Manufacturer's mask: 0
    [     4.372] (II) RADEON(0): Supported standard timings:
    [     4.372] (II) RADEON(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
    [     4.372] (II) RADEON(0): #1: hsize: 1680  vsize 1050  refresh: 60  vid: 179
    [     4.372] (II) RADEON(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
    [     4.372] (II) RADEON(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
    [     4.372] (II) RADEON(0): #4: hsize: 1280  vsize 960  refresh: 60  vid: 16513
    [     4.372] (II) RADEON(0): #5: hsize: 1280  vsize 720  refresh: 60  vid: 49281
    [     4.372] (II) RADEON(0): Supported detailed timing:
    [     4.372] (II) RADEON(0): clock: 148.5 MHz   Image Size:  509 x 286 mm
    [     4.372] (II) RADEON(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
    [     4.372] (II) RADEON(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
    [     4.372] (II) RADEON(0): Ranges: V min: 50 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
    [     4.372] (II) RADEON(0): Monitor name: 2369M
    [     4.372] (II) RADEON(0): Serial No: 23043IA000432
    [     4.372] (II) RADEON(0): Supported detailed timing:
    [     4.372] (II) RADEON(0): clock: 27.0 MHz   Image Size:  509 x 286 mm
    [     4.372] (II) RADEON(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
    [     4.372] (II) RADEON(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
    [     4.372] (II) RADEON(0): Supported detailed timing:
    [     4.372] (II) RADEON(0): clock: 74.2 MHz   Image Size:  509 x 286 mm
    [     4.372] (II) RADEON(0): h_active: 1280  h_sync: 1390  h_sync_end 1430 h_blank_end 1650 h_border: 0
    [     4.372] (II) RADEON(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
    [     4.372] (II) RADEON(0): Supported detailed timing:
    [     4.372] (II) RADEON(0): clock: 27.0 MHz   Image Size:  509 x 286 mm
    [     4.372] (II) RADEON(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
    [     4.372] (II) RADEON(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
    [     4.372] (II) RADEON(0): Supported detailed timing:
    [     4.372] (II) RADEON(0): clock: 27.0 MHz   Image Size:  509 x 286 mm
    [     4.372] (II) RADEON(0): h_active: 720  h_sync: 732  h_sync_end 796 h_blank_end 864 h_border: 0
    [     4.372] (II) RADEON(0): v_active: 576  v_sync: 581  v_sync_end 586 v_blanking: 625 v_border: 0
    [     4.372] (II) RADEON(0): Number of EDID sections to follow: 1
    [     4.372] (II) RADEON(0): EDID (in hex):
    [     4.372] (II) RADEON(0): 	00ffffffffffff0005e36923b0010000
    [     4.372] (II) RADEON(0): 	0b18010380331d782ae595a656529d27
    [     4.372] (II) RADEON(0): 	105054bfef00d1c0b300950081808140
    [     4.372] (II) RADEON(0): 	81c001010101023a801871382d40582c
    [     4.372] (II) RADEON(0): 	4500fd1e1100001e000000fd00324c1e
    [     4.372] (II) RADEON(0): 	5311000a202020202020000000fc0032
    [     4.372] (II) RADEON(0): 	3336394d0a20202020202020000000ff
    [     4.372] (II) RADEON(0): 	00323330343349413030303433320100
    [     4.372] (II) RADEON(0): 	02031ef14b101f051404130312021101
    [     4.372] (II) RADEON(0): 	230907078301000065030c0010008c0a
    [     4.372] (II) RADEON(0): 	d08a20e02d10103e9600fd1e11000018
    [     4.372] (II) RADEON(0): 	011d007251d01e206e285500fd1e1100
    [     4.372] (II) RADEON(0): 	001e8c0ad08a20e02d10103e9600fd1e
    [     4.372] (II) RADEON(0): 	110000188c0ad090204031200c405500
    [     4.372] (II) RADEON(0): 	fd1e1100001800000000000000000000
    [     4.372] (II) RADEON(0): 	0000000000000000000000000000007d
    [     4.372] (II) RADEON(0): Printing probed modes for output HDMI-0
    [     4.372] (II) RADEON(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
    ............................
    [     4.372] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
    [     4.375] (II) RADEON(0): EDID for output DVI-0
    [     4.400] (II) RADEON(0): EDID for output DVI-1
    [     4.400] (II) RADEON(0): Output DisplayPort-0 disconnected
    [     4.400] (II) RADEON(0): Output HDMI-0 connected
    [     4.400] (II) RADEON(0): Output DVI-0 disconnected
    [     4.400] (II) RADEON(0): Output DVI-1 disconnected
    [     4.400] (II) RADEON(0): Using exact sizes for initial modes
    [     4.400] (II) RADEON(0): Output HDMI-0 using initial mode 1920x1080
    [     4.400] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    [     4.400] (II) RADEON(0): mem size init: gart size :3fb7e000 vram size: s:80000000 visible:7f7d7000
    [     4.400] (==) RADEON(0): DPI set to (96, 96)
    [     4.400] (II) Loading sub module "fb"
    [     4.400] (II) LoadModule: "fb"
    [     4.400] (II) Loading /usr/lib/xorg/modules/libfb.so
    [     4.403] (II) Module fb: vendor="X.Org Foundation"
    [     4.403] 	compiled for 1.16.0, module version = 1.0.0
    [     4.403] 	ABI class: X.Org ANSI C Emulation, version 0.4
    [     4.403] (II) Loading sub module "ramdac"
    [     4.403] (II) LoadModule: "ramdac"
    [     4.403] (II) Module "ramdac" already built-in
    [     4.403] (II) UnloadModule: "modesetting"
    [     4.403] (II) Unloading modesetting
    [     4.403] (II) UnloadModule: "fbdev"
    [     4.403] (II) Unloading fbdev
    [     4.403] (II) UnloadSubModule: "fbdevhw"
    [     4.403] (II) Unloading fbdevhw
    [     4.404] (II) UnloadModule: "vesa"
    [     4.404] (II) Unloading vesa
    [     4.404] (--) Depth 24 pixmap format is 32 bpp
    [     4.404] (II) RADEON(0): [DRI2] Setup complete
    [     4.404] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
    [     4.404] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
    [     4.404] (II) RADEON(0): Front buffer size: 8160K
    [     4.404] (II) RADEON(0): VRAM usage limit set to 1872486K
    [     4.405] (==) RADEON(0): Backing store enabled
    [     4.405] (II) RADEON(0): Direct rendering enabled
    [     4.507] (II) RADEON(0): Use GLAMOR acceleration.
    [     4.507] (II) RADEON(0): Acceleration enabled
    [     4.507] (==) RADEON(0): DPMS enabled
    [     4.507] (==) RADEON(0): Silken mouse enabled
    [     4.512] (II) RADEON(0): Set up textured video (glamor)
    [     4.512] (II) RADEON(0): [XvMC] Associated with GLAMOR Textured Video.
    [     4.512] (II) RADEON(0): [XvMC] Extension initialized.
    [     4.512] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [     4.537] (--) RandR disabled
    [     4.551] (II) SELinux: Disabled on system
    [     4.554] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [     4.554] (II) AIGLX: enabled GLX_ARB_create_context
    [     4.554] (II) AIGLX: enabled GLX_ARB_create_context_profile
    [     4.554] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
    [     4.554] (II) AIGLX: enabled GLX_INTEL_swap_event
    [     4.554] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    [     4.554] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
    [     4.554] (II) AIGLX: enabled GLX_ARB_fbconfig_float
    [     4.554] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    [     4.556] (II) AIGLX: Loaded and initialized radeonsi
    [     4.556] (II) GLX: Initialized DRI2 GL provider for screen 0
    [     4.567] (II) RADEON(0): Setting screen physical size to 508 x 285

    Comment


    • #3
      For video playback try using VDPAU presentation+decoding (if the content can be decoded) - xbmc, mplayer (+smplayer etc), mpv supports it out of the box. Make sure you have the vdpau drivers and libvdpau installed.
      If the content cannot be decoded by vdpau, use either opengl for presentation (this works in vlc too) and you will get the same behavior as for any opengl app (vsync is enabled by default).
      Or use vdpau presentation and no hw decoding in mplayer/mpv or xbmc.

      VDPAU is the best working presentation btw, it has the least tearing (if any). Only thing you have to use a player that supports vdpau (currently mplayer, xbmc and mpv does this).

      PS What does
      Code:
      glxinfo | grep -i open
      output?

      Comment


      • #4
        And for the 60 fps thing - that is the refresh rate of the monitor. mesa has a default-on vsync so the applications that run in opengl will be run with vsync on by default if they dont specify otherwise. You can force the driver to enable/disable vsync defaults for a certain app by launching that program with
        Code:
        vblank_mode=0 programname
        for vsync off and
        Code:
        vblank_mode=1 programname
        for vsync on
        I suppose games that have the vsync on/off setting set in their options can override this.
        If you want to "see" the many fps yourr rig is capable of, disable vsync (or vblank). Anyway the result migh seem more fluid in some cases, but usually leads to tearing and in any case you wont see more frames than your monitor is capable of displaying (60 or so per second).
        vsync on limits the frame rate to your monitor's and makes sure that every single frame is fully drawn.

        Comment


        • #5
          Hey gradinaruvasile, thanks for the reply.

          Originally posted by gradinaruvasile View Post
          For video playback try using VDPAU presentation+decoding (if the content can be decoded) - xbmc, mplayer (+smplayer etc), mpv supports it out of the box. Make sure you have the vdpau drivers and libvdpau installed.
          If the content cannot be decoded by vdpau, use either opengl for presentation (this works in vlc too) and you will get the same behavior as for any opengl app (vsync is enabled by default).
          Or use vdpau presentation and no hw decoding in mplayer/mpv or xbmc.

          VDPAU is the best working presentation btw, it has the least tearing (if any). Only thing you have to use a player that supports vdpau (currently mplayer, xbmc and mpv does this).
          Just checked xbmc and hardware acceleration is enabled with both VDPAU and VAAPI enabled. VLC too was enabled with Open Glx(XCB) video output. On both I'm having noticeable tearing.
          And as I mentioned before, tearing on browser scroll, but not on Kwin effects.

          I'm aware of what vsync is, and so I thought it to be enabled when testing Xonotic. The thing is, there are two ways to run xonotic, via sdl or glx script, not sure whats the difference here but must be rendering type.
          I get the maximum 60 fps with the glx type, and avarage it goes below that, but still there is a issue where audio will disappear after a few minutes in game. And so as per recommendation on the xonotic forums, I tried the sdl type and got ~190fps, very fluid and still no apparent tearing, sound works ok. Even managed to record gamplay and still get fps above 60.

          In general that seem not to be any tearing unless on 2D rendering. I'll try out your vblank_mode=0 options, not sure where to test it though.
          ps: don't know if this is relevant but I'm on Debian testing with a realtime scheduling enabled kernel:
          Code:
          guiu@guiu-desktop:~$ uname -r
          3.14-1-rt-amd64
          Code:
          guiu@guiu-desktop:~$ glxinfo | grep -i open
          OpenGL vendor string: X.Org
          OpenGL renderer string: Gallium 0.4 on AMD BONAIRE
          OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.4
          OpenGL core profile shading language version string: 3.30
          OpenGL core profile context flags: (none)
          OpenGL core profile profile mask: core profile
          OpenGL core profile extensions:
          OpenGL version string: 3.0 Mesa 10.2.4
          OpenGL shading language version string: 1.30
          OpenGL context flags: (none)
          OpenGL extensions:
          OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.2.4
          OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
          OpenGL ES profile extensions:

          Comment


          • #6
            Try mplayer or mpv from the command line. xbmc doesnt use vdpau presentation directly, it uses it over opengl so it might behave like any other player.
            mplayer and mpv use vdpau presentation directly.
            Coomand line invocation :
            Code:
            mplayer -vo vdpau clipname
            if you want hardware decoding too, use:
            Code:
            mplayer -vo vdpau -vc=ffh264vdpau,ffodivxvdpau,ffvc1vdpau,ffwmv3vdpau,ffmpeg12vdpau clipname
            mpv is something like:
            Code:
            mpv -vo vdpau clipname
            mpv+hw decoding:
            Code:
            mpv -vo vdpau  -hwdec=auto -hwdec-codecs=h264,vc1,wmv3,mpeg2video,mpeg4 clipname

            Comment


            • #7
              For radeonSI (7xxx and up), its good to check out newest kernel and newest Mesa.

              On my r600g (5720M) I'm running git for Mesa and drm-next for kernel. But I have not see much difference in recent months.

              For radeonSI You should see improvements with each update.

              (But I never used any alternative repos on Debian, so I can not recommend anything)

              Comment


              • #8
                Originally posted by gfurst View Post
                Hey gradinaruvasile, thanks for the reply.


                Just checked xbmc and hardware acceleration is enabled with both VDPAU and VAAPI enabled. VLC too was enabled with Open Glx(XCB) video output. On both I'm having noticeable tearing.
                And as I mentioned before, tearing on browser scroll, but not on Kwin effects.

                I'm aware of what vsync is, and so I thought it to be enabled when testing Xonotic. The thing is, there are two ways to run xonotic, via sdl or glx script, not sure whats the difference here but must be rendering type.
                I get the maximum 60 fps with the glx type, and avarage it goes below that, but still there is a issue where audio will disappear after a few minutes in game. And so as per recommendation on the xonotic forums, I tried the sdl type and got ~190fps, very fluid and still no apparent tearing, sound works ok. Even managed to record gamplay and still get fps above 60.

                In general that seem not to be any tearing unless on 2D rendering. I'll try out your vblank_mode=0 options, not sure where to test it though.
                ps: don't know if this is relevant but I'm on Debian testing with a realtime scheduling enabled kernel:
                Code:
                guiu@guiu-desktop:~$ uname -r
                3.14-1-rt-amd64
                Code:
                guiu@guiu-desktop:~$ glxinfo | grep -i open
                OpenGL vendor string: X.Org
                OpenGL renderer string: Gallium 0.4 on AMD BONAIRE
                OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.4
                OpenGL core profile shading language version string: 3.30
                OpenGL core profile context flags: (none)
                OpenGL core profile profile mask: core profile
                OpenGL core profile extensions:
                OpenGL version string: 3.0 Mesa 10.2.4
                OpenGL shading language version string: 1.30
                OpenGL context flags: (none)
                OpenGL extensions:
                OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.2.4
                OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
                OpenGL ES profile extensions:
                Are you using full scene repaint for the vsync setting in kwin? Tearing will happen with AMD GPUs unless you use that mode.

                Comment


                • #9
                  Originally posted by gfurst View Post
                  Hey guys, Just continuing my thread above, where I try to configure Xorg for optimal performance.
                  I'm experiencing some very annoying vertical tearing, normally doesn't happen on games and 3d effects, at least I don't notice on Xonotic with high fps ~180, Kwin effects seem very crispy too.
                  However scrolling browser(iceweasel) and on videos it becomes very apparent, specially on anime with any movement.
                  At first I thought this must be enabled by default, as documentation suggest it. Xonotic was only running at 60 fps but turns I was using glx instead of better sdl (don't know exactly the difference), with sdl I now get ~190fps and thus my theory of vertical sync is disabled after-all.
                  As you can see I'm very noobish in these matters, thanks for the support.

                  The following is a copy of Xorg.0.log, with no pre-defined xorg.conf
                  Code:
                  X.Org X Server 1.16.0
                  Release Date: 2014-07-16
                  [     3.965] X Protocol Version 11, Revision 0
                  [     3.965] Build Operating System: Linux 3.14-1-amd64 x86_64 Debian
                  [     3.965] Current Operating System: Linux guiu-desktop 3.14-1-rt-amd64 #1 SMP PREEMPT RT Debian 3.14.12-1 (2014-07-11) x86_64
                  [     3.965] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.14-1-rt-amd64 root=UUID=19b5bb64-919d-4e97-b736-d4cd40429dfa ro quiet
                  [     3.965] Build Date: 17 July 2014  10:22:36PM
                  [     3.965] xorg-server 2:1.16.0-1 (http://www.debian.org/support) 
                  [     3.965] Current version of pixman: 0.32.6
                  [     3.965] 	Before reporting problems, check http://wiki.x.org
                  	to make sure that you have the latest version.
                  [     3.965] Markers: (--) probed, (**) from config file, (==) default setting,
                  	(++) from command line, (!!) notice, (II) informational,
                  	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                  [     3.965] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 25 11:09:04 2014
                  [     3.969] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
                  [     3.971] (==) No Layout section.  Using the first Screen section.
                  [     3.971] (==) No screen section available. Using defaults.
                  [     3.971] (**) |-->Screen "Default Screen Section" (0)
                  [     3.971] (**) |   |-->Monitor "<default monitor>"
                  [     3.971] (==) No monitor specified for screen "Default Screen Section".
                  	Using a default monitor configuration.
                  [     3.971] (==) Automatically adding devices
                  [     3.971] (==) Automatically enabling devices
                  [     3.971] (==) Automatically adding GPU devices
                  [     3.973] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
                  [     3.973] 	Entry deleted from font path.
                  [     3.976] (==) FontPath set to:
                  	/usr/share/fonts/X11/misc,
                  	/usr/share/fonts/X11/100dpi/:unscaled,
                  	/usr/share/fonts/X11/75dpi/:unscaled,
                  	/usr/share/fonts/X11/Type1,
                  	/usr/share/fonts/X11/100dpi,
                  	/usr/share/fonts/X11/75dpi,
                  	built-ins
                  [     3.976] (==) ModulePath set to "/usr/lib/xorg/modules"
                  [     3.976] (II) The server relies on udev to provide the list of input devices.
                  	If no devices become available, reconfigure udev or disable AutoAddDevices.
                  [     3.976] (II) Loader magic: 0x7fe9ee5c2d80
                  [     3.976] (II) Module ABI versions:
                  [     3.976] 	X.Org ANSI C Emulation: 0.4
                  [     3.976] 	X.Org Video Driver: 18.0
                  [     3.976] 	X.Org XInput driver : 21.0
                  [     3.976] 	X.Org Server Extension : 8.0
                  [     3.976] (II) xfree86: Adding drm device (/dev/dri/card0)
                  [     3.978] (--) PCI:*(0:1:0:0) 1002:6658:1787:2339 rev 0, Mem @ 0xc0000000/268435456, 0xd0000000/8388608, 0xfea00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
                  [     3.978] (II) LoadModule: "glx"
                  [     3.982] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
                  [     3.985] (II) Module glx: vendor="X.Org Foundation"
                  [     3.985] 	compiled for 1.16.0, module version = 1.0.0
                  [     3.985] 	ABI class: X.Org Server Extension, version 8.0
                  [     3.985] (==) AIGLX enabled
                  [     3.985] (==) Matched ati as autoconfigured driver 0
                  [     3.985] (==) Matched ati as autoconfigured driver 1
                  [     3.985] (==) Matched modesetting as autoconfigured driver 2
                  [     3.985] (==) Matched fbdev as autoconfigured driver 3
                  [     3.985] (==) Matched vesa as autoconfigured driver 4
                  [     3.985] (==) Assigned the driver to the xf86ConfigLayout
                  [     3.985] (II) LoadModule: "ati"
                  [     3.985] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
                  [     3.986] (II) Module ati: vendor="X.Org Foundation"
                  [     3.986] 	compiled for 1.15.99.904, module version = 7.4.0
                  [     3.986] 	Module class: X.Org Video Driver
                  [     3.986] 	ABI class: X.Org Video Driver, version 18.0
                  [     3.986] (II) LoadModule: "radeon"
                  [     3.986] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
                  [     3.990] (II) Module radeon: vendor="X.Org Foundation"
                  [     3.990] 	compiled for 1.15.99.904, module version = 7.4.0
                  [     3.990] 	Module class: X.Org Video Driver
                  [     3.990] 	ABI class: X.Org Video Driver, version 18.0
                  [     3.990] (II) LoadModule: "modesetting"
                  [     3.990] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
                  [     3.991] (II) Module modesetting: vendor="X.Org Foundation"
                  [     3.991] 	compiled for 1.15.99.904, module version = 0.9.0
                  [     3.991] 	Module class: X.Org Video Driver
                  [     3.991] 	ABI class: X.Org Video Driver, version 18.0
                  [     3.991] (II) LoadModule: "fbdev"
                  [     3.992] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
                  [     3.993] (II) Module fbdev: vendor="X.Org Foundation"
                  [     3.993] 	compiled for 1.15.99.904, module version = 0.4.4
                  [     3.993] 	Module class: X.Org Video Driver
                  [     3.993] 	ABI class: X.Org Video Driver, version 18.0
                  [     3.993] (II) LoadModule: "vesa"
                  [     3.993] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
                  [     3.994] (II) Module vesa: vendor="X.Org Foundation"
                  [     3.994] 	compiled for 1.15.99.904, module version = 2.3.3
                  [     3.994] 	Module class: X.Org Video Driver
                  [     3.994] 	ABI class: X.Org Video Driver, version 18.0
                  [     3.994] (II) RADEON: Driver for ATI Radeon chipsets:
                  	ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
                  	...........
                  	HAWAII, HAWAII, HAWAII, HAWAII, HAWAII
                  [     4.001] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
                  [     4.001] (II) FBDEV: driver for framebuffer: fbdev
                  [     4.001] (II) VESA: driver for VESA chipsets: vesa
                  [     4.001] (++) using VT number 7
                  [     4.006] (II) [KMS] Kernel modesetting enabled.
                  [     4.006] (WW) Falling back to old probe method for modesetting
                  [     4.006] (WW) Falling back to old probe method for fbdev
                  [     4.006] (II) Loading sub module "fbdevhw"
                  [     4.006] (II) LoadModule: "fbdevhw"
                  [     4.007] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
                  [     4.007] (II) Module fbdevhw: vendor="X.Org Foundation"
                  [     4.007] 	compiled for 1.16.0, module version = 0.0.2
                  [     4.007] 	ABI class: X.Org Video Driver, version 18.0
                  [     4.007] (WW) Falling back to old probe method for vesa
                  [     4.007] (II) RADEON(0): Creating default Display subsection in Screen section
                  	"Default Screen Section" for depth/fbbpp 24/32
                  [     4.007] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
                  [     4.007] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
                  [     4.007] (==) RADEON(0): Default visual is TrueColor
                  [     4.007] (==) RADEON(0): RGB weight 888
                  [     4.007] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
                  [     4.007] (--) RADEON(0): Chipset: "BONAIRE" (ChipID = 0x6658)
                  [     4.007] (II) Loading sub module "dri2"
                  [     4.007] (II) LoadModule: "dri2"
                  [     4.007] (II) Module "dri2" already built-in
                  [     4.007] (II) Loading sub module "glamoregl"
                  [     4.007] (II) LoadModule: "glamoregl"
                  [     4.007] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
                  [     4.016] (II) Module glamoregl: vendor="X.Org Foundation"
                  [     4.016] 	compiled for 1.16.0, module version = 1.0.0
                  [     4.016] 	ABI class: X.Org ANSI C Emulation, version 0.4
                  [     4.016] (II) glamor: OpenGL accelerated X.org driver based.
                  [     4.168] (II) glamor: EGL version 1.4 (DRI2):
                  [     4.188] (II) RADEON(0): glamor detected, initialising EGL layer.
                  [     4.188] (II) RADEON(0): KMS Color Tiling: enabled
                  [     4.188] (II) RADEON(0): KMS Color Tiling 2D: enabled
                  [     4.188] (II) RADEON(0): KMS Pageflipping: enabled
                  [     4.188] (II) RADEON(0): SwapBuffers wait for vsync: enabled
                  [     4.204] (II) RADEON(0): Output DisplayPort-0 has no monitor section
                  [     4.267] (II) RADEON(0): Output HDMI-0 has no monitor section
                  [     4.269] (II) RADEON(0): Output DVI-0 has no monitor section
                  [     4.292] (II) RADEON(0): Output DVI-1 has no monitor section
                  [     4.308] (II) RADEON(0): EDID for output DisplayPort-0
                  [     4.371] (II) RADEON(0): EDID for output HDMI-0
                  [     4.371] (II) RADEON(0): Manufacturer: AOC  Model: 2369  Serial#: 432
                  [     4.371] (II) RADEON(0): Year: 2014  Week: 11
                  [     4.371] (II) RADEON(0): EDID Version: 1.3
                  [     4.371] (II) RADEON(0): Digital Display Input
                  [     4.371] (II) RADEON(0): Max Image Size [cm]: horiz.: 51  vert.: 29
                  [     4.371] (II) RADEON(0): Gamma: 2.20
                  [     4.371] (II) RADEON(0): DPMS capabilities: Off
                  [     4.371] (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
                  [     4.371] (II) RADEON(0): First detailed timing is preferred mode
                  [     4.371] (II) RADEON(0): redX: 0.651 redY: 0.338   greenX: 0.321 greenY: 0.614
                  [     4.371] (II) RADEON(0): blueX: 0.154 blueY: 0.063   whiteX: 0.313 whiteY: 0.329
                  [     4.371] (II) RADEON(0): Supported established timings:
                  [     4.371] (II) RADEON(0): 720x400@70Hz
                  [     4.371] (II) RADEON(0): 640x480@60Hz
                  [     4.372] (II) RADEON(0): 640x480@67Hz
                  [     4.372] (II) RADEON(0): 640x480@72Hz
                  [     4.372] (II) RADEON(0): 640x480@75Hz
                  [     4.372] (II) RADEON(0): 800x600@56Hz
                  [     4.372] (II) RADEON(0): 800x600@60Hz
                  [     4.372] (II) RADEON(0): 800x600@72Hz
                  [     4.372] (II) RADEON(0): 800x600@75Hz
                  [     4.372] (II) RADEON(0): 832x624@75Hz
                  [     4.372] (II) RADEON(0): 1024x768@60Hz
                  [     4.372] (II) RADEON(0): 1024x768@70Hz
                  [     4.372] (II) RADEON(0): 1024x768@75Hz
                  [     4.372] (II) RADEON(0): 1280x1024@75Hz
                  [     4.372] (II) RADEON(0): Manufacturer's mask: 0
                  [     4.372] (II) RADEON(0): Supported standard timings:
                  [     4.372] (II) RADEON(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
                  [     4.372] (II) RADEON(0): #1: hsize: 1680  vsize 1050  refresh: 60  vid: 179
                  [     4.372] (II) RADEON(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
                  [     4.372] (II) RADEON(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
                  [     4.372] (II) RADEON(0): #4: hsize: 1280  vsize 960  refresh: 60  vid: 16513
                  [     4.372] (II) RADEON(0): #5: hsize: 1280  vsize 720  refresh: 60  vid: 49281
                  [     4.372] (II) RADEON(0): Supported detailed timing:
                  [     4.372] (II) RADEON(0): clock: 148.5 MHz   Image Size:  509 x 286 mm
                  [     4.372] (II) RADEON(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
                  [     4.372] (II) RADEON(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
                  [     4.372] (II) RADEON(0): Ranges: V min: 50 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
                  [     4.372] (II) RADEON(0): Monitor name: 2369M
                  [     4.372] (II) RADEON(0): Serial No: 23043IA000432
                  [     4.372] (II) RADEON(0): Supported detailed timing:
                  [     4.372] (II) RADEON(0): clock: 27.0 MHz   Image Size:  509 x 286 mm
                  [     4.372] (II) RADEON(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
                  [     4.372] (II) RADEON(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
                  [     4.372] (II) RADEON(0): Supported detailed timing:
                  [     4.372] (II) RADEON(0): clock: 74.2 MHz   Image Size:  509 x 286 mm
                  [     4.372] (II) RADEON(0): h_active: 1280  h_sync: 1390  h_sync_end 1430 h_blank_end 1650 h_border: 0
                  [     4.372] (II) RADEON(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
                  [     4.372] (II) RADEON(0): Supported detailed timing:
                  [     4.372] (II) RADEON(0): clock: 27.0 MHz   Image Size:  509 x 286 mm
                  [     4.372] (II) RADEON(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
                  [     4.372] (II) RADEON(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
                  [     4.372] (II) RADEON(0): Supported detailed timing:
                  [     4.372] (II) RADEON(0): clock: 27.0 MHz   Image Size:  509 x 286 mm
                  [     4.372] (II) RADEON(0): h_active: 720  h_sync: 732  h_sync_end 796 h_blank_end 864 h_border: 0
                  [     4.372] (II) RADEON(0): v_active: 576  v_sync: 581  v_sync_end 586 v_blanking: 625 v_border: 0
                  [     4.372] (II) RADEON(0): Number of EDID sections to follow: 1
                  [     4.372] (II) RADEON(0): EDID (in hex):
                  [     4.372] (II) RADEON(0): 	00ffffffffffff0005e36923b0010000
                  [     4.372] (II) RADEON(0): 	0b18010380331d782ae595a656529d27
                  [     4.372] (II) RADEON(0): 	105054bfef00d1c0b300950081808140
                  [     4.372] (II) RADEON(0): 	81c001010101023a801871382d40582c
                  [     4.372] (II) RADEON(0): 	4500fd1e1100001e000000fd00324c1e
                  [     4.372] (II) RADEON(0): 	5311000a202020202020000000fc0032
                  [     4.372] (II) RADEON(0): 	3336394d0a20202020202020000000ff
                  [     4.372] (II) RADEON(0): 	00323330343349413030303433320100
                  [     4.372] (II) RADEON(0): 	02031ef14b101f051404130312021101
                  [     4.372] (II) RADEON(0): 	230907078301000065030c0010008c0a
                  [     4.372] (II) RADEON(0): 	d08a20e02d10103e9600fd1e11000018
                  [     4.372] (II) RADEON(0): 	011d007251d01e206e285500fd1e1100
                  [     4.372] (II) RADEON(0): 	001e8c0ad08a20e02d10103e9600fd1e
                  [     4.372] (II) RADEON(0): 	110000188c0ad090204031200c405500
                  [     4.372] (II) RADEON(0): 	fd1e1100001800000000000000000000
                  [     4.372] (II) RADEON(0): 	0000000000000000000000000000007d
                  [     4.372] (II) RADEON(0): Printing probed modes for output HDMI-0
                  [     4.372] (II) RADEON(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
                  ............................
                  [     4.372] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
                  [     4.375] (II) RADEON(0): EDID for output DVI-0
                  [     4.400] (II) RADEON(0): EDID for output DVI-1
                  [     4.400] (II) RADEON(0): Output DisplayPort-0 disconnected
                  [     4.400] (II) RADEON(0): Output HDMI-0 connected
                  [     4.400] (II) RADEON(0): Output DVI-0 disconnected
                  [     4.400] (II) RADEON(0): Output DVI-1 disconnected
                  [     4.400] (II) RADEON(0): Using exact sizes for initial modes
                  [     4.400] (II) RADEON(0): Output HDMI-0 using initial mode 1920x1080
                  [     4.400] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
                  [     4.400] (II) RADEON(0): mem size init: gart size :3fb7e000 vram size: s:80000000 visible:7f7d7000
                  [     4.400] (==) RADEON(0): DPI set to (96, 96)
                  [     4.400] (II) Loading sub module "fb"
                  [     4.400] (II) LoadModule: "fb"
                  [     4.400] (II) Loading /usr/lib/xorg/modules/libfb.so
                  [     4.403] (II) Module fb: vendor="X.Org Foundation"
                  [     4.403] 	compiled for 1.16.0, module version = 1.0.0
                  [     4.403] 	ABI class: X.Org ANSI C Emulation, version 0.4
                  [     4.403] (II) Loading sub module "ramdac"
                  [     4.403] (II) LoadModule: "ramdac"
                  [     4.403] (II) Module "ramdac" already built-in
                  [     4.403] (II) UnloadModule: "modesetting"
                  [     4.403] (II) Unloading modesetting
                  [     4.403] (II) UnloadModule: "fbdev"
                  [     4.403] (II) Unloading fbdev
                  [     4.403] (II) UnloadSubModule: "fbdevhw"
                  [     4.403] (II) Unloading fbdevhw
                  [     4.404] (II) UnloadModule: "vesa"
                  [     4.404] (II) Unloading vesa
                  [     4.404] (--) Depth 24 pixmap format is 32 bpp
                  [     4.404] (II) RADEON(0): [DRI2] Setup complete
                  [     4.404] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
                  [     4.404] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
                  [     4.404] (II) RADEON(0): Front buffer size: 8160K
                  [     4.404] (II) RADEON(0): VRAM usage limit set to 1872486K
                  [     4.405] (==) RADEON(0): Backing store enabled
                  [     4.405] (II) RADEON(0): Direct rendering enabled
                  [     4.507] (II) RADEON(0): Use GLAMOR acceleration.
                  [     4.507] (II) RADEON(0): Acceleration enabled
                  [     4.507] (==) RADEON(0): DPMS enabled
                  [     4.507] (==) RADEON(0): Silken mouse enabled
                  [     4.512] (II) RADEON(0): Set up textured video (glamor)
                  [     4.512] (II) RADEON(0): [XvMC] Associated with GLAMOR Textured Video.
                  [     4.512] (II) RADEON(0): [XvMC] Extension initialized.
                  [     4.512] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
                  [     4.537] (--) RandR disabled
                  [     4.551] (II) SELinux: Disabled on system
                  [     4.554] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
                  [     4.554] (II) AIGLX: enabled GLX_ARB_create_context
                  [     4.554] (II) AIGLX: enabled GLX_ARB_create_context_profile
                  [     4.554] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
                  [     4.554] (II) AIGLX: enabled GLX_INTEL_swap_event
                  [     4.554] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
                  [     4.554] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
                  [     4.554] (II) AIGLX: enabled GLX_ARB_fbconfig_float
                  [     4.554] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
                  [     4.556] (II) AIGLX: Loaded and initialized radeonsi
                  [     4.556] (II) GLX: Initialized DRI2 GL provider for screen 0
                  [     4.567] (II) RADEON(0): Setting screen physical size to 508 x 285


                  you need a newer version of xorg-server and the included glamor:



                  author Keith Packard <[email protected]> 2014-07-28 18:10:15 (GMT)
                  committer Keith Packard <[email protected]> 2014-07-28 20:12:52 (GMT)
                  commit 8a60d1c3f4a62675cad005107f56413f946ecd77 (patch) (side-by-side diff)
                  tree 1288b99114771b717f8dea7cdb9e7413f841c7b8
                  parent 29eaa61cb210e0c67004bc567af0c15d48aad626 (diff)
                  download xserver-8a60d1c3f4a62675cad005107f56413f946ecd77.zip
                  xserver-8a60d1c3f4a62675cad005107f56413f946ecd77.tar.gz
                  glamor: Eliminate diagonal tearing in xv
                  This uses a single large triangle and a scissor to draw the video
                  instead of two triangles.


                  Signed-off-by: Keith Packard <[email protected]>
                  Reviewed-by: Alex Deucher <[email protected]>
                  probably related ...

                  Comment


                  • #10
                    It depends what your player uses to draw the video on. xv is a specific type, most players have the option to change their drawing methods. I too use glamor and xv is always tearing (didnt install the newly compiled xserver yet). But i can circumvent this by using VDPAU presentation if possible, Opengl if vdpau is not available.
                    Although *native* (meaning not as libva backend) VDPAU tends to be ubiquitous nowadays, even VLC too added support for it in latest builds (though on Debian i had to recompile it from git to include VDPAU support).
                    Pretty much all worthwile video players (the ones not based on gstreamer...) have vdpau support now BTW.

                    Comment

                    Working...
                    X