PDA

View Full Version : [ubuntu 12.10][fglrx] Configurazione driver con doppia scheda video


marco.r
29-01-2013, 20:34
Ho un portatile HP con APU A8-4500 (Radeon 7640 integrata) e scheda video esterna Radeon 7670.
Ubuntu 12.10 funziona correttamenet con i driver open source, ma le performance non sono esaltanti ma soprattutto la batteria dura veramente poco.
ho provato quindi con scarsa fortuna a configurare i driver fglrx.


00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Device 9903 (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 184a
Flags: bus master, fast devsel, latency 0, IRQ 54
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=256]
Memory at f0400000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: fglrx_pci
Kernel modules: fglrx_updates, radeon


01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Thames XT/GL [Radeon HD 7600M Series] (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 184a
Physical Slot: 0
Flags: bus master, fast devsel, latency 0, IRQ 55
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0300000 (64-bit, non-prefetchable) [size=128K]
I/O ports at 3000 [size=256]
Expansion ROM at f0320000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: fglrx_pci
Kernel modules: fglrx_updates, radeon

Come si puo' vedere da lspci i due device hanno id 0:1:0 (la scheda interna) e 1:0:0 (la scheda esterna).
Senza alcun file di configurazione X non parte. Nel file di log vedo:

[ 2977.138] (WW) Falling back to old probe method for fglrx
[ 2977.149] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[ 2977.183] ukiDynamicMajor: found major device number 251
[ 2977.185] (--) Assigning device section with no busID to primary device
[ 2977.185] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:0) found
[ 2977.185] (--) Chipset Supported AMD Graphics Processor (0x9903) found
[ 2977.185] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:1:1) found
[ 2977.185] (**) ChipID override: 0x6840
[ 2977.186] (**) Chipset Supported AMD Graphics Processor (0x6840) found
[ 2977.188] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[ 2977.188] (II) AMD Video driver is signed
[ 2977.190] (II) fglrx(0): pEnt->device->identifier=0x7f730d0fed37
[ 2977.192] (II) pEnt->device->identifier=(nil)
[ 2977.192] (WW) Falling back to old probe method for modesetting
[ 2977.192] (EE) open /dev/dri/card0: No such file or directory
[ 2977.192] (EE) open /dev/dri/card0: No such file or directory
[ 2977.192] (II) fglrx(0): === [xdl_xs113_atiddxPreInit] === begin
[ 2977.193] (II) Loading sub module "vgahw"
[ 2977.193] (II) LoadModule: "vgahw"
[ 2977.194] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 2977.194] (II) Module vgahw: vendor="X.Org Foundation"
[ 2977.194] compiled for 1.13.0, module version = 0.1.0
[ 2977.194] ABI class: X.Org Video Driver, version 13.0
[ 2977.194] (II) fglrx(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 2977.194] (==) fglrx(0): Depth 24, (==) framebuffer bpp 32
[ 2977.194] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 2977.194] (==) fglrx(0): Default visual is TrueColor
[ 2977.194] (==) fglrx(0): RGB weight 888
[ 2977.194] (II) fglrx(0): Using 8 bits per RGB
[ 2977.194] (==) fglrx(0): Buffer Tiling is ON
[ 2977.194] (II) Loading sub module "fglrxdrm"
[ 2977.195] (II) LoadModule: "fglrxdrm"
[ 2977.195] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/linux/libfglrxdrm.so
[ 2977.195] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[ 2977.195] compiled for 1.4.99.906, module version = 9.0.2
[ 2977.230] ukiDynamicMajor: found major device number 251
[ 2977.230] ukiDynamicMajor: found major device number 251
[ 2977.230] ukiOpenByBusid: Searching for BusID PCI:0:1:0
[ 2977.230] ukiOpenDevice: node name is /dev/ati/card0
[ 2977.230] ukiOpenDevice: open result is 14, (OK)
[ 2977.230] ukiOpenByBusid: ukiOpenMinor returns 14
[ 2977.231] ukiOpenByBusid: ukiGetBusid reports PCI:0:1:0
[ 2977.231] ukiDynamicMajor: found major device number 251
[ 2977.231] ukiDynamicMajor: found major device number 251
[ 2977.231] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 2977.231] ukiOpenDevice: node name is /dev/ati/card0
[ 2977.231] ukiOpenDevice: open result is 15, (OK)
[ 2977.231] ukiOpenByBusid: ukiOpenMinor returns 15
[ 2977.231] ukiOpenByBusid: ukiGetBusid reports PCI:0:1:0
[ 2977.231] ukiOpenDevice: node name is /dev/ati/card1
[ 2977.231] ukiOpenDevice: open result is 15, (OK)
[ 2977.231] ukiOpenByBusid: ukiOpenMinor returns 15
[ 2977.231] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 2977.231] (**) fglrx(0): NoAccel = NO
[ 2977.231] (**) fglrx(0): AMD 2D Acceleration Architecture enabled
[ 2977.232] (--) fglrx(0): Chipset: "AMD Radeon HD 7640G" (Chipset = 0x9903)
[ 2977.232] (--) fglrx(0): (PciSubVendor = 0x103c, PciSubDevice = 0x184a)
[ 2977.232] (==) fglrx(0): board vendor info: third party graphics adapter - NOT original AMD
[ 2977.232] (--) fglrx(0): Linear framebuffer (phys) at 0xd0000000
[ 2977.232] (--) fglrx(0): MMIO registers at 0xf0400000
[ 2977.232] (--) fglrx(0): I/O port at 0x00004000
[ 2977.232] (==) fglrx(0): ROM-BIOS at 0x000c0000
[ 2977.287] (II) fglrx(0): ATIF platform detected
[ 2977.339] (II) fglrx(0): AC Adapter is used
[ 2977.340] (EE) fglrx(0): V_BIOS address 0xd00 out of range
[ 2977.397] (II) Loading sub module "vbe"
[ 2977.397] (II) LoadModule: "vbe"
[ 2977.397] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 2977.398] (II) Module vbe: vendor="X.Org Foundation"
[ 2977.398] compiled for 1.13.0, module version = 1.1.0
[ 2977.398] ABI class: X.Org Video Driver, version 13.0
[ 2977.398] (II) Loading sub module "int10"
[ 2977.398] (II) LoadModule: "int10"
[ 2977.399] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 2977.399] (II) Module int10: vendor="X.Org Foundation"
[ 2977.399] compiled for 1.13.0, module version = 1.0.0
[ 2977.399] ABI class: X.Org Video Driver, version 13.0
[ 2977.399] (II) fglrx(0): initializing int10
[ 2977.399] (EE) fglrx(0): V_BIOS address 0xd00 out of range
[ 2977.399] (WW) fglrx(0): GetVBEMode failed
[ 2977.399] (II) fglrx(0): AMD Video BIOS revision 9 or later detected
[ 2977.400] (--) fglrx(0): Video RAM: 524288 kByte, Type: DDR3
[ 2977.400] (II) fglrx(0): PCIE card detected
[ 2977.400] (--) fglrx(0): Using per-process page tables (PPPT) as GART.
[ 2977.400] (WW) fglrx(0): board is an unknown third party board, chipset is supported
[ 2977.400] (--) fglrx(0): (PciSubVendor = 0x103c, PciSubDevice = 0x184a)
[ 2977.400] (==) fglrx(0): board vendor info: third party graphics adapter - NOT original AMD
[ 2977.400] (--) fglrx(0): Linear framebuffer (phys) at 0xe0000000
[ 2977.400] (--) fglrx(0): MMIO registers at 0xf0300000
[ 2977.400] (--) fglrx(0): I/O port at 0x00003000
[ 2977.400] (==) fglrx(0): ROM-BIOS at 0x000c0000
[ 2977.455] (II) fglrx(0): ATIF platform detected
[ 2977.511] (II) fglrx(0): AC Adapter is used
[ 2977.512] (II) fglrx(0): AMD Video BIOS revision 9 or later detected
[ 2977.512] (--) fglrx(0): Video RAM: 1048576 kByte, Type: DDR3
[ 2977.512] (II) fglrx(0): PCIE card detected
[ 2977.512] (--) fglrx(0): Using per-process page tables (PPPT) as GART.
[ 2977.512] (WW) fglrx(0): board is an unknown third party board, chipset is supported
[ 2977.512] (II) fglrx(0): [FB] MC range(MCFBBase = 0xf00000000, MCFBSize = 0x20000000)
[ 2977.512] (II) fglrx(0): [FB] MC range(MCFBBase = 0xf00000000, MCFBSize = 0x40000000)
[ 2977.512] (II) fglrx(0): RandR 1.2 support is enabled!
[ 2977.512] (II) fglrx(0): RandR 1.2 rotation support is enabled!
[ 2977.512] (==) fglrx(0): Center Mode is disabled
[ 2977.512] (II) Loading sub module "fb"
[ 2977.512] (II) LoadModule: "fb"
[ 2977.514] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 2977.514] (II) Module fb: vendor="X.Org Foundation"
[ 2977.514] compiled for 1.13.0, module version = 1.0.0
[ 2977.514] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2977.514] (II) Loading sub module "ddc"
[ 2977.514] (II) LoadModule: "ddc"
[ 2977.514] (II) Module "ddc" already built-in
[ 2977.519] (EE) fglrx(0): DAL initialization failed!
[ 2977.519] (EE) fglrx(0): Display Infrastructure Failed
[ 2977.519] (EE) fglrx(0): PreInit failed
[ 2977.519] (II) fglrx(0): === [xdl_xs113_atiddxPreInit] === end
[ 2977.523] SetVBEMode failed
[ 2977.526] (II) UnloadModule: "fglrx"
[ 2977.526] (II) UnloadSubModule: "fb"
[ 2977.526] (II) Unloading fb
[ 2977.526] (II) UnloadSubModule: "int10"
[ 2977.526] (II) Unloading int10
[ 2977.527] (II) UnloadSubModule: "vbe"
[ 2977.527] (II) Unloading vbe
[ 2977.527] (II) UnloadSubModule: "fglrxdrm"
[ 2977.527] (II) Unloading fglrxdrm
[ 2977.527] (II) UnloadSubModule: "vgahw"
[ 2977.527] (II) Unloading vgahw
[ 2977.527] (II) UnloadSubModule: "fglrxdrm"
[ 2977.527] (EE) Screen(s) found, but none have a usable configuration.
[ 2977.527]
Fatal server error:
[ 2977.527] no screens found
[ 2977.527] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2977.527] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2977.527] (EE)
[ 2977.546] Server terminated with error (1). Closing log file.


In particolare vedo le seguenti cose che mi danno da pensare:


[ 2977.519] (EE) fglrx(0): DAL initialization failed!
[ 2977.519] (EE) fglrx(0): Display Infrastructure Failed
[ 2977.519] (EE) fglrx(0): PreInit failed
[ 2977.519] (II) fglrx(0): === [xdl_xs113_atiddxPreInit] === end

Che vuol dire ?
Ho provato sia i driver fglrx che fglrx-updates ma senza fortuna... ora provero' con quelli ufficiali di AMD... ma se qualcuno nel frattempo avesse qualche idea...

marco.r
29-01-2013, 20:36
Postilla... anche se ovviamenet avrei piacere di riuscire a fare andare entrambe le schede (in crossfire sarebbe il massimo), mi sarebbe sufficiente far andare correttamente una delle due.
Inoltre preciso che non ho installato tutta il DE di default di Ubuntu (io uso xmonad), potrebbe essere che manca qualche pacchetto ?