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

Re: [Xen-users] Help with VGA passthrough


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: Brian Menges <bmenges@xxxxxxxxxx>
  • Date: Thu, 26 Jun 2014 16:00:33 +0000
  • Accept-language: en-US
  • Delivery-date: Thu, 26 Jun 2014 16:00:56 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=january; d=gogrid.com; h=Received:Received:From:To:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:x-originating-ip:Content-Type:Content-Transfer-Encoding:MIME-Version; b=GaaradhXsLnM4qMeTv1AxHw4nh4zjfnx4cckpR3YTD8JwjkgoI5A1BkkufeWWG+BQr0lHe0S3DOq3d45CJWWuRc/9pIBFr/CcMDPCIx4TuYJzAI0cp6ZvwUUGNKYFwO+;
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: Ac+PyLUqZBBtgkzTSVapV2xYr4nMbAATrhXgACQWiAAACDAqEAAdMRAAAARCqeAAEEuJAAAOBkVQ
  • Thread-topic: [Xen-users] Help with VGA passthrough

Looks like it isn't using the driver correctly?
-----
[     9.758]
X.Org X Server 1.14.5
Release Date: 2013-12-12
[     9.758] X Protocol Version 11, Revision 0
[     9.758] Build Operating System: Linux 2.6.42-37-generic x86_64 Ubuntu
[     9.758] Current Operating System: Linux bmenges-linux3 3.11.0-23-generic 
#40~precise1-Ubuntu SMP Wed Jun 4 22:06:36 UTC 2014 x86_64
[     9.758] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-23-generic 
root=UUID=784a946b-24ff-4fc7-b527-f5e822b17abd ro quiet splash iommu=soft 
swiotlb=force vt.handoff=7
[     9.758] Build Date: 06 January 2014  01:37:48PM
[     9.758] xorg-server 2:1.14.5-1ubuntu2~saucy1~precise2 (For technical 
support please see http://www.ubuntu.com/support)
[     9.758] Current version of pixman: 0.30.2
[     9.758]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[     9.758] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.758] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 26 08:15:53 
2014
[     9.803] (==) Using config file: "/etc/X11/xorg.conf"
[     9.803] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     9.893] (==) ServerLayout "aticonfig Layout"
[     9.893] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[     9.893] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[     9.905] (**) |   |-->Device "aticonfig-Device[0]-0"
[     9.905] (==) Automatically adding devices
[     9.905] (==) Automatically enabling devices
[     9.905] (==) Automatically adding GPU devices
[     9.944] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     9.944]    Entry deleted from font path.
[     9.944] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[     9.944]    Entry deleted from font path.
[     9.944] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[     9.944]    Entry deleted from font path.
[     9.960] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[     9.960]    Entry deleted from font path.
[     9.960] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[     9.960]    Entry deleted from font path.
[     9.960] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[     9.960] (==) ModulePath set to 
"/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[     9.960] (II) The server relies on udev to provide the list of input 
devices.
        If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[     9.966] (II) Loader magic: 0x7f6ad345fc20
[     9.966] (II) Module ABI versions:
[     9.966]    X.Org ANSI C Emulation: 0.4
[     9.966]    X.Org Video Driver: 14.1
[     9.966]    X.Org XInput driver : 19.1
[     9.966]    X.Org Server Extension : 7.0
[     9.973] (--) PCI:*(0:0:2:0) 1013:00b8:5853:0001 rev 0, Mem @ 
0xf0000000/33554432, 0xf3044000/4096
[     9.973] (--) PCI: (0:0:5:0) 1002:6779:1682:3207 rev 0, Mem @ 
0xe0000000/268435456, 0xf3000000/131072, I/O @ 0x0000c200/256, BIOS @ 
0x????????/131072
[     9.973] (II) Open ACPI successful (/var/run/acpid.socket)
[     9.976] Initializing built-in extension Generic Event Extension
[     9.976] Initializing built-in extension SHAPE
[     9.976] Initializing built-in extension MIT-SHM
[     9.976] Initializing built-in extension XInputExtension
[     9.976] Initializing built-in extension XTEST
[     9.976] Initializing built-in extension BIG-REQUESTS
[     9.976] Initializing built-in extension SYNC
[     9.976] Initializing built-in extension XKEYBOARD
[     9.976] Initializing built-in extension XC-MISC
[     9.976] Initializing built-in extension SECURITY
[     9.976] Initializing built-in extension XINERAMA
[     9.976] Initializing built-in extension XFIXES
[     9.976] Initializing built-in extension RENDER
[     9.976] Initializing built-in extension RANDR
[     9.976] Initializing built-in extension COMPOSITE
[     9.976] Initializing built-in extension DAMAGE
[     9.976] Initializing built-in extension MIT-SCREEN-SAVER
[     9.976] Initializing built-in extension DOUBLE-BUFFER
[     9.976] Initializing built-in extension RECORD
[     9.976] Initializing built-in extension DPMS
[     9.976] Initializing built-in extension X-Resource
[     9.976] Initializing built-in extension XVideo
[     9.976] Initializing built-in extension XVideo-MotionCompensation
[     9.976] Initializing built-in extension XFree86-VidModeExtension
[     9.976] Initializing built-in extension XFree86-DGA
[     9.976] Initializing built-in extension XFree86-DRI
[     9.976] Initializing built-in extension DRI2
[     9.976] (II) "glx" will be loaded. This was enabled by default and also 
specified in the config file.
[     9.976] (II) LoadModule: "glx"
[    10.098] (II) Loading 
/usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/extensions/libglx.so
[    10.157] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[    10.157]    compiled for 6.9.0, module version = 1.0.0
[    10.157] Loading extension GLX
[    10.157] (II) LoadModule: "fglrx"
[    10.215] (II) Loading 
/usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/drivers/fglrx_drv.so
[    10.912] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[    10.912]    compiled for 1.4.99.906, module version = 13.25.5
[    10.912]    Module class: X.Org Video Driver
[    10.913] (II) Loading sub module "fglrxdrm"
[    10.913] (II) LoadModule: "fglrxdrm"
[    10.925] (II) Loading 
/usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/linux/libfglrxdrm.so
[    10.947] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[    10.947]    compiled for 1.4.99.906, module version = 13.25.5
[    10.947] (II) AMD Proprietary Linux Driver Version Identifier:13.25.5
[    10.947] (II) AMD Proprietary Linux Driver Release Identifier: 13.251
[    10.947] (II) AMD Proprietary Linux Driver Build Date: Dec  6 2013 15:19:03
[    10.947] (++) using VT number 7

