Kubuntu and Intel graphics

Discussion in 'Linux, BSD and Other OS's' started by Willz, Nov 26, 2006.

  1. Willz

    Willz MiCrO$oFt $uK$ :D

    Likes Received:
    36
    Trophy Points:
    48
    Hi, i got Kubuntu installed on my old celeron system with 1.2ghz celeron s, 384mb ram and Intel 810Mobo, i have Kubuntu 6.06 dapper drake installed, and i cant change the resolution above 1024 x 768, is the because the graphics drivers are not installed?
     
  2. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    Are you sure that your gfx and monitor can do more then 1024x768? Usually Kubuntu will set the resolution to the highest available.

    Type:

    Code:
    glxinfo
    And post the output here
     
  3. Willz

    Willz MiCrO$oFt $uK$ :D

    Likes Received:
    36
    Trophy Points:
    48
    Code:
    ubuntu@ubuntu:~$ glxinfo
    name of display: :0.0
    display: :0  screen: 0
    direct rendering: No
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
        GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
        GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
        GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
        GLX_SGIX_fbconfig
    client glx vendor string: SGI
    client glx version string: 1.4
    client glx extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
        GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
        GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
        GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
        GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
        GLX_EXT_texture_from_pixmap
    GLX version: 1.2
    GLX extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
        GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
        GLX_EXT_texture_from_pixmap
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
    OpenGL extensions:
        GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
        GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
        GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
        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_rectangle, GL_ARB_transpose_matrix, GL_ARB_window_pos,
        GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
        GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
        GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
        GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
        GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
        GL_EXT_secondary_color, 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_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_object, GL_EXT_texture_rectangle,
        GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
        GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
        GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat,
        GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
        GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
        GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
        GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
        GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
        GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
    glu version: 1.3
    glu extensions:
        GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
    
       visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
     id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
    ----------------------------------------------------------------------
    0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None 
     
  4. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    Right, well you don't have 3D acceleration for some reason. Which Intel graphics chipset do you have?

    Also, in Konqueror's address bar, type:

    Code:
    /etc/X11/xorg.conf
    Copy and paste the text here
     
  5. Willz

    Willz MiCrO$oFt $uK$ :D

    Likes Received:
    36
    Trophy Points:
    48
    ok, here is the results:
    Code:
    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
    # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "Files"
    	FontPath	"/usr/share/X11/fonts/misc"
    	FontPath	"/usr/share/X11/fonts/cyrillic"
    	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
    	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
    	FontPath	"/usr/share/X11/fonts/Type1"
    	FontPath	"/usr/share/X11/fonts/100dpi"
    	FontPath	"/usr/share/X11/fonts/75dpi"
    	# path to defoma fonts
    	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
    	Load	"i2c"
    	Load	"bitmap"
    	Load	"ddc"
    	Load	"dri"
    	Load	"extmod"
    	Load	"freetype"
    	Load	"glx"
    	Load	"int10"
    	Load	"type1"
    	Load	"vbe"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"CoreKeyboard"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"gb"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    	Option		"Device"		"/dev/input/mice"
    	Option		"Protocol"		"ExplorerPS/2"
    	Option		"ZAxisMapping"		"4 5"
    	Option		"Emulate3Buttons"	"true"
    EndSection
    
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "stylus"
      Option        "Device"        "/dev/wacom"          # Change to 
                                                          # /dev/input/event
                                                          # for USB
      Option        "Type"          "stylus"
      Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "eraser"
      Option        "Device"        "/dev/wacom"          # Change to 
                                                          # /dev/input/event
                                                          # for USB
      Option        "Type"          "eraser"
      Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "cursor"
      Option        "Device"        "/dev/wacom"          # Change to 
                                                          # /dev/input/event
                                                          # for USB
      Option        "Type"          "cursor"
      Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
    EndSection
    
    Section "Device"
    	Identifier	"Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
    	Driver		"i810"
    	BusID		"PCI:0:1:0"
    EndSection
    
    Section "Monitor"
    	Identifier	"DELL M570"
    	Option		"DPMS"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Device		"Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
    	Monitor		"DELL M570"
    	DefaultDepth	24
    	SubSection "Display"
    		Depth		1
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		4
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		8
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		15
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		16
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		24
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
    	Screen		"Default Screen"
    	InputDevice	"Generic Keyboard"
    	InputDevice	"Configured Mouse"
    	InputDevice     "stylus" "SendCoreEvents"
    	InputDevice     "cursor" "SendCoreEvents"
    	InputDevice     "eraser" "SendCoreEvents"
    EndSection
    
    Section "DRI"
    	Mode	0666
    EndSection
     
    Oh, on your making the msot of Kubuntu guide, on the bit about adding repos or something in first post, i did that, and got all this:

    I have put it because its saying X error, and X is something to do with effects or graphics right? so maybe this could be a problem too.

    Code:
    X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode:  144
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode:  144
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode:  144
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode:  144
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    Creating link /root/socket-will-desktop.
    Created link from "/root/socket-will-desktop" to "/tmp/ksocket-root"
    /usr/bin/iceauth:  creating new authority file /root/.ICEauthority
    Creating link /root/tmp-will-desktop.
    Created link from "/root/tmp-will-desktop" to "/tmp/kde-root"
    X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode:  144
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode:  144
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    kbuildsycoca running...
    Creating link /root/cache-will-desktop.
    Created link from "/root/cache-will-desktop" to "/var/tmp/kdecache-root"
    Invalid entry (missing '=') at /tmp/kde-root/kconf_updateUTBSjb.tmp:1
    ScimInputContextPlugin()
    kate: WARNING: Can't open /root/share/apps/konqueror/bookmarks.xml
    QObject::disconnect: Unexpected null parameter
    ~ScimInputContextPlugin()
    will@will-desktop:~$      
     
  6. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    The two problems you present are unrelated. The reason you are getting the bottom error is because you are trying to launch a graphical program from the terminal as root. You can't launch graphic programs from the terminal as root.

    Can you post the output of this command:

    Code:
    ls /etc/X11/
     
  7. Willz

    Willz MiCrO$oFt $uK$ :D

    Likes Received:
    36
    Trophy Points:
    48
    Ok
    It just comes up with no such file or directory, or command not found, i dunno if i typed it wrong, is it ls /etc/X11/ ? if so, it dont work.


    also, is there a damnd virtual keyboard in Kubuntu, i cant find one, but i would like one, coz at moment my dad is using the keyboard on the pentium 4 rig, and untill i get my G15, i only have 2 keyboards for 3 computers :(
     
  8. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    Try again.

    Highlight the code, then in the terminal you can paste by clicking both mouse keys at the same time.
     
  9. Willz

    Willz MiCrO$oFt $uK$ :D

    Likes Received:
    36
    Trophy Points:
    48
    Silly me, forgot about copying and pasting :p

    /etc/X11/:
    app-defaults default-display-manager X xorg.conf Xsession.d
    config fonts xinit Xresources Xsession.options
    cursors rgb.txt xkb Xsession Xwrapper.config
     
  10. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    I was hoping you would have a backup xorg.conf, but you do not. I can't see a reason why you would not have direct rending. Your xorg.conf looks fine.

    Anyway, if you want to change your resolution, do the following:

    Code:
    kdesu kate /etc/X11/xorg.conf
    Scroll down till you see:

    Code:
    	SubSection "Display"
    		Depth		1
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		4
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		8
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		15
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		16
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		24
    		Modes		"1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    And add the resolution you want next to "1024x768".

    Here's an example:

    Code:
    SubSection "Display"
    		Depth		24
    		Modes		"1280x1024" "1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
     
  11. Willz

    Willz MiCrO$oFt $uK$ :D

    Likes Received:
    36
    Trophy Points:
    48
    Ok, cheers, also, i will want the graphics drivers to work, so i can at least play some games.



    root@will-desktop:/home/will# kdesu kate /etc/X11/xorg.conf
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified

    kdesu: cannot connect to X server :0.0
    root@will-desktop:/home/will#

    ***edit*** Ah it worked when i did it when i was not root, but all those errors...., that i put in earlier, a little worrying :(

    Got 1280x1024 res working now though :good: cheers dude, working.

    but still, when i ran that command to launch the Xorg.conf file came up with loads of errors, like i said, i put them in a code box in an earlier post.
     
  12. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    I get those errors too. It's normal.

    I don't know why 3D acceleration isn't working for you. I've looked at your xorg.conf file and everything looks fine. I am using the same 'i810' graphics driver as you for my Intel graphics and 3D accelaration worked out of the box.

    Maybe someone else will have an answer for you. If not, post on the Ubuntu Forums
     
  13. Willz

    Willz MiCrO$oFt $uK$ :D

    Likes Received:
    36
    Trophy Points:
    48
    Yea, i will give it a try, i tried the command

    Code:
    glxinfo | grep rendering 
    and it comes up with:

    Code:
    direct rendering: No 
    ~~Edit**

    Also, i looked on adept for i810, and it came up with the display drivers, says there installed, so something is stopping direct rendering from been enabled :\
     

Share This Page