Problem with nvidia drivers after a kernel upgrade [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Problem with nvidia drivers after a kernel upgrade [Solved]

Postby pepe999 » Sun Mar 20, 2011 20:14

Hi all,
I have upgraded a kernel from 2.6.37-sabayon to 2.6.38-sabayon. I have upgraded nvidia-drivers for the kernel too. I have a problem with the UFO-AI strategy game. After that kernel upgrade it works slow and guys on a forum of the game say that the game doesn't use the nvidia driver. Xorg Log:
Code: Select all
X.Org X Server 1.9.4
Release Date: 2011-02-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34-server x86_64 Gentoo
Current Operating System: Linux sabayon 2.6.38-sabayon #1 SMP Sun Mar 20 11:52:42 UTC 2011 x86_64
Kernel command line: BOOT_IMAGE=/boot/kernel-genkernel-x86_64-2.6.38-sabayon ro init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet dokeymap keymap=uk resume=swap:UUID=41332d66-2172-4ba6-b8c9-d71119af264d real_resume=UUID=41332d66-2172-4ba6-b8c9-d71119af264d root=UUID=227b8494-633d-4071-b093-221a6af58d92 docrypt splash=verbose
Build Date: 27 February 2011  02:11:01PM
 
Current version of pixman: 0.20.2
   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: Sun Mar 20 18:42:25 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
(EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
(EE) NVIDIA(0):     you continue to encounter problems, Please try
(EE) NVIDIA(0):     reinstalling the NVIDIA driver.
(EE) SynPS/2 Synaptics TouchPad no synaptics event device found
(EE) Query no Synaptics: 6003C8
(EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "SynPS/2 Synaptics TouchPad"

Xorg.conf
Code: Select all
Section "Module"
    SubSection  "extmod"
       Option    "omit xfree86-dga"
    EndSubSection
    Load    "i2c"
    Load    "ddc"
    Load    "vbe"
    Load    "dri"
    Load    "glx"
    Load    "dbe"
    Load    "synaptics"
EndSection

Section "ServerFlags"
     Option    "AllowMouseOpenFail"    "true"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    VertRefresh    43 - 60
    HorizSync      28 - 80
EndSection


Section "Device"

    Identifier  "SabayonVga0"
    Driver      "nvidia"
    #BusID    "PCI:01:00"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    Option "No Logo" "True"
    Option "UseEvents" "True"
    Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection
   


Section "Screen"

    Identifier    "Screen 0"
    Device        "SabayonVga0"
    Monitor       "Generic Monitor"
    Option       "AddARGBGLXVisuals" "true"

    DefaultDepth 24

    SubSection "Display"
        Depth      8
        ViewPort   0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           16
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           24
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

EndSection


Section "DRI"
    Mode 0666
EndSection

Section "ServerLayout"
    Identifier   "Main Layout"
    Screen 0    "Screen 0"
EndSection

Section "Extensions"
   #Option "Composite" "Enable"
EndSection

I have reinstall the driver many times and nothing works. I had a kernel update today but nothing changes. Has anyone problem with the nvidia driver?? Glxgears show that the 3D acceleration works. Nvidia-settings work but when I click on OpenGL/GLX Information, the nvidia-settings window crashes. Log:
Code: Select all
sabayon pepe999 # nvidia-settings
The program 'nvidia-settings' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 295 error_code 9 request_code 72 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Cheers, pepe999
Last edited by pepe999 on Mon Mar 21, 2011 1:02, edited 1 time in total.
Dell L502X - Core i7-2840QM/8GB DDR3/GF 540M 2GB/Corsair GT 240GB/Full HD
Debian 7
Win 7 still installed
Linux user no. 491024
pepe999
Advanced Hen
 
Posts: 258
Joined: Fri Mar 06, 2009 19:24
Location: Manchester

Re: Problem with nvidia drivers after a kernel upgrade

Postby pepe999 » Sun Mar 20, 2011 20:31

Hi,
It looks like the game uses some vmware opengl driver instead of the nvidia one..
Code: Select all
------- video initialization -------
SDL version: 1.2.14
I: desktop depth: 32bpp
I: video memory: 0
I: Available resolutions: 1366x768 1024x768 832x624 800x600 720x400 700x525 640x512 640x480 640x400 640x350 576x432 512x384 416x312 400x300 360x200 320x240 320x200 320x175 (18)
I: video driver: x11
I: setting mode -1
I: set swap control to 0
I: 1024x768 (fullscreen: yes)
I: got 8 bits of stencil
I: got 24 bits of depth buffer
I: got double buffer
I: got 8 bits for red
I: got 8 bits for green
I: got 8 bits for blue
I: got 0 bits for alpha
I: got 0 multisample buffers
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on softpipe
GL_VERSION: 2.1 Mesa 7.10
GL_EXTENSIONS: GL_ARB_copy_buffer GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_half_float_vertex GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_shader_objects GL_ARB_shader_stencil_export GL_ARB_shading_language_100 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_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATI_separate_stencil GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_conditional_render GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_OES_read_format GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_OES_EGL_image
using GL_ARB_texture_non_power_of_two
using GL_ARB_shading_language_100
GLSL Version: 1.20
using GL_ARB_framebuffer_object
max draw buffers: 8
max render buffer size: 16384
max color attachments: 8
using GL_ARB_draw_buffers
max supported lights: 8
max texture units: 8
max texture coords: 8
max vertex attributes: 16
max texture size: detected 16384
...but using 512 as requested
Using low resolution globe textures as requested.
R_LoadProgram: 'world' loaded.
R_LoadProgram: 'warp' loaded.
R_LoadProgram: 'geoscape' loaded.
R_LoadProgram: 'combine2' loaded.
R_LoadProgram: 'convolve3' loaded.
R_LoadProgram: 'atmosphere' loaded.
R_LoadProgram: 'simple_glow' loaded.
SDL_image version 1.2.10
SDL_ttf version 2.0.9 - we need at least 2.0.7

Code: Select all
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on softpipe
Dell L502X - Core i7-2840QM/8GB DDR3/GF 540M 2GB/Corsair GT 240GB/Full HD
Debian 7
Win 7 still installed
Linux user no. 491024
pepe999
Advanced Hen
 
Posts: 258
Joined: Fri Mar 06, 2009 19:24
Location: Manchester

Re: Problem with nvidia drivers after a kernel upgrade

Postby micia » Sun Mar 20, 2011 23:41

Hi,
usually game engines pick up the currently in use version of OpenGL, it is very unlikely that they pick up a different driver than the current one.
Check out the output of glxinfo, in particular:
Code: Select all
glxinfo | grep renderer
glxinfo | grep direct

most likely, you are not using the proprietary nvidia-drivers.
Check out the output from:
Code: Select all
eselect opengl list

and ensure that the selected implementation is nvidia.
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Problem with nvidia drivers after a kernel upgrade

Postby pepe999 » Mon Mar 21, 2011 1:02

Hi micia,
Thanks a lot. Yes, you were right I had to change OpenGL to nvidia from Xorg-11. Reinstalled the driver and I can carry on in killing aliens..:D
Dell L502X - Core i7-2840QM/8GB DDR3/GF 540M 2GB/Corsair GT 240GB/Full HD
Debian 7
Win 7 still installed
Linux user no. 491024
pepe999
Advanced Hen
 
Posts: 258
Joined: Fri Mar 06, 2009 19:24
Location: Manchester

Re: Problem with nvidia drivers after a kernel upgrade [Solv

Postby Skywalker015 » Wed Apr 20, 2011 12:41

I always had problems with my gt210 driver after updating. thanks now it is solved.
Skywalker015
Baby Hen
 
Posts: 10
Joined: Wed Apr 20, 2011 11:30


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron