You are not logged in.

#1 2015-02-04 21:16:52

ahitrust
Member
Registered: 2015-02-04
Posts: 2

Ati Mobility HD 5470/Intel integrated hybrid graphics

Hi! I have a Acer TimelineX 5820TZG laptop which has switchable graphics. I am struggling to make Arch work with my dual-graphics configuration, and I have tried a lot of things, but it doesn't work.

Right now I am working with the Intel integrated graphics card but I am not even sure if the Ati is completely switched off (I am afraid it's not, as I read in a lot of posts about switchable graphics).

The first thing I did is installing the open-source drivers for ati (xf86-video-ati) and intel (xf86-video-intel). First I tried to make both cards to work by using the vgaswitcheroo method, I mounted debugfs, modprobed the radeon module and using:

cat /sys/kernel/debug/vgaswitcheroo/switch

I checked that the currently working card is the Intel integrated. I made sure the ATI is switched off by doing

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

(As explained in the wiki for hybrid graphics) and then started the X server. In this case the X server starts and sometimes even starts loading my WM (kde), but eventually the system gets frozen and all I can see is warning messages in the terminal (CPU #1 stuck for 23s!) and I am unable to use another terminal with Ctrl+Alt+Fx or soft-resetting. Some times it gets stuck on a loop, showing a lot of messages in the terminal and not allowing me to kill the process in any way.

Then I tried modprobing 'radeon' and then using

echo DDIC > /sys/kernel/debug/vgaswitcheroo/switch

to enable the dedicated graphics card (Ati) and turning off the integrated one (intel) to see what happens. In this case the X server simply crashes, leaving me with the following log:

   187.209] 
X.Org X Server 1.16.3
Release Date: 2014-12-20
[   187.211] X Protocol Version 11, Revision 0
[   187.213] Build Operating System: Linux 3.18.1-1-ARCH x86_64 
[   187.214] Current Operating System: Linux Alejandro-ArchPC 3.18.5-1-ARCH #1 SMP PREEMPT Fri Jan 30 07:31:50 CET 2015 x86_64
[   187.214] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=d5fd73a4-f13f-d001-10bd-71a4f13fd001 rw quiet
[   187.218] Build Date: 29 December 2014  01:09:58PM
[   187.219]  
[   187.220] Current version of pixman: 0.32.6
[   187.223] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   187.223] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   187.228] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb  4 16:17:27 2015
[   187.275] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   187.276] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   187.276] (==) No Layout section.  Using the first Screen section.
[   187.276] (==) No screen section available. Using defaults.
[   187.276] (**) |-->Screen "Default Screen Section" (0)
[   187.276] (**) |   |-->Monitor "<default monitor>"
[   187.277] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   187.277] (==) Automatically adding devices
[   187.277] (==) Automatically enabling devices
[   187.277] (==) Automatically adding GPU devices
[   187.277] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF/".
[   187.277] 	Entry deleted from font path.
[   187.277] 	(Run 'mkfontdir' on "/usr/share/fonts/OTF/").
[   187.277] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   187.277] 	Entry deleted from font path.
[   187.277] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   187.277] 	Entry deleted from font path.
[   187.277] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   187.277] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   187.277] 	Entry deleted from font path.
[   187.277] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   187.277] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/
[   187.277] (==) ModulePath set to "/usr/lib/xorg/modules"
[   187.277] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   187.277] (II) Loader magic: 0x818d80
[   187.277] (II) Module ABI versions:
[   187.277] 	X.Org ANSI C Emulation: 0.4
[   187.277] 	X.Org Video Driver: 18.0
[   187.277] 	X.Org XInput driver : 21.0
[   187.277] 	X.Org Server Extension : 8.0
[   187.280] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   187.280] (II) xfree86: Adding drm device (/dev/dri/card1)
[   187.281] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[   187.281] (II) xfree86: Adding drm device (/dev/dri/card0)
[   187.282] (EE) systemd-logind: failed to take device /dev/dri/card0: Invalid argument
[   187.283] (--) PCI:*(0:0:2:0) 8086:0046:1025:035d rev 18, Mem @ 0xd8000000/4194304, 0xc0000000/268435456, I/O @ 0x00004050/8
[   187.283] (--) PCI: (0:1:0:0) 1002:68e0:1025:035d rev 0, Mem @ 0xe0000000/134217728, 0xdc400000/131072, I/O @ 0x00005000/256, BIOS @ 0x????????/131072
[   187.284] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   187.284] (II) LoadModule: "glx"
[   187.338] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   187.504] (II) Module glx: vendor="X.Org Foundation"
[   187.504] 	compiled for 1.16.3, module version = 1.0.0
[   187.504] 	ABI class: X.Org Server Extension, version 8.0
[   187.504] (==) AIGLX enabled
[   187.504] (==) Matched ati as autoconfigured driver 0
[   187.504] (==) Matched intel as autoconfigured driver 1
[   187.504] (==) Matched modesetting as autoconfigured driver 2
[   187.504] (==) Matched fbdev as autoconfigured driver 3
[   187.504] (==) Matched vesa as autoconfigured driver 4
[   187.504] (==) Assigned the driver to the xf86ConfigLayout
[   187.504] (II) LoadModule: "ati"
[   187.504] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[   187.504] (II) Module ati: vendor="X.Org Foundation"
[   187.504] 	compiled for 1.16.1, module version = 7.5.0
[   187.504] 	Module class: X.Org Video Driver
[   187.504] 	ABI class: X.Org Video Driver, version 18.0
[   187.504] (II) LoadModule: "radeon"
[   187.504] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[   187.504] (II) Module radeon: vendor="X.Org Foundation"
[   187.504] 	compiled for 1.16.1, module version = 7.5.0
[   187.504] 	Module class: X.Org Video Driver
[   187.504] 	ABI class: X.Org Video Driver, version 18.0
[   187.504] (II) LoadModule: "intel"
[   187.504] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   187.505] (II) Module intel: vendor="X.Org Foundation"
[   187.505] 	compiled for 1.16.3, module version = 2.99.917
[   187.505] 	Module class: X.Org Video Driver
[   187.505] 	ABI class: X.Org Video Driver, version 18.0
[   187.505] (II) LoadModule: "modesetting"
[   187.600] (WW) Warning, couldn't open module modesetting
[   187.601] (II) UnloadModule: "modesetting"
[   187.601] (II) Unloading modesetting
[   187.601] (EE) Failed to load module "modesetting" (module does not exist, 0)
[   187.601] (II) LoadModule: "fbdev"
[   187.601] (WW) Warning, couldn't open module fbdev
[   187.601] (II) UnloadModule: "fbdev"
[   187.601] (II) Unloading fbdev
[   187.601] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   187.601] (II) LoadModule: "vesa"
[   187.601] (WW) Warning, couldn't open module vesa
[   187.601] (II) UnloadModule: "vesa"
[   187.601] (II) Unloading vesa
[   187.601] (EE) Failed to load module "vesa" (module does not exist, 0)
[   187.601] (II) RADEON: Driver for ATI Radeon chipsets:
	<LIST OF CARDS>
[   187.606] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   187.607] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   187.607] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   187.607] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   187.607] (++) using VT number 1

[   187.607] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   187.607] (II) [KMS] Kernel modesetting enabled.
[   187.666] (EE) No devices detected.
[   187.666] (EE) 
Fatal server error:
[   187.666] (EE) no screens found(EE) 
[   187.666] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   187.666] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   187.666] (EE) 

As it didn't work this way, I tried using the closed-source driver for ATI, the one in the Vi0L0 repository. I created the xorg.conf file using aticonfig --initial as suggested in the wiki. the result was Xserver crashing again, leaving me with the following log (which suggests that my system is not compatible with PxP tech by AMD and that I should not use the  fglrx driver).

[  2455.881] 
X.Org X Server 1.16.3
Release Date: 2014-12-20
[  2455.885] X Protocol Version 11, Revision 0
[  2455.887] Build Operating System: Linux 3.18.1-1-ARCH x86_64 
[  2455.888] Current Operating System: Linux Alejandro-ArchPC 3.18.5-1-ARCH #1 SMP PREEMPT Fri Jan 30 07:31:50 CET 2015 x86_64
[  2455.888] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=d5fd73a4-f13f-d001-10bd-71a4f13fd001 rw quiet
[  2455.891] Build Date: 29 December 2014  01:09:58PM
[  2455.892]  
[  2455.893] Current version of pixman: 0.32.6
[  2455.896] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2455.896] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2455.901] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb  4 19:38:17 2015
[  2455.903] (==) Using config file: "/etc/X11/xorg.conf"
[  2455.904] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2455.906] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2455.906] (==) ServerLayout "aticonfig Layout"
[  2455.906] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[  2455.906] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[  2455.906] (**) |   |-->Device "aticonfig-Device[0]-0"
[  2455.906] (==) Automatically adding devices
[  2455.906] (==) Automatically enabling devices
[  2455.906] (==) Automatically adding GPU devices
[  2455.906] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF/".
[  2455.906] 	Entry deleted from font path.
[  2455.906] 	(Run 'mkfontdir' on "/usr/share/fonts/OTF/").
[  2455.906] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  2455.906] 	Entry deleted from font path.
[  2455.906] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2455.906] 	Entry deleted from font path.
[  2455.906] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2455.906] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2455.906] 	Entry deleted from font path.
[  2455.906] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2455.906] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/
[  2455.906] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2455.906] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2455.906] (II) Loader magic: 0x818d80
[  2455.906] (II) Module ABI versions:
[  2455.906] 	X.Org ANSI C Emulation: 0.4
[  2455.906] 	X.Org Video Driver: 18.0
[  2455.906] 	X.Org XInput driver : 21.0
[  2455.906] 	X.Org Server Extension : 8.0
[  2455.910] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[  2455.910] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2455.911] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[  2455.913] (--) PCI:*(0:0:2:0) 8086:0046:1025:035d rev 18, Mem @ 0xd8000000/4194304, 0xc0000000/268435456, I/O @ 0x00004050/8
[  2455.913] (--) PCI: (0:1:0:0) 1002:68e0:1025:035d rev 0, Mem @ 0xe0000000/134217728, 0xdc400000/131072, I/O @ 0x00005000/256, BIOS @ 0x????????/131072
[  2455.913] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2455.913] (II) "glx" will be loaded by default.
[  2455.913] (II) LoadModule: "glx"
[  2455.913] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2455.913] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[  2455.913] 	compiled for 6.9.0, module version = 1.0.0
[  2455.913] (II) LoadModule: "fglrx"
[  2455.913] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[  2455.943] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[  2455.943] 	compiled for 1.4.99.906, module version = 14.50.2
[  2455.943] 	Module class: X.Org Video Driver
[  2455.944] (II) Loading sub module "fglrxdrm"
[  2455.944] (II) LoadModule: "fglrxdrm"
[  2455.944] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[  2455.944] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[  2455.944] 	compiled for 1.4.99.906, module version = 14.50.2
[  2455.944] (II) AMD Proprietary Linux Driver Version Identifier:14.50.2
[  2455.944] (II) AMD Proprietary Linux Driver Release Identifier: 14.501.1003                          
[  2455.944] (II) AMD Proprietary Linux Driver Build Date: Nov 20 2014 21:22:54
[  2455.944] (++) using VT number 2

