You are not logged in.

#1 2017-03-13 22:27:52

roshhh
Member
Registered: 2017-03-13
Posts: 2

Fixing screen taring on Xorg HiDPI. [FIXED]

Since wayland does not support non integer scaling or the the fractional xrandr zooming out trick, I am trying to get the desktop working on Xorg.

However on Xorg I get horrible screen taring. I am using an RX480 GPU with amdgpu driver. Whenever I add a configuration file to the /etc/X11/Xorg.conf.d/ named 20-amdgpu.conf I can't get past the logon screen.

Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
     Option "AccelMethod" "glamor"
     Option "DRI" "3"
     Option "TearFree" "on"
EndSection

I have tried the above config without the options but It still does not boot, I only get to the desktop if there is no configuration file.

lshw

description: VGA compatible controller
product: Ellesmere [Radeon RX 470/
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: c7
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0

Anyone got any ideas?

Xorg log:

[  3970.659] (--) Log file renamed from "/home/jr/.local/share/xorg/Xorg.pid-8835.log" to "/home/jr/.local/share/xorg/Xorg.0.log"
[  3970.660] 
X.Org X Server 1.19.2
Release Date: 2017-03-02
[  3970.660] X Protocol Version 11, Revision 0
[  3970.660] Build Operating System: Linux 4.9.13-1-lts x86_64 
[  3970.660] Current Operating System: Linux localhost 4.9.14-1-lts #1 SMP Sun Mar 12 13:45:41 CET 2017 x86_64
[  3970.660] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=197535e7-db78-4071-999e-5f6a8bd290db rw quiet
[  3970.660] Build Date: 03 March 2017  06:00:24PM
[  3970.660]  
[  3970.660] Current version of pixman: 0.34.0
[  3970.660] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  3970.660] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3970.660] (==) Log file: "/home/jr/.local/share/xorg/Xorg.0.log", Time: Mon Mar 13 22:13:41 2017
[  3970.660] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3970.660] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3970.660] (==) No Layout section.  Using the first Screen section.
[  3970.660] (==) No screen section available. Using defaults.
[  3970.660] (**) |-->Screen "Default Screen Section" (0)
[  3970.660] (**) |   |-->Monitor "<default monitor>"
[  3970.661] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  3970.661] (**) |   |-->Device "AMD"
[  3970.661] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  3970.661] (==) Automatically adding devices
[  3970.661] (==) Automatically enabling devices
[  3970.661] (==) Automatically adding GPU devices
[  3970.661] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3970.661] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  3970.661] 	Entry deleted from font path.
[  3970.661] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  3970.661] 	Entry deleted from font path.
[  3970.661] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  3970.661] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  3970.661] 	Entry deleted from font path.
[  3970.661] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  3970.661] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[  3970.661] (==) ModulePath set to "/usr/lib/xorg/modules"
[  3970.661] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3970.661] (II) Loader magic: 0x822d60
[  3970.661] (II) Module ABI versions:
[  3970.661] 	X.Org ANSI C Emulation: 0.4
[  3970.661] 	X.Org Video Driver: 23.0
[  3970.661] 	X.Org XInput driver : 24.1
[  3970.661] 	X.Org Server Extension : 10.0
[  3970.662] (++) using VT number 2

[  3970.666] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c13
[  3970.668] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3970.669] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[  3970.671] (--) PCI:*(0:1:0:0) 1002:67df:174b:e347 rev 199, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xdfe00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[  3970.671] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  3970.671] (II) LoadModule: "glx"
[  3970.672] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  3970.673] (II) Module glx: vendor="X.Org Foundation"
[  3970.673] 	compiled for 1.19.2, module version = 1.0.0
[  3970.673] 	ABI class: X.Org Server Extension, version 10.0
[  3970.673] (II) LoadModule: "amdgpu"
[  3970.674] (WW) Warning, couldn't open module amdgpu
[  3970.674] (II) UnloadModule: "amdgpu"
[  3970.674] (II) Unloading amdgpu
[  3970.674] (EE) Failed to load module "amdgpu" (module does not exist, 0)
[  3970.674] (EE) No drivers available.
[  3970.674] (EE) 
Fatal server error:
[  3970.674] (EE) no screens found(EE) 
[  3970.674] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  3970.674] (EE) Please also check the log file at "/home/jr/.local/share/xorg/Xorg.0.log" for additional information.
[  3970.674] (EE) 
[  3970.706] (EE) Server terminated with error (1). Closing log file.

FIX:

Make sure you install xf86-video-amdgpu package

Last edited by roshhh (2017-03-19 10:58:26)

Offline

#2 2017-03-17 01:56:01

roshhh
Member
Registered: 2017-03-13
Posts: 2

Re: Fixing screen taring on Xorg HiDPI. [FIXED]

bump

Offline

#3 2017-03-17 04:50:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,789

Re: Fixing screen taring on Xorg HiDPI. [FIXED]


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB