I really hesitate to post anything about my problem because I figure I'll get dismissive answers due to my unusual setup. However, I'm at my wits end after searching for a solution for a week so I'd appreciate any help/input/direction.
Disclaimer: Sorry if I sound mad or my tone is bad. It's merely frustration and it's not meant to be directed at anyone/thing. I just wish this worked.
Summary:
My goal, as the title suggests, is to run the proprietary fglrx driver on Mint 14 in a Xen Dom0. Everything boots fine loading Mint 14 w/o Xen. Booting w/Xen only works if I pass the 'text' option to the kernel via grub (meaning no X). When attempting to load into X windows from xen I get a black screen (no cursor, no login sound, etc) and when comparing xorg.0.log's it seems the xen version just ends at the point where it would normally print details about the video card.
The first response to this sort of problem, as I've observed elsewhere, is "load the open source driver". I know that's an option and I've actually confirmed that it works (only with Mate). So what's the problem you ask? Support for my video cards seems to be a work in progress according to the xorg radeon feature matrix. 3D support is sketchy and there is no support for HDMI audio if I decide to use it. There is power management, my main concern, but it's said to introduce visual defects (dynPM). In an ideal world I'd be using the open source driver. Now that I got that out of the way some details.
Software:
Mint 14 Cinnamon - I've since installed the Linux-meta-mate package due to another issue and have switched my default session to Mate. I'll probably back everything up and do a fresh install of Mate soon.
Xen 4.1.3 (xen-system-amd64)
fglrx (Amd's official version 13.1 at the moment. I first tried the packages available to mint.)
Custom Kernel built from ubuntu git (branch 3.5.0-17.28)- Now before you point fingers I can confirm that this issue is the same regardless of which kernel I load - stock Mint or my custom. I built the custom because I needed kernel options not turned on in the Mint version. I'm happy to test things on the stock kernel. Just throwing that out there because you can see as much in my Xorg.0.log below.
inxi -SGx (taken w/o Xen):
Code: Select all
System: Host: dvx Kernel: 3.5.5-dom0+ x86_64 (64 bit, gcc: 4.7.2) Desktop: N/A Distro: Linux Mint 14 Nadia
Graphics: Card-1: Advanced Micro Devices [AMD] nee ATI Cape Verde PRO [Radeon HD 7700 Series] bus-ID: 01:00.0
Card-2: Advanced Micro Devices [AMD] nee ATI PITCAIRN [Radeon HD 7800] bus-ID: 02:00.0
X.Org: 1.13.0 driver: fglrx Resolution: 1680x1050@60.0hz
GLX Renderer: AMD Radeon HD 7700 Series GLX Version: 4.2.12002 - CPC 9.012 Direct Rendering: Yes
Code: Select all
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Code: Select all
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 14.319] X Protocol Version 11, Revision 0
[ 14.319] Build Operating System: Linux 3.2.0-32-generic x86_64 Ubuntu
[ 14.319] Current Operating System: Linux dvx 3.5.5-dom0+ #1 SMP Thu Apr 4 20:14:51 MST 2013 x86_64
[ 14.319] Kernel command line: BOOT_IMAGE=/vmlinuz-3.5.5-dom0+ root=/dev/mapper/xen-root ro quiet splash vt.handoff=7
[ 14.319] Build Date: 27 November 2012 07:44:35AM
[ 14.319] xorg-server 2:1.13.0-0ubuntu6.1 (For technical support please see http://www.ubuntu.com/support)
[ 14.319] Current version of pixman: 0.26.0
[ 14.319] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 14.319] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 14.319] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 8 07:38:24 2013
[ 14.320] (==) Using config file: "/etc/X11/xorg.conf"
[ 14.320] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 14.331] (==) ServerLayout "aticonfig Layout"
[ 14.331] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[ 14.331] (**) | |-->Monitor "aticonfig-Monitor[0]-0"
[ 14.332] (**) | |-->Device "aticonfig-Device[0]-0"
[ 14.332] (==) Automatically adding devices
[ 14.332] (==) Automatically enabling devices
[ 14.332] (==) Automatically adding GPU devices
[ 14.336] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 14.336] Entry deleted from font path.
[ 14.336] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 14.336] Entry deleted from font path.
[ 14.336] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 14.336] Entry deleted from font path.
[ 14.347] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 14.347] Entry deleted from font path.
[ 14.347] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 14.347] Entry deleted from font path.
[ 14.347] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 14.347] Entry deleted from font path.
[ 14.347] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 14.347] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 14.347] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 14.347] (II) Loader magic: 0x7f4ae07cdc40
[ 14.347] (II) Module ABI versions:
[ 14.347] X.Org ANSI C Emulation: 0.4
[ 14.347] X.Org Video Driver: 13.0
[ 14.347] X.Org XInput driver : 18.0
[ 14.347] X.Org Server Extension : 7.0
[ 14.351] (--) PCI:*(0:1:0:0) 1002:683f:1682:3242 rev 0, Mem @ 0xc0000000/268435456, 0xfea00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[ 14.351] (--) PCI: (0:2:0:0) 1002:6818:1682:3250 rev 0, Mem @ 0xb0000000/268435456, 0xfe900000/262144, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[ 14.351] (II) Open ACPI successful (/var/run/acpid.socket)
[ 14.351] Initializing built-in extension Generic Event Extension
[ 14.351] Initializing built-in extension SHAPE
[ 14.351] Initializing built-in extension MIT-SHM
[ 14.351] Initializing built-in extension XInputExtension
[ 14.351] Initializing built-in extension XTEST
[ 14.351] Initializing built-in extension BIG-REQUESTS
[ 14.351] Initializing built-in extension SYNC
[ 14.351] Initializing built-in extension XKEYBOARD
[ 14.351] Initializing built-in extension XC-MISC
[ 14.352] Initializing built-in extension SECURITY
[ 14.352] Initializing built-in extension XINERAMA
[ 14.352] Initializing built-in extension XFIXES
[ 14.352] Initializing built-in extension RENDER
[ 14.352] Initializing built-in extension RANDR
[ 14.352] Initializing built-in extension COMPOSITE
[ 14.352] Initializing built-in extension DAMAGE
[ 14.352] Initializing built-in extension MIT-SCREEN-SAVER
[ 14.352] Initializing built-in extension DOUBLE-BUFFER
[ 14.352] Initializing built-in extension RECORD
[ 14.352] Initializing built-in extension DPMS
[ 14.352] Initializing built-in extension X-Resource
[ 14.352] Initializing built-in extension XVideo
[ 14.352] Initializing built-in extension XVideo-MotionCompensation
[ 14.352] Initializing built-in extension XFree86-VidModeExtension
[ 14.352] Initializing built-in extension XFree86-DGA
[ 14.352] Initializing built-in extension XFree86-DRI
[ 14.352] Initializing built-in extension DRI2
[ 14.352] (II) "glx" will be loaded by default.
[ 14.352] (II) LoadModule: "glx"
[ 14.364] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/extensions/libglx.so
[ 14.364] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[ 14.364] compiled for 6.9.0, module version = 1.0.0
[ 14.365] Loading extension GLX
[ 14.365] (II) LoadModule: "fglrx"
[ 14.365] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so
[ 14.388] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[ 14.388] compiled for 1.4.99.906, module version = 9.1.11
[ 14.388] Module class: X.Org Video Driver
[ 14.388] (II) Loading sub module "fglrxdrm"
[ 14.388] (II) LoadModule: "fglrxdrm"
[ 14.388] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/linux/libfglrxdrm.so
[ 14.388] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[ 14.388] compiled for 1.4.99.906, module version = 9.1.11
[ 14.388] (II) AMD Proprietary Linux Driver Version Identifier:9.01.11
[ 14.388] (II) AMD Proprietary Linux Driver Release Identifier: 9.012
[ 14.388] (II) AMD Proprietary Linux Driver Build Date: Dec 19 2012 14:41:10
[ 14.388] (++) using VT number 8
[ 14.391] (WW) Falling back to old probe method for fglrx
[ 14.407] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[ 14.411] ukiDynamicMajor: found major device number 249
[ 14.411] ukiDynamicMajor: found major device number 249
[ 14.411] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 14.411] ukiOpenDevice: node name is /dev/ati/card0
[ 14.411] ukiOpenDevice: open result is 10, (OK)
[ 14.468] ukiOpenByBusid: ukiOpenMinor returns 10
[ 14.468] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@2:0:0) found
[ 14.470] (--) Chipset Supported AMD Graphics Processor (0x683F) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:0:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:0:2) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:2:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:3:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:9:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:10:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:1) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:5) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:2) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:3) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:0) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:2) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[ 14.470] (WW) fglrx: No matching Device section for instance (BusID PCI:0@2:0:1) found
[ 14.470] (**) ChipID override: 0x6818
[ 14.470] (**) Chipset Supported AMD Graphics Processor (0x6818) found
[ 14.470] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[ 14.470] (II) AMD Video driver is signed
[ 14.470] (II) fglrx(0): pEnt->device->identifier=0x7f4ae25bac50
[ 14.470] (II) pEnt->device->identifier=(nil)
[ 14.471] (II) fglrx(0): === [xdl_xs113_atiddxPreInit] === begin
[ 14.471] (II) Loading sub module "vgahw"
[ 14.471] (II) LoadModule: "vgahw"
[ 14.472] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 14.472] (II) Module vgahw: vendor="X.Org Foundation"
[ 14.472] compiled for 1.13.0, module version = 0.1.0
[ 14.472] ABI class: X.Org Video Driver, version 13.0
[ 14.472] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
[ 14.472] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 14.472] (==) fglrx(0): Default visual is TrueColor
[ 14.472] (**) fglrx(0): Option "DPMS" "true"
[ 14.472] (==) fglrx(0): RGB weight 888
[ 14.472] (II) fglrx(0): Using 8 bits per RGB
[ 14.472] (==) fglrx(0): Buffer Tiling is ON
[ 14.472] (II) Loading sub module "fglrxdrm"
[ 14.472] (II) LoadModule: "fglrxdrm"
[ 14.473] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/linux/libfglrxdrm.so
[ 14.473] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[ 14.473] compiled for 1.4.99.906, module version = 9.1.11
[ 14.475] ukiDynamicMajor: found major device number 249
[ 14.475] ukiDynamicMajor: found major device number 249
[ 14.475] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 14.475] ukiOpenDevice: node name is /dev/ati/card0
[ 14.475] ukiOpenDevice: open result is 14, (OK)
[ 14.475] ukiOpenByBusid: ukiOpenMinor returns 14
[ 14.475] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 14.475] ukiDynamicMajor: found major device number 249
[ 14.475] ukiDynamicMajor: found major device number 249
[ 14.475] ukiOpenByBusid: Searching for BusID PCI:2:0:0
[ 14.475] ukiOpenDevice: node name is /dev/ati/card0
[ 14.475] ukiOpenDevice: open result is 15, (OK)
[ 14.475] ukiOpenByBusid: ukiOpenMinor returns 15
[ 14.475] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 14.475] ukiOpenDevice: node name is /dev/ati/card1
[ 14.750] ukiOpenDevice: open result is 15, (OK)
[ 14.750] ukiOpenByBusid: ukiOpenMinor returns 15
[ 14.750] ukiOpenByBusid: ukiGetBusid reports PCI:2:0:0
[ 14.750] (**) fglrx(0): NoAccel = NO
[ 14.750] (**) fglrx(0): AMD 2D Acceleration Architecture enabled
[ 14.750] (--) fglrx(0): Chipset: "AMD Radeon HD 7700 Series " (Chipset = 0x683f)
[ 14.750] (--) fglrx(0): (PciSubVendor = 0x1682, PciSubDevice = 0x3242)
[ 14.750] (==) fglrx(0): board vendor info: third party graphics adapter - NOT original AMD
[ 14.750] (--) fglrx(0): Linear framebuffer (phys) at 0xc0000000
[ 14.750] (--) fglrx(0): MMIO registers at 0xfea00000
[ 14.750] (--) fglrx(0): I/O port at 0x0000e000
[ 14.751] (==) fglrx(0): ROM-BIOS at 0x000c0000
[ 14.758] (II) fglrx(0): AC Adapter is used
[ 14.772] (II) fglrx(0): Primary V_BIOS segment is: 0xc000
Code: Select all
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 20.039] X Protocol Version 11, Revision 0
[ 20.039] Build Operating System: Linux 3.2.0-32-generic x86_64 Ubuntu
[ 20.039] Current Operating System: Linux dvx 3.5.5-dom0+ #1 SMP Thu Apr 4 20:14:51 MST 2013 x86_64
[ 20.039] Kernel command line: placeholder root=/dev/mapper/xen-root ro nomodeset quiet splash xen-pciback.hide=(02:00.0)(02:00.1) radeon.blacklist=1
[ 20.040] Build Date: 27 November 2012 07:44:35AM
[ 20.040] xorg-server 2:1.13.0-0ubuntu6.1 (For technical support please see http://www.ubuntu.com/support)
[ 20.040] Current version of pixman: 0.26.0
[ 20.040] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 20.040] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 20.040] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 8 07:36:37 2013
[ 20.040] (==) Using config file: "/etc/X11/xorg.conf"
[ 20.040] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 20.046] (==) ServerLayout "aticonfig Layout"
[ 20.046] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[ 20.046] (**) | |-->Monitor "aticonfig-Monitor[0]-0"
[ 20.046] (**) | |-->Device "aticonfig-Device[0]-0"
[ 20.046] (==) Automatically adding devices
[ 20.046] (==) Automatically enabling devices
[ 20.046] (==) Automatically adding GPU devices
[ 20.059] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 20.059] Entry deleted from font path.
[ 20.059] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 20.059] Entry deleted from font path.
[ 20.059] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 20.059] Entry deleted from font path.
[ 20.070] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 20.070] Entry deleted from font path.
[ 20.070] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 20.070] Entry deleted from font path.
[ 20.070] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 20.070] Entry deleted from font path.
[ 20.070] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 20.070] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 20.070] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 20.070] (II) Loader magic: 0x7f88687d5c40
[ 20.070] (II) Module ABI versions:
[ 20.070] X.Org ANSI C Emulation: 0.4
[ 20.070] X.Org Video Driver: 13.0
[ 20.070] X.Org XInput driver : 18.0
[ 20.070] X.Org Server Extension : 7.0
[ 20.073] (--) PCI:*(0:1:0:0) 1002:683f:1682:3242 rev 0, Mem @ 0xc0000000/268435456, 0xfea00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[ 20.073] (--) PCI: (0:2:0:0) 1002:6818:1682:3250 rev 0, Mem @ 0xb0000000/268435456, 0xfe900000/262144, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[ 20.074] (II) Open ACPI successful (/var/run/acpid.socket)
[ 20.074] Initializing built-in extension Generic Event Extension
[ 20.074] Initializing built-in extension SHAPE
[ 20.074] Initializing built-in extension MIT-SHM
[ 20.074] Initializing built-in extension XInputExtension
[ 20.074] Initializing built-in extension XTEST
[ 20.074] Initializing built-in extension BIG-REQUESTS
[ 20.074] Initializing built-in extension SYNC
[ 20.074] Initializing built-in extension XKEYBOARD
[ 20.074] Initializing built-in extension XC-MISC
[ 20.074] Initializing built-in extension SECURITY
[ 20.074] Initializing built-in extension XINERAMA
[ 20.074] Initializing built-in extension XFIXES
[ 20.074] Initializing built-in extension RENDER
[ 20.074] Initializing built-in extension RANDR
[ 20.074] Initializing built-in extension COMPOSITE
[ 20.074] Initializing built-in extension DAMAGE
[ 20.074] Initializing built-in extension MIT-SCREEN-SAVER
[ 20.074] Initializing built-in extension D