sahilsuneja
2012-Mar-03 18:57 UTC
Blank screen while loading AMD/ATI graphics driver (fglrx) in Dom0 (Linux 3.0/3.2) with Xen 4.1/4.2
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). 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.
Alan Cox
2012-Mar-04 00:03 UTC
Re: Blank screen while loading AMD/ATI graphics driver (fglrx) in Dom0 (Linux 3.0/3.2) with Xen 4.1/4.2
> 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).So try the open source one - then you might at least be able to debug the problem.> 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?Ask AMD - they have the Xen code, nobody else has their bits. Alan
sahilsuneja
2012-Mar-04 00:35 UTC
Re: Blank screen while loading AMD/ATI graphics driver (fglrx) in Dom0 (Linux 3.0/3.2) with Xen 4.1/4.2
> So try the open source one - then you might at least be able to debug theproblem. I already did that; Dom0 boots up without issues with the open source RADEON driver, however the xm dmesg errors remain.> Ask AMD - they have the Xen code, nobody else has their bits.Really? Thanks. -- 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-tp5534175p5534618.html Sent from the Xen - Dev mailing list archive at Nabble.com.
Konrad Rzeszutek Wilk
2012-Mar-12 19:59 UTC
Re: 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@lists.xen.org > http://lists.xen.org/xen-devel
sahilsuneja
2012-Mar-13 17:16 UTC
Re: Blank screen while loading AMD/ATI graphics driver (fglrx) in Dom0 (Linux 3.0/3.2) with Xen 4.1/4.2
Wow, that does indeed solve the problem. Thanks a lot Konrad, I guess I should have used the linux kernel from your or Jeremy''s git repo in the first place itself. But, on my machine with the discrete graphics card, xen worked on ubuntu''s native linux-3.2 kernel, and hence I never gave it a thought to try a kernel from the xen-linux git repos (which I''ve always done before). Regards, 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-tp5534175p5561724.html Sent from the Xen - Dev mailing list archive at Nabble.com.
Konrad Rzeszutek Wilk
2012-Mar-13 17:33 UTC
Re: Blank screen while loading AMD/ATI graphics driver (fglrx) in Dom0 (Linux 3.0/3.2) with Xen 4.1/4.2
On Tue, Mar 13, 2012 at 10:16:35AM -0700, sahilsuneja wrote:> Wow, that does indeed solve the problem. > Thanks a lot Konrad, I guess I should have used the linux kernel from your > or Jeremy''s git repo in the first place itself. But, on my machine with the > discrete graphics card, xen worked on ubuntu''s native linux-3.2 kernel, and > hence I never gave it a thought to try a kernel from the xen-linux git repos > (which I''ve always done before).Right. That is b/c the built-in drivers - radeon and nouveau work without any issues. Third-party drivers are a different case and require some tweaking.> > Regards, > 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-tp5534175p5561724.html > Sent from the Xen - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
sahilsuneja
2012-Mar-13 22:31 UTC
Re: Blank screen while loading AMD/ATI graphics driver (fglrx) in Dom0 (Linux 3.0/3.2) with Xen 4.1/4.2
> Right. That is b/c the built-in drivers - radeon and nouveau work without > any issues. Third-party drivers are a different case and require some > tweaking.Hmm, and I am guessing in the discrete graphics card case, fglrx driver loading doesn''t need to access the low 1MB mem region to obtain the "video bios signature" as it gets this from the pci mapped memory region instead? -- 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-tp5534175p5562815.html Sent from the Xen - Dev mailing list archive at Nabble.com.
Konrad Rzeszutek Wilk
2012-Mar-13 22:35 UTC
Re: Blank screen while loading AMD/ATI graphics driver (fglrx) in Dom0 (Linux 3.0/3.2) with Xen 4.1/4.2
On Tue, Mar 13, 2012 at 03:31:03PM -0700, sahilsuneja wrote:> > Right. That is b/c the built-in drivers - radeon and nouveau work without > > any issues. Third-party drivers are a different case and require some > > tweaking. > > Hmm, and I am guessing in the discrete graphics card case, fglrx driver > loading doesn''t need to access the low 1MB mem region to obtain the "video > bios signature" as it gets this from the pci mapped memory region instead?The other way around.