[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Blank screen while loading AMD/ATI graphics driver (fglrx) in Dom0 (Linux 3.0/3.2) with Xen 4.1/4.2



On Sat, Mar 03, 2012 at 10:57:47AM -0800, sahilsuneja wrote:
> Hi,
> 
> I had posted the following issue a few days ago in Xen-users but I haven't
> received any answer yet. So I decided to re-post it here in hope for some
> solution. 
> 
> Here's the original post:
> 
> Xen wiki states that using linux 3.0 and above as dom0 works with all
> graphics cards. I could install the fglrx graphics driver on my desktop
> machine with a discrete graphics card (Radeon HD 5870), but I see a blank
> screen while loading fglrx on my AMD Fusion E350 machine with integrated
> graphics card (Radeon HD 6310). The graphics driver loads fine when the
> Linux kernel runs alone not as Dom0. I am using the latest driver from AMD's
> website (ATI Catalyst 12.1).

You are probably missing the 
http://git.kernel.org/?p=linux/kernel/git/konrad/xen.git;a=blobdiff;f=drivers/char/mem.c;h=a1be5259aabbc4d3cfa9022bbc9655c382555103;hp=8fc04b4f311f72c802a1df13af7108e3082a1b3f;hb=0cfd8ac8e702db147a9a664212f597f627b3f7e9;hpb=02f8c6aee8df3cdc935e9bdd4f2d020306035dbe


> 
> Relevant portion of Xorg.0.log on Fusion:
> [    36.224] (II) LoadModule: "fglrxdrm"
> [    36.224] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
> [    36.225] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
> [    36.225] compiled for 1.4.99.906, module version = 8.93.4
> [    36.238] ukiDynamicMajor: found major device number 250
> [    36.238] ukiDynamicMajor: found major device number 250
> [    36.238] ukiOpenByBusid: Searching for BusID PCI:0:1:0
> [    36.238] ukiOpenDevice: node name is /dev/ati/card0
> [    36.239] ukiOpenDevice: open result is 12, (OK)
> [    36.239] ukiOpenByBusid: ukiOpenMinor returns 12
> [    36.239] ukiOpenByBusid: ukiGetBusid reports PCI:0:1:0
> [    36.244] (==) fglrx(0): NoAccel = NO
> [    36.244] (==) fglrx(0): ATI 2D Acceleration Architecture enabled
> [    36.244] (--) fglrx(0): Chipset: "AMD Radeon HD 6310 Graphics" (Chipset
> = 0x9802)
> [    36.244] (--) fglrx(0): (PciSubVendor = 0x17aa, PciSubDevice = 0x21df)
> [    36.244] (==) fglrx(0): board vendor info: third party graphics adapter
> - NOT original ATI
> [    36.244] (--) fglrx(0): Linear framebuffer (phys) at 0xe0000000
> [    36.245] (--) fglrx(0): MMIO registers at 0xf0200000
> [    36.245] (--) fglrx(0): I/O port at 0x00004000
> [    36.245] (==) fglrx(0): ROM-BIOS at 0x000c0000
> [    36.267] (II) fglrx(0): ATIF platform detected
> [    36.268] (II) fglrx(0): AC Adapter is used
> [    36.375] (WW) System lacks support for changing MTRRs
> [    36.377] (EE) fglrx(0): V_BIOS address 0x575a0 out of range
> [    36.377] (II) fglrx(0): Invalid ATI BIOS from int10, the adapter is not
> VGA-enabled
> [    36.377] *(EE) fglrx(0): Invalid video BIOS signature!*
> [    36.378] (EE) fglrx(0): GetBIOSParameter failed
> [    36.378] (EE) fglrx(0): PreInitAdapter failed
> [    36.378] (EE) fglrx(0): PreInit failed
> [    36.378] (II) fglrx(0): === [xdl_xs110_atiddxPreInit] === end
> [    36.383] (II) UnloadModule: "fglrx"
> [    36.384] (II) Unloading fglrx
> [    36.384] (II) UnloadModule: "fglrxdrm"
> [    36.384] (II) Unloading fglrxdrm
> [    36.384] (II) UnloadModule: "vgahw"
> [    36.384] (II) Unloading vgahw
> [    36.384] (II) UnloadModule: "fglrxdrm"
> [    36.384] (II) Unloading fglrxdrm
> [    36.384] (EE) Screen(s) found, but none have a usable configuration.
> 
> 
> Healthy Xorg.0.log file on desktopm discrete GPU:
> [    21.774] (II) LoadModule: "fglrxdrm"
> [    21.774] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
> [    21.774] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
> [    21.774] compiled for 1.4.99.906, module version = 8.93.4
> [    21.778] ukiDynamicMajor: found major device number 249
> [    21.779] ukiDynamicMajor: found major device number 249
> [    21.779] ukiOpenByBusid: Searching for BusID PCI:1:0:0
> [    21.779] ukiOpenDevice: node name is /dev/ati/card0
> [    21.779] ukiOpenDevice: open result is 12, (OK)
> [    21.779] ukiOpenByBusid: ukiOpenMinor returns 12
> [    21.779] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
> [    21.779] (==) fglrx(0): NoAccel = NO
> [    21.779] (==) fglrx(0): ATI 2D Acceleration Architecture enabled
> [    21.779] (--) fglrx(0): Chipset: "ATI Radeon HD 5800 Series" (Chipset =
> 0x6898)
> [    21.779] (--) fglrx(0): (PciSubVendor = 0x1002, PciSubDevice = 0x0b00)
> [    21.779] (==) fglrx(0): board vendor info: original ATI graphics adapter
> [    21.779] (--) fglrx(0): Linear framebuffer (phys) at 0xe0000000
> [    21.779] (--) fglrx(0): MMIO registers at 0xf7ac0000
> [    21.779] (--) fglrx(0): I/O port at 0x0000a000
> [    21.779] (==) fglrx(0): ROM-BIOS at 0x000c0000
> [    21.794] (II) fglrx(0): AC Adapter is used
> [    21.824] (WW) System lacks support for changing MTRRs
> [    21.841] (EE) fglrx(0): V_BIOS address 0x2a150 out of range
> [    21.841] (II) fglrx(0): Invalid ATI BIOS from int10, the adapter is not
> VGA-enabled
> [    22.038] *(II) fglrx(0): ATI Video BIOS revision 9 or later detected*
> [    22.038] (--) fglrx(0): Video RAM: 1048576 kByte, Type: GDDR5
> [    22.038] (II) fglrx(0): PCIE card detected
> [    22.038] (--) fglrx(0): Using per-process page tables (PPPT) as GART.
> [    22.038] (II) fglrx(0): board/chipset is supported by this driver
> (original ATI board)
> [    22.042] (II) fglrx(0): Using adapter: 1:0.0.
> [    22.078] (II) fglrx(0): [FB] MC range(MCFBBase = 0xf00000000, MCFBSize =
> 0x40000000)
> [    22.138] (II) fglrx(0): Interrupt handler installed at IRQ 308.
> [    22.138] (II) fglrx(0): RandR 1.2 support is enabled!
> [    22.138] (II) fglrx(0): RandR 1.2 rotation support is enabled!
> [    22.138] (==) fglrx(0): Center Mode is disabled
> [    22.138] (II) Loading sub module "fb"
> [    22.138] (II) LoadModule: "fb"
> [    22.138] (II) Loading /usr/lib/xorg/modules/libfb.so
> [    22.146] (II) Module fb: vendor="X.Org Foundation"
> [    22.146] compiled for 1.10.4, module version = 1.0.0
> [    22.146] ABI class: X.Org ANSI C Emulation, version 0.4
> 
> I also see the following towards the end of xm dmesg on Fusion, I wonder if
> this is related:
> (XEN) traps.c:2559:d0 Domain attempted WRMSR 00000000c0010004 from
> 0x0000000000000000 to 0x000000000000abcd.
> (XEN) APIC error on CPU0: 00(80)
> 
> Does any one have a reason / solution, please?
> 
> -Sahil 
> 
> --
> View this message in context: 
> http://xen.1045712.n5.nabble.com/Blank-screen-while-loading-AMD-ATI-graphics-driver-fglrx-in-Dom0-Linux-3-0-3-2-with-Xen-4-1-4-2-tp5534175p5534175.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.