[plug] Ubuntu 12.04 headless with nvidia
Shanon Loughton
autobot at iinet.net.au
Thu Jul 12 14:30:28 WST 2012
I had thought of that, and its down on the list of things to try.
Eventually. :P
Looks like I got the nvidia module loaded on screen 0 - I assume is the
same as display 0. I did this by configuring a monitor EDID file in
/etc/X11/xorg.conf
as described in that forum link
http://ubuntuforums.org/showthread.php?t=1851330&page=2.
However my test for finding out about properties of display 0, such as '$
xrandr -d 0' report that it cant open display 0. So its either not there,
or there and not reachable, such as a permission issue.
The Xorg.log looks ok, attached below.
cheers
Shanon
/var/log/Xorg.0.log:
[ 1040.867]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 1040.867] X Protocol Version 11, Revision 0
[ 1040.867] Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
[ 1040.867] Current Operating System: Linux cmphysical 3.2.0-23-generic
#36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64
[ 1040.867] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.
0-23-generic root=UUID=2f59abf8-e91c-42f6-b72a-5469ab4d0d87 ro quiet splash
vt.handoff=7
[ 1040.867] Build Date: 05 April 2012 04:32:37AM
[ 1040.867] xorg-server 2:1.11.4-0ubuntu10 (For technical support please
see http://www.ubuntu.com/support)
[ 1040.867] Current version of pixman: 0.24.4
[ 1040.867] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1040.867] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1040.867] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 12
12:50:39 2012
[ 1040.868] (==) Using config file: "/etc/X11/xorg.conf"
[ 1040.868] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1040.868] (==) ServerLayout "Layout0"
[ 1040.868] (**) |-->Screen "Screen0" (0)
[ 1040.868] (**) | |-->Monitor "Monitor0"
[ 1040.868] (**) | |-->Device "Device0"
[ 1040.868] (**) |-->Input Device "Keyboard0"
[ 1040.868] (**) |-->Input Device "Mouse0"
[ 1040.868] (==) Automatically adding devices
[ 1040.868] (==) Automatically enabling devices
[ 1040.868] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
exist.
[ 1040.868] Entry deleted from font path.
[ 1040.868] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not
exist.
[ 1040.868] Entry deleted from font path.
[ 1040.868] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not
exist.
[ 1040.868] Entry deleted from font path.
[ 1040.868] (WW) The directory "/usr/share/fonts/X11/100dpi" does not
exist.
[ 1040.868] Entry deleted from font path.
[ 1040.868] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 1040.868] Entry deleted from font path.
[ 1040.868] (WW) The directory
"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 1040.868] Entry deleted from font path.
[ 1040.868] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 1040.868] (==) ModulePath set to
"/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 1040.868] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse'
or 'vmmouse' will be disabled.
[ 1040.868] (WW) Disabling Keyboard0
[ 1040.868] (WW) Disabling Mouse0
[ 1040.868] (II) Loader magic: 0x7f207f3cbb00
[ 1040.868] (II) Module ABI versions:
[ 1040.868] X.Org ANSI C Emulation: 0.4
[ 1040.868] X.Org Video Driver: 11.0
[ 1040.869] X.Org XInput driver : 16.0
[ 1040.869] X.Org Server Extension : 6.0
[ 1040.869] (--) PCI:*(0:1:0:0) 10de:0402:1458:3455 rev 161, Mem @
0xfa000000/16777216, 0xd0000000/268435456, 0xf8000000/33554432, I/O @
0x0000af00/128, BIOS @ 0x????????/131072
[ 1040.869] (II) Open ACPI successful (/var/run/acpid.socket)
[ 1040.869] (II) LoadModule: "extmod"
[ 1040.870] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 1040.870] (II) Module extmod: vendor="X.Org Foundation"
[ 1040.870] compiled for 1.11.3, module version = 1.0.0
[ 1040.870] Module class: X.Org Server Extension
[ 1040.870] ABI class: X.Org Server Extension, version 6.0
[ 1040.870] (II) Loading extension MIT-SCREEN-SAVER
[ 1040.870] (II) Loading extension XFree86-VidModeExtension
[ 1040.870] (II) Loading extension XFree86-DGA
[ 1040.870] (II) Loading extension DPMS
[ 1040.870] (II) Loading extension XVideo
[ 1040.870] (II) Loading extension XVideo-MotionCompensation
[ 1040.870] (II) Loading extension X-Resource
[ 1040.870] (II) LoadModule: "dbe"
[ 1040.871] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 1040.871] (II) Module dbe: vendor="X.Org Foundation"
[ 1040.871] compiled for 1.11.3, module version = 1.0.0
[ 1040.871] Module class: X.Org Server Extension
[ 1040.871] ABI class: X.Org Server Extension, version 6.0
[ 1040.871] (II) Loading extension DOUBLE-BUFFER
[ 1040.871] (II) LoadModule: "glx"
[ 1040.871] (II) Loading
/usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[ 1040.890] (II) Module glx: vendor="NVIDIA Corporation"
[ 1040.890] compiled for 4.0.2, module version = 1.0.0
[ 1040.890] Module class: X.Org Server Extension
[ 1040.890] (II) NVIDIA GLX Module 295.40 Thu Apr 5 21:57:38 PDT 2012
[ 1040.890] (II) Loading extension GLX
[ 1040.890] (II) LoadModule: "record"
[ 1040.890] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 1040.891] (II) Module record: vendor="X.Org Foundation"
[ 1040.891] compiled for 1.11.3, module version = 1.13.0
[ 1040.891] Module class: X.Org Server Extension
[ 1040.891] ABI class: X.Org Server Extension, version 6.0
[ 1040.891] (II) Loading extension RECORD
[ 1040.891] (II) LoadModule: "dri"
[ 1040.891] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 1040.891] (II) Module dri: vendor="X.Org Foundation"
[ 1040.891] compiled for 1.11.3, module version = 1.0.0
[ 1040.891] ABI class: X.Org Server Extension, version 6.0
[ 1040.891] (II) Loading extension XFree86-DRI
[ 1040.891] (II) LoadModule: "dri2"
[ 1040.892] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 1040.892] (II) Module dri2: vendor="X.Org Foundation"
[ 1040.892] compiled for 1.11.3, module version = 1.2.0
[ 1040.892] ABI class: X.Org Server Extension, version 6.0
[ 1040.892] (II) Loading extension DRI2
[ 1040.892] (II) LoadModule: "nvidia"
[ 1040.892] (II) Loading
/usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 1040.893] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1040.893] compiled for 4.0.2, module version = 1.0.0
[ 1040.893] Module class: X.Org Video Driver
[ 1040.893] (II) NVIDIA dlloader X Driver 295.40 Thu Apr 5 21:38:35 PDT
2012
[ 1040.893] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1040.893] (++) using VT number 7
[ 1040.893] (II) Loading sub module "fb"
[ 1040.893] (II) LoadModule: "fb"
[ 1040.893] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 1040.894] (II) Module fb: vendor="X.Org Foundation"
[ 1040.894] compiled for 1.11.3, module version = 1.0.0
[ 1040.894] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1040.894] (II) Loading sub module "wfb"
[ 1040.894] (II) LoadModule: "wfb"
[ 1040.894] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 1040.894] (II) Module wfb: vendor="X.Org Foundation"
[ 1040.894] compiled for 1.11.3, module version = 1.0.0
[ 1040.894] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1040.894] (II) Loading sub module "ramdac"
[ 1040.894] (II) LoadModule: "ramdac"
[ 1040.894] (II) Module "ramdac" already built-in
[ 1040.894] (II) Loading
/usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 1040.894] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 1040.894] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 1040.894] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 1040.894] (==) NVIDIA(0): RGB weight 888
[ 1040.894] (==) NVIDIA(0): Default visual is TrueColor
[ 1040.894] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1040.895] (**) NVIDIA(0): Option "ConnectedMonitor" "CRT-0"
[ 1040.895] (**) NVIDIA(0): Option "CustomEDID"
"CRT-0:/etc/X11/crt-0.edid.bin"
[ 1040.895] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 1040.895] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none";
enabling NoScanout
[ 1040.895] (**) NVIDIA(0): mode
[ 1040.895] (**) NVIDIA(0): Enabling 2D acceleration
[ 1040.895] (**) NVIDIA(0): ConnectedMonitor string: "CRT-0"
[ 1041.972] (WW) NVIDIA(0): NoScanout is only supported on Tesla or Quadro
hardware.
[ 1041.972] (WW) NVIDIA(0): Disabling NoScanout.
[ 1041.975] (II) NVIDIA(GPU-0): Display (ViewSonic VX2423W (CRT-0)) does
not support NVIDIA 3D
[ 1041.975] (II) NVIDIA(GPU-0): Vision stereo.
[ 1041.979] (II) NVIDIA(0): NVIDIA GPU GeForce 8600 GT (G84) at PCI:1:0:0
(GPU-0)
[ 1041.979] (--) NVIDIA(0): Memory: 524288 kBytes
[ 1041.979] (--) NVIDIA(0): VideoBIOS: 60.84.59.00.00
[ 1041.979] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 1041.979] (--) NVIDIA(0): Interlaced video modes are supported on this
GPU
[ 1041.982] (--) NVIDIA(0): Connected display device(s) on GeForce 8600 GT
at PCI:1:0:0
[ 1041.982] (--) NVIDIA(0): ViewSonic VX2423W (CRT-0)
[ 1041.982] (--) NVIDIA(0): ViewSonic VX2423W (CRT-0): 400.0 MHz maximum
pixel clock
[ 1042.067] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the
EDID for display
[ 1042.067] (**) NVIDIA(0): device ViewSonic VX2423W (CRT-0) (Using
EDID frequencies
[ 1042.067] (**) NVIDIA(0): has been enabled on all display devices.)
[ 1042.081] (II) NVIDIA(0): Assigned Display Device: CRT-0
[ 1042.081] (==) NVIDIA(0):
[ 1042.081] (==) NVIDIA(0): No modes were requested; the default mode
"nvidia-auto-select"
[ 1042.081] (==) NVIDIA(0): will be used as the requested mode.
[ 1042.081] (==) NVIDIA(0):
[ 1042.081] (II) NVIDIA(0): Validated modes:
[ 1042.081] (II) NVIDIA(0): "nvidia-auto-select"
[ 1042.081] (**) NVIDIA(0): Virtual screen size configured to be 1024 x 768
[ 1042.114] (--) NVIDIA(0): DPI set to (50, 67); computed from
"UseEdidDpi" X config
[ 1042.114] (--) NVIDIA(0): option
[ 1042.115] (--) Depth 24 pixmap format is 32 bpp
[ 1042.115] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect
memory access.
[ 1042.121] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[ 1042.158] (II) Loading extension NV-GLX
[ 1042.185] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 1042.185] (==) NVIDIA(0): Backing store disabled
[ 1042.185] (==) NVIDIA(0): Silken mouse enabled
[ 1042.185] (**) NVIDIA(0): DPMS enabled
[ 1042.185] (II) Loading extension NV-CONTROL
[ 1042.186] (II) Loading extension XINERAMA
[ 1042.186] (II) Loading sub module "dri2"
[ 1042.186] (II) LoadModule: "dri2"
[ 1042.186] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 1042.186] (II) Module dri2: vendor="X.Org Foundation"
[ 1042.186] compiled for 1.11.3, module version = 1.2.0
[ 1042.186] ABI class: X.Org Server Extension, version 6.0
[ 1042.186] (II) NVIDIA(0): [DRI2] Setup complete
[ 1042.186] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 1042.186] (==) RandR enabled
[ 1042.186] (II) Initializing built-in extension Generic Event Extension
[ 1042.186] (II) Initializing built-in extension SHAPE
[ 1042.186] (II) Initializing built-in extension MIT-SHM
[ 1042.186] (II) Initializing built-in extension XInputExtension
[ 1042.186] (II) Initializing built-in extension XTEST
[ 1042.186] (II) Initializing built-in extension BIG-REQUESTS
[ 1042.186] (II) Initializing built-in extension SYNC
[ 1042.186] (II) Initializing built-in extension XKEYBOARD
[ 1042.186] (II) Initializing built-in extension XC-MISC
[ 1042.186] (II) Initializing built-in extension SECURITY
[ 1042.186] (II) Initializing built-in extension XINERAMA
[ 1042.186] (II) Initializing built-in extension XFIXES
[ 1042.186] (II) Initializing built-in extension RENDER
[ 1042.186] (II) Initializing built-in extension RANDR
[ 1042.186] (II) Initializing built-in extension COMPOSITE
[ 1042.186] (II) Initializing built-in extension DAMAGE
[ 1042.188] (II) Initializing extension GLX
[ 1042.208] (II) XKB: reuse xkmfile
/var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[ 1042.211] (II) config/udev: Adding input device Power Button
(/dev/input/event1)
[ 1042.211] (**) Power Button: Applying InputClass "evdev keyboard
catchall"
[ 1042.211] (II) LoadModule: "evdev"
[ 1042.211] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1042.211] (II) Module evdev: vendor="X.Org Foundation"
[ 1042.212] compiled for 1.11.3, module version = 2.7.0
[ 1042.212] Module class: X.Org XInput Driver
[ 1042.212] ABI class: X.Org XInput driver, version 16.0
[ 1042.212] (II) Using input driver 'evdev' for 'Power Button'
[ 1042.212] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1042.212] (**) Power Button: always reports core events
[ 1042.212] (**) evdev: Power Button: Device: "/dev/input/event1"
[ 1042.212] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 1042.212] (--) evdev: Power Button: Found keys
[ 1042.212] (II) evdev: Power Button: Configuring as keyboard
[ 1042.212] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[ 1042.212] (II) XINPUT: Adding extended input device "Power Button"
(type: KEYBOARD, id 6)
[ 1042.212] (**) Option "xkb_rules" "evdev"
[ 1042.212] (**) Option "xkb_model" "pc105"
[ 1042.212] (**) Option "xkb_layout" "us"
[ 1042.213] (II) config/udev: Adding input device Power Button
(/dev/input/event0)
[ 1042.213] (**) Power Button: Applying InputClass "evdev keyboard
catchall"
[ 1042.213] (II) Using input driver 'evdev' for 'Power Button'
[ 1042.213] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1042.213] (**) Power Button: always reports core events
[ 1042.213] (**) evdev: Power Button: Device: "/dev/input/event0"
[ 1042.213] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 1042.213] (--) evdev: Power Button: Found keys
[ 1042.213] (II) evdev: Power Button: Configuring as keyboard
[ 1042.213] (**) Option "config_info"
"udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[ 1042.213] (II) XINPUT: Adding extended input device "Power Button"
(type: KEYBOARD, id 7)
[ 1042.213] (**) Option "xkb_rules" "evdev"
[ 1042.213] (**) Option "xkb_model" "pc105"
[ 1042.213] (**) Option "xkb_layout" "us"
[ 1042.213] (II) config/udev: Adding input device HDA Intel Line
(/dev/input/event2)
[ 1042.213] (II) No input driver specified, ignoring this device.
[ 1042.213] (II) This device may have been added with another device file.
[ 1042.214] (II) config/udev: Adding input device HDA Intel Front Mic
(/dev/input/event3)
[ 1042.214] (II) No input driver specified, ignoring this device.
[ 1042.214] (II) This device may have been added with another device file.
[ 1042.214] (II) config/udev: Adding input device HDA Intel Rear Mic
(/dev/input/event4)
[ 1042.214] (II) No input driver specified, ignoring this device.
[ 1042.214] (II) This device may have been added with another device file.
[ 1042.214] (II) config/udev: Adding input device HDA Intel Front
Headphone (/dev/input/event5)
[ 1042.214] (II) No input driver specified, ignoring this device.
[ 1042.214] (II) This device may have been added with another device file.
[ 1042.215] (II) config/udev: Adding input device HDA Intel Line-Out
(/dev/input/event6)
[ 1042.215] (II) No input driver specified, ignoring this device.
[ 1042.215] (II) This device may have been added with another device file.
[ 1042.643] (II) NVIDIA(0): Setting mode "1024x768_60"
end
On 12 July 2012 12:37, Onno Benschop <onno at itmaze.com.au> wrote:
> I wonder if you can install a headless server and then install the meta
> ubuntu-desktop package and bypass all of this.
>
> Onno
> On 12/07/2012 11:12 AM, "Leon Wright" <techman83 at gmail.com> wrote:
>
>> On Thu, Jul 12, 2012 at 10:53 AM, Shanon Loughton <autobot at iinet.net.au>wrote:
>>
>>> Thanks guys
>>>
>>> Im in a situation where I can't attach a monitor at the moment at site.
>>> I think the answer is a properly configured xorg.conf but still not sure
>>> how in 12.04.
>>>
>>> Yes traditional VNC doesnt need a display 0. However Im experimenting
>>> with TurboVNC and VirtualGL and it needs a display 0 to render GLX commands
>>> on, then pass to display 1 which is my VNC display.
>>>
>>> I want avoid nouveau driver for now unless I really get stuck with
>>> Nvidia binary - I dont think thats the problem, but rather X/gnome/unity
>>> whatever is.
>>>
>>> cheers
>>> Shanon
>>
>>
>> I'm not sure whether it would work, but have you tried remote X ssh
>> forwarding and running the nvidia config? The yast2 gui is pretty nice so I
>> quite often launch it via ssh instead of dealing with RDP -> VMware Vsphere
>> client or logging into the web page and using the flash based console
>> client.
>>
>> Leon
>>
>> _______________________________________________
>> PLUG discussion list: plug at plug.org.au
>> http://lists.plug.org.au/mailman/listinfo/plug
>> Committee e-mail: committee at plug.org.au
>> PLUG Membership: http://www.plug.org.au/membership
>>
>
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://lists.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.org.au
> PLUG Membership: http://www.plug.org.au/membership
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20120712/51ec6012/attachment.html>
More information about the plug
mailing list