[  2455.944] (--) controlling tty is VT number 2, auto-enabling KeepTty
[  2455.944] (WW) Falling back to old probe method for fglrx
[  2455.959] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[  2456.127] ukiDynamicMajor: found major device number 249
[  2456.127] ukiDynamicMajor: found major device number 249
[  2456.127] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[  2456.127] ukiOpenDevice: node name is /dev/ati/card0
[  2456.127] ukiOpenDevice: open result is 11, (OK)
[  2461.962] ukiOpenDevice: open result is 11, (OK)
[  2461.963] ukiOpenByBusid: ukiOpenMinor returns 11
[  2461.963] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[  2461.965] (--) Chipset Supported AMD Graphics Processor (0x68E0) found
[  2461.965] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[  2461.965] (II) fglrx: intel VGA device detected, load intel driver.
[  2461.966] (II) LoadModule: "intel"
[  2461.966] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  2461.966] (II) Module intel: vendor="X.Org Foundation"
[  2461.966] 	compiled for 1.16.3, module version = 2.99.917
[  2461.966] 	Module class: X.Org Video Driver
[  2461.966] 	ABI class: X.Org Video Driver, version 18.0
[  2461.966] (WW) PowerXpress feature is not supported on A+I Mux platform. Please uninstall fglrx driver.
[  2461.966] (EE) this is a Muxless PX A+I platform, we doesn't supported it
[  2461.966] (EE) No devices detected.
[  2461.966] (EE) 
Fatal server error:
[  2461.966] (EE) no screens found(EE) 
[  2461.966] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2461.966] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2461.966] (EE) 

So I came back to open-source drivers and right now I am working with radeon driver blacklisted and only using the intel driver, but as the radeon is blacklisted, vgaswitcheroo is not created and I don't know if mi ATI card is completely switched off.

As you can see, I have done the stuff suggested in the Acer TimelineX wiki page and it didn't work. I have also tried some other suggested actions I found but still can't get my switchable graphics to work.

I would really like to get both my cards to work completely, so I can switch graphics and restart the X server to get better performance or enhance my batt life depending on which GPU I am using; but at this point I am just fine with turning off the ATI card completely and just work with the intel one (though if there is a method for making both work, I prefer that than just turning a card off).

Sorry for my english!!

Offline

#2 2015-02-04 21:26:08

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 751

Re: Ati Mobility HD 5470/Intel integrated hybrid graphics

Bit offtopic, but when you see a sentence like this:

[  2461.966] (EE) this is a Muxless PX A+I platform, we doesn't supported it

how can you expect anything from the driver?

Offline

#3 2015-02-05 00:01:16

ahitrust
Member
Registered: 2015-02-04
Posts: 2

Re: Ati Mobility HD 5470/Intel integrated hybrid graphics

Xabre wrote:

Bit offtopic, but when you see a sentence like this:

[  2461.966] (EE) this is a Muxless PX A+I platform, we doesn't supported it

how can you expect anything from the driver?

You are right, that's why I said that it suggest that my system is not compatible with fglrx. I don't understand why the warning just before that error line says that I should uninstall fglrx because my system is Muxed and that line says that my system is muxless...

Anyways, it doesn't matter, the fact is that fglrx doesn't work, so I will be using the open-source drivers...

Offline

Board footer

Powered by FluxBB