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

Re: [Xen-users] My GPU won't pass through.



Maybe I'm getting this all wrong by the way.

I was under the impression that I first need a graphical environment on my DomU and then connect to that,
but playing around with vnc I now get the impression I can skip that part.

Because my ultimate goal is to work on this DomU remotely.

Folatt

On 06-02-16 11:33, Folatt wrote:
I moved my harddrive to my new computer, my current situation is still this:

- I am not able to start a display/desktop manager.
- Whenever I use 'nano' in my DomU, the resolution drops to 640x480 or even lower, using only part of the screen.

Both Dom0 and DomU are Arch linux (DomU being slightly modified version).

Because Xorg :0 -configure results in video card not found as I'm in a DomU, I created a xorg config file.

/etc/X11/xorg.conf.d/10-monitor.conf

Section "Monitor"
    Identifier             "Monitor0"
EndSection

Section "Device"
    Identifier             "Device0"
    Driver                 "vesa" 
EndSection

Section "Screen"
    Identifier             "Screen0"  
    Device                 "Device0"
    Monitor                "Monitor0"
    DefaultDepth           16 
    SubSection             "Display"
        Depth              16
        Modes              "1024x768_75.00" 
    EndSubSection
EndSection

My startx output:

/var/log/Xorg.0.log

[  3450.215] 
X.Org X Server 1.18.0
Release Date: 2015-11-09
[  3450.215] X Protocol Version 11, Revision 0
[  3450.215] Build Operating System: Linux 4.2.5-1-ARCH x86_64 
[  3450.215] Current Operating System: Linux ArkOS_Dev 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
[  3450.215] Kernel command line: root=UUID=a6ecbc99-beca-4c22-b591-51846a193e25 ro xen-fbfront.video=32,1024,768 root=/dev/xvda rw (null)
[  3450.216] Build Date: 08 January 2016  05:56:16PM
[  3450.216]  
[  3450.216] Current version of pixman: 0.34.0
[  3450.216]    Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  3450.216] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3450.216] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Feb  6 00:34:40 2016
[  3450.217] (==) Using config file: "/etc/X11/xorg.conf"
[  3450.217] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3450.217] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3450.217] (==) No Layout section.  Using the first Screen section.
[  3450.217] (**) |-->Screen "Screen0" (0)
[  3450.217] (**) |   |-->Monitor "Monitor0"
[  3450.218] (**) |   |-->Device "Device0"
[  3450.218] (==) Automatically adding devices
[  3450.218] (==) Automatically enabling devices
[  3450.218] (==) Automatically adding GPU devices
[  3450.218] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3450.218] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[  3450.218] (==) ModulePath set to "/usr/lib/xorg/modules"
[  3450.218] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3450.218] (II) Loader magic: 0x819d40
[  3450.218] (II) Module ABI versions:
[  3450.218]    X.Org ANSI C Emulation: 0.4
[  3450.218]    X.Org Video Driver: 20.0
[  3450.218]    X.Org XInput driver : 22.1
[  3450.218]    X.Org Server Extension : 9.0
[  3450.221] (--) using VT number 2

[  3450.221] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  3450.221] (II) no primary bus or device found
[  3450.222] (II) Open ACPI successful (/var/run/acpid.socket)
[  3450.222] (II) LoadModule: "glx"
[  3450.222] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  3450.226] (II) Module glx: vendor="X.Org Foundation"
[  3450.226]    compiled for 1.18.0, module version = 1.0.0
[  3450.226]    ABI class: X.Org Server Extension, version 9.0
[  3450.226] (==) AIGLX enabled
[  3450.226] (II) LoadModule: "vesa"
[  3450.227] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  3450.227] (II) Module vesa: vendor="X.Org Foundation"
[  3450.227]    compiled for 1.18.0, module version = 2.3.4
[  3450.227]    Module class: X.Org Video Driver
[  3450.227]    ABI class: X.Org Video Driver, version 20.0
[  3450.227] (II) VESA: driver for VESA chipsets: vesa
[  3450.231] (WW) Falling back to old probe method for vesa
[  3450.232] (EE) No devices detected.
[  3450.232] (EE) 
Fatal server error:
[  3450.232] (EE) no screens found(EE) 
[  3450.232] (EE) 

My DomU PV config:

/etc/xen/ArkOS-dev_PV.cfg

name = 'ArkOS_Dev'
bootloader = "pygrub"
#kernel = "/mnt/arch/boot/x86_64/vmlinuz"
#ramdisk = "/mnt/arch/boot/x86_64/archiso.img"
#extra = "archisobasedir=arch archisolabel=ARCH_201511"
memory = 2048
vcpus = 3
disk = [ "format=raw, vdev=xvda, access=rw, target=/dev/vm_volumes/root.ArkOS_Dev",
     "format=raw, vdev=xvdb, access=rw, target=/dev/vm_volumes/swap.ArkOS_Dev"
   ]
vif = [ 'mac=00:16:3e:49:2b:a1,bridge=xenbr0' ]
vfb = ['vnc=1,vnclisten=0.0.0.0']
root = "/dev/xvda rw" 

inxi -F (Dom0)

System:    Host: hypervisor Kernel: 4.4.1-2-ARCH x86_64 (64 bit)
           Console: tty 0 Distro: Arch Linux
Machine:   Mobo: ASRock model: N3700-ITX
           Bios: American Megatrends v: P1.30 date: 08/19/2015
CPU:       Single core Intel Pentium N3700 (-UP-) cache: 1024 KB
           speed: 1600 MHz (max)
Graphics:  Card: Intel Device 22b1
           Display Server: N/A driver: N/A
           tty size: 80x24 Advanced Data: N/A out of X
Audio:     Card Intel Device 2284 driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.4.1-2-ARCH
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: enp3s0 state: up speed: 100 Mbps duplex: full
           mac: d0:50:99:8f:1e:31
Drives:    HDD Total Size: 120.0GB (7.8% used)
           ID-1: /dev/sda model: OCZ size: 120.0GB
Partition: ID-1: / size: 16G used: 6.8G (44%) fs: btrfs dev: /dev/sda2
           ID-2: /boot size: 511M used: 41M (8%) fs: vfat dev: /dev/sda1
           ID-3: swap-1 size: 2.15GB used: 1.32GB (61%) fs: swap dev: /dev/sda4
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 101 Uptime: 0 min Memory: 901.9/927.2MB Init: systemd
           Client: Shell (bash) inxi: 2.2.32 

inxi -F (DomU)

System:    Host: ArkOS_Dev Kernel: 4.4.1-2-ARCH x86_64 (64 bit) Console: tty 0 Distro: Arch Linux
Machine:   No /sys/class/dmi; using dmidecode: dmidecode is not installed.
CPU:       Single core Intel Pentium N3700 (-) cache: 1024 KB 
           clock speeds: max: 1600 MHz 1: 1600 MHz 2: 1600 MHz 3: 1600 MHz
Graphics:  Card: Failed to Detect Video Card!
           Display Server: X.org 1.18.0 driver: vesa tty size: 117x34 Advanced Data: N/A out of X
Network:   Card: Failed to Detect Network Card!
Drives:    HDD Total Size: 95.9GB (4.6% used) ID-1: /dev/xvda model: N/A size: 93.7GB
           ID-2: /dev/xvdb model: N/A size: 2.1GB
Partition: ID-1: / size: 86G used: 4.1G (6%) fs: ext4 dev: /dev/xvda
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 73 Uptime: 1 min Memory: 84.7/1997.3MB Init: systemd     
           Client: Shell (bash) inxi: 2.2.32 


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

_______________________________________________
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®.