Hello!
I'm running Ubuntu as a guest virtual machine (via VirtualBox) on a Windows 7 machine and have a LOT of problems with getting the graphics to work properly... I've tried for a couple of days now without success. I don't know if the problem is with VirtualBox or Ubuntu, but I'll try to post it here if anyone has any suggestions. First, some info:
--------------------------------------------------------------
Host OS: Windows 7 (64bit)
Guest OS: Ubuntu 10.10 (64bit), linux kernel 2.6.35-22
Graphics card: NVIDIA Quadro 600
---------------------------------------------------------------
BEFORE installing any NVIDIA graphics card drivers in Ubuntu, I have this "/etc/X11/xorg.conf" file:
Code:
# VirtualBox generated configuration file
# based on /etc/X11/xorg.conf.
Section "Monitor"
Identifier "Monitor[0]"
ModelName "VirtualBox Virtual Output"
VendorName "Oracle Corporation"
EndSection
Section "Device"
BoardName "VirtualBox Graphics"
Driver "vboxvideo"
Identifier "Device[0]"
VendorName "Oracle Corporation"
EndSection
Section "Screen"
SubSection "Display"
Depth 24
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
and get the following result when running "glxgears" and "glxinfo" in the command prompt:
Code:
ida@ida-VirtualBox:~$ glxgears
302 frames in 5.0 seconds = 60.202 FPS
300 frames in 5.0 seconds = 59.984 FPS
300 frames in 5.0 seconds = 59.989 FPS
Code:
ida@ida-VirtualBox:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: Chromium
server glx version string: 1.3 Chromium
server glx extensions:
GLX_ARB_multisample, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
GLX_ARB_get_proc_address
client glx vendor string: Chromium
client glx version string: 1.3 Chromium
client glx extensions:
GLX_ARB_multisample, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
GLX_ARB_get_proc_address
GLX version: 1.3
GLX extensions:
GLX_ARB_multisample, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
GLX_ARB_get_proc_address
OpenGL vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.00 NVIDIA via Cg compiler
OpenGL extensions:
GL_EXT_texture_compression_s3tc, GL_EXT_draw_range_elements,
GL_EXT_framebuffer_object, GL_EXT_compiled_vertex_array,
GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_multisample,
GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_point_parameters,
GL_ARB_point_sprite, GL_ARB_shadow, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_EXT_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_EXT_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_pixel_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_func_separate,
GL_EXT_blend_subtract, GL_EXT_texture_env_add, GL_EXT_fog_coord,
GL_EXT_multi_draw_arrays, GL_EXT_secondary_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_wrap, GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
GL_EXT_texture_object, GL_EXT_texture3D, GL_IBM_rasterpos_clip,
GL_NV_fog_distance, GL_NV_fragment_program, GL_NV_register_combiners,
GL_NV_register_combiners2, GL_NV_texgen_reflection,
GL_NV_texture_rectangle, GL_ARB_texture_rectangle, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_NV_vertex_program2, GL_SGIS_generate_mipmap,
GL_ARB_shading_language_100, GL_ARB_shader_objects, GL_ARB_vertex_shader,
GL_ARB_fragment_shader, GL_EXT_texture_sRGB, GL_EXT_framebuffer_blit,
GL_EXT_blend_equation_separate, GL_EXT_stencil_two_side,
GL_CR_state_parameter, GL_CR_cursor_position, GL_CR_bounding_box,
GL_CR_print_string, GL_CR_tilesort_info, GL_CR_synchronization,
GL_CR_head_spu_name, GL_CR_performance_info, GL_CR_window_size,
GL_CR_tile_info, GL_CR_saveframe, GL_CR_readback_barrier_size,
GL_CR_server_id_sharing, GL_CR_server_matrix, GL_EXT_stencil_two_side
64 GLX Visuals
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x021 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0c7 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
0x0c8 24 tc 0 32 0 r y y 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None
...
The log file "/var/log/Xorg.0.log" is attached but have some key lines:
Code:
[ 13.897] (EE) AIGLX error: vboxvideo does not export required DRI extension
[ 13.897] (EE) AIGLX: reverting to software rendering
[ 13.899] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[ 13.899] (II) GLX: Initialized DRISWRAST GL provider for screen 0
So it seems as though there's a problem with my graphics. I have tried to install the drivers for my graphics card in two ways:
1) Used "sudo apt-get install nvidia-96*" and "sudo apt-get install nvidia-glx-96*" (also tried with the newest "185" instead of "96")
2) Downloaded the drivers from NVIDIA's homepage (NVIDIA-Linux-x86_64-260.19.44.run) and installed.
Installation according to 1)
---------------------------------------------------
After installation I run "sudo nvidia-xconfig":
Code:
Using X configuration file: "/etc/X11/xorg.conf".
WARNING: No Layout specified, constructing implicit layout section using screen
"Screen[0]".
WARNING: Unable to find CorePointer in X configuration; attempting to add new
CorePointer section.
WARNING: The CorePointer device was not specified explicitly in the layout;
using the first mouse device.
WARNING: Unable to find CoreKeyboard in X configuration; attempting to add new
CoreKeyboard section.
WARNING: The CoreKeyboard device was not specified explicitly in the layout;
using the first keyboard device.
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'"
and get a new updated "/etc/X11/xorg.conf" like:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Wed Oct 27 10:08:23 PDT 2010
# VirtualBox generated configuration file
# based on /etc/X11/xorg.conf.
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor[0]"
VendorName "Oracle Corporation"
ModelName "VirtualBox Virtual Output"
EndSection
Section "Device"
Identifier "Device[0]"
Driver "nvidia"
VendorName "Oracle Corporation"
BoardName "VirtualBox Graphics"
EndSection
Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
SubSection "Display"
EndSubSection
EndSection
When I then reboot to make my changes work the Ubuntu GUI can not be loaded and I only get a command prompt. Trying "startx" I get:
Code:
X.Org X Server 1.9.0
Release Date: 2010-08-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-28-server x86_64 Ubuntu
Current Operating System: Linux ida-VirtualBox 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=38d73ec1-82dd-4326-8d52-ddc289f9bed7 ro quiet splash
Build Date: 09 January 2011 12:14:27PM
xorg-server 2:1.9.0-0ubuntu7.3 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.18.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 21 15:40:01 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) No devices detected.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
ddxSigGiveUp: Closing log
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
with "/var/log/Xorg.0.log" as attached. I can get back into the Ubuntu GUI by replacing the xorg.conf file with the backed up one (before installing NVIDIA drivers) and then starting the X server.
Installation according to 2)
---------------------------------------------------
I boot into recovery mode and run level 3 and then
Code:
sudo sh /.../NVIDIA-Linux-x86_64-260.19.44.run
after which I encounter the messages attached to this post as images and get the log "/var/log/nvidia-installer.log" also attached.
Sorry for the loooong post, but I just wanted to give all information neccessary! =) Can anyone help me with getting my graphics to work properly? Maybe I have to do some manual changes to xorg.conf after installation of the drivers?
Thanks!
Ida