[    10.947] (WW) Falling back to old probe method for fglrx
[    11.149] (II) Loading PCS database from /etc/ati/amdpcsdb 
/etc/ati/amdpcsdb.default
[    11.152] ukiDynamicMajor: found major device number 250
[    11.152] ukiDynamicMajor: found major device number 250
[    11.152] ukiOpenByBusid: Searching for BusID PCI:0:5:0
[    11.152] ukiOpenDevice: node name is /dev/ati/card0
[    11.152] ukiOpenDevice: open result is 10, (OK)
-----

- Brian Menges
Principal Engineer, DevOps
GoGrid | ServePath | ColoServe | UpStream Networks

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxx] 
On Behalf Of Gordan Bobic
Sent: Thursday, June 26, 2014 08:43
To: xen-users@xxxxxxxxxxxxx
Subject: Re: [Xen-users] Help with VGA passthrough

On 2014-06-26 16:20, Brian Menges wrote:
> [root@xs ~]# lsmod | grep pciback
> [root@xs ~]# echo $?
> 1
> [root@xs ~]# modprobe pciback
> FATAL: Module pciback not found.

Try:
modprobe xen-pciback

> Xenserver 6.2 appears to be a CentOS 5.x (maybe 5.6) box.

Ah - my bad. It must be Xenserver 7 that is based on EL6.

> I installed the proprietary drivers in an Ubuntu 12.04 LTS VM, and it
> won't get past the splash screen (xencenter display) now after gpu
> assignment (console or gui). The Ubuntu drivers appear to do nothing;
> however:
>
> $ dmesg | grep -E '(fglrx|ATI|radeon|pci)'
> [    0.188377] PCI: Using host bridge windows from ACPI; if necessary,
> use "pci=nocrs" and report a bug
> [    0.251997] pci_bus 0000:00: root bus resource [bus 00-ff]
> [    0.252000] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7]
> [    0.252000] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff]
> [    0.252000] pci_bus 0000:00: root bus resource [mem
> 0x000a0000-0x000bffff]
> [    0.252000] pci_bus 0000:00: root bus resource [mem
> 0xe0000000-0xfbffffff]
> [    0.252062] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
> [    0.253138] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
> [    0.254100] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
> [    0.254730] pci 0000:00:01.1: reg 0x20: [io  0xc320-0xc32f]
> [    0.255652] pci 0000:00:01.2: [8086:7020] type 00 class 0x0c0300
> [    0.256222] pci 0000:00:01.2: reg 0x20: [io  0xc300-0xc31f]
> [    0.257100] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
> [    0.257833] pci 0000:00:01.3: quirk: [io  0x1f40-0x1f7f] claimed by
> PIIX4 ACPI
> [    0.258529] pci 0000:00:02.0: [1013:00b8] type 00 class 0x030000
> [    0.258684] pci 0000:00:02.0: reg 0x10: [mem 0xf0000000-0xf1ffffff
> pref]
> [    0.258799] pci 0000:00:02.0: reg 0x14: [mem 0xf3044000-0xf3044fff]
> [    0.259758] pci 0000:00:03.0: [5853:0001] type 00 class 0x010000
> [    0.259970] pci 0000:00:03.0: reg 0x10: [io  0xc000-0xc0ff]
> [    0.260101] pci 0000:00:03.0: reg 0x14: [mem 0xf2000000-0xf2ffffff
> pref]
> [    0.261722] pci 0000:00:05.0: [1002:6779] type 00 class 0x030000
> [    0.268018] pci 0000:00:05.0: reg 0x10: [mem 0xe0000000-0xefffffff
> 64bit pref]
> [    0.276017] pci 0000:00:05.0: reg 0x18: [mem 0xf3000000-0xf301ffff
> 64bit]
> [    0.284008] pci 0000:00:05.0: reg 0x20: [io  0xc200-0xc2ff]
> [    0.300024] pci 0000:00:05.0: reg 0x30: [mem 0xf3020000-0xf303ffff
> pref]
> [    0.301115] pci 0000:00:05.0: supports D1 D2
> [    0.301887] pci 0000:00:06.0: [1002:aa98] type 00 class 0x040300
> [    0.302169] pci 0000:00:06.0: reg 0x10: [mem 0xf3040000-0xf3043fff
> 64bit]
> [    0.303969] pci 0000:00:06.0: supports D1 D2
> [    0.332081] PCI: pci_cache_line_size set to 64 bytes
> [    1.309926] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7]
> [    1.309930] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff]
> [    1.309933] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
> [    1.309935] pci_bus 0000:00: resource 7 [mem 0xe0000000-0xfbffffff]
> [    1.310908] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
> [    1.310954] pci 0000:00:01.0: PIIX3: Enabling Passive Release
> [    1.311000] pci 0000:00:01.0: Activating ISA DMA hang workarounds
> [    1.312047] pci 0000:00:02.0: Boot video device
> [    1.312215] pci 0000:00:05.0: Boot video device
> [    1.534735] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> [    1.534744] pciehp: PCI Express Hot Plug Controller Driver version:
> 0.4
> [    1.576902] ehci-pci: EHCI PCI platform driver
> [    1.576942] ohci-pci: OHCI PCI platform driver
> [    1.692123] xenbus_probe_frontend: Device with no driver:
> device/pci/0
> [    6.180380] fglrx: module license 'Proprietary. (C) 2002 - ATI
> Technologies, Starnberg, GERMANY' taints kernel.
> [    6.185911] fglrx: module verification failed: signature and/or
> required key missing - tainting kernel
> [    6.193979] <6>[fglrx] Maximum main memory to use for locked dma
> buffers: 7247 MBytes.
> [    6.194094] <6>[fglrx]   vendor: 1002 device: 6779 count: 1
> [    6.194835] <6>[fglrx] ioport: bar 4, base 0xc200, size: 0x100
> [    6.195932] <6>[fglrx] Kernel PAT support is enabled
> [    6.195960] <6>[fglrx] module loaded - fglrx 14.10.2 [May  5 2014]
> with 1 minors
> [    6.753214] input: QEMU 0.10.2 QEMU USB Tablet as
> /devices/pci0000:00/0000:00:01.2/usb1/1-2/1-2:1.0/input/input3
> [    6.764783] input: HD-Audio Generic HDMI/DP,pcm=3 as
> /devices/pci0000:00/0000:00:06.0/sound/card0/input4
> [   11.494543] <6>[fglrx] Firegl kernel thread PID: 1260
> [   11.494773] <6>[fglrx] Firegl kernel thread PID: 1261
> [   11.495004] <6>[fglrx] Firegl kernel thread PID: 1262
> [   11.495154] <6>[fglrx] IRQ 78 Enabled
> [   11.541569] <6>[fglrx] Reserved FB block: Shared offset:0,
> size:1000000
> [   11.541571] <6>[fglrx] Reserved FB block: Unshared offset:f838000,
> size:4000
> [   11.541572] <6>[fglrx] Reserved FB block: Unshared offset:f83c000,
> size:4c4000
> [   11.541573] <6>[fglrx] Reserved FB block: Unshared offset:7fff4000,
> size:c000
>
> So my last boot I got in via SSH, however the displays aren't working.
> I first tried the HDMI (HDMI - HDMI) display then the DVI (DVI ->
> DisplayPort) display and my monitor isn't showing anything. Wodnering
> what I'm missing to get this display up and running.

So it looks like fglrx loads successfully and finds the hardware. So far so 
good. Can you check what your Xorg log says?

Gordan

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

________________________________

The information contained in this message, and any attachments, may contain 
confidential and legally privileged material. It is solely for the use of the 
person or entity to which it is addressed. Any review, retransmission, 
dissemination, or action taken in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you receive this 
in error, please contact the sender and delete the material from any computer.

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


 


Rackspace

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