Announcement

Collapse
No announcement yet.

Error message: "Window system doesn't support OpenGL" - but actually it does...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error message: "Window system doesn't support OpenGL" - but actually it does...

    after upgrading form Kubuntu 7.10 i have problems running everything (at least it seems to me like that) using OpenGL
    This means for examples: Games like Supertuxkart, all the opengl screensavers and zattoo (which gives me the error message:"Window system doesn't support OpenGL" - thats why i think this could be the problem)

    In Kubuntu 7.10 there was an option under
    System-settings -> Advanced -> restricted drivers
    where i had to mark the option for the graphic acceleration (hope this is the right word for that) to get zattoo to work.

    Now on Kubuntu 8.10 this option is no longer available in the system settings (the option Restricted drivers ist not available at all) - so as i'm not that much an expert i don't know what to do...

    if someone needs:
    the graphic card is dell standart (about 3 years old)
    lspci gives:
    Code:
    00:00.0 Host bridge: nVidia Corporation nForce2 IGP2 (rev c1)
    00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
    00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
    00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
    00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
    00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
    00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
    00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
    00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
    00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
    00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
    00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
    00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)
    00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
    00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
    00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
    00:0c.0 PCI bridge: nVidia Corporation nForce2 PCI Bridge (rev a3)
    00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3)
    00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
    01:09.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 43)
    01:0a.0 RF controller: Advanced Micro Devices [AMD] Am 1771 MBW [Alchemy] (rev 04)
    02:01.0 Ethernet controller: 3Com Corporation 3C920B-EMB Integrated Fast Ethernet Controller [Tornado] (rev 40)
    03:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
    under system->settings -> Display -> Hardware
    there is also the Nvidia GForce FX (Generic)

    The graphic card driver should be the standard to - as i just did the update - nothing more on this. nvidia-glx-new is installed.

    would be great if someone could give me a hint as i'm already tring to solve this for about 3 weeks - without success.

    #2
    Re: Error message: "Window system doesn't support OpenGL" - but actually it does...

    while a fresh installation would have dectected and enabled your nvidia card,
    upgrade procedure still have a tendency to screw things up a bit.

    the following should do what's needed...

    open a konsole and enter:
    Code:
    sudo nvidia-xconfig --composite --render-accel --add-argb-glx-visuals
    the above will:
    a) back up your current graphics server configuration file
    b) add to your current graphics server configuration file the 3 given options
    c) set the nvidia driver as the driver to use

    after having entered the above command, hit ctrl-alt-backspace
    to restart your graphics server and all should be good...

    gnu/linux is not windoze

    Comment


      #3
      Re: Error message: "Window system doesn't support OpenGL" - but actually it does...

      thanks for your help so far jankushka
      but it didn't work at all

      restarting the graphic server didn't work - i ended up in command line mode.
      After rebooting the same.

      I got a few errors - but sadly i don't know what they mean.
      First - after rebooting it says:

      Code:
      Kinit:name_to_dev=1
      c/dev/disc/by-uuid/b3dba7ef-7441-0b82-df71-016d62566731(=sda1(8,1)
      kinit: trying to resume from /dev/disc/by-uuid/b3dba7ef-7441-0b82-df71-016d62566731
      kinit: No resume image, doing normal boot...
      after this i can log in (all command line mode) with username and password
      when i try to start the xserver with
      Code:
      startx
      these error messages appear:
      Code:
      xinit: Connectivity reset by peer (errno 104): unable to connect to xserver
      Xinit: No such process (errno 3): server error)
      
      (EE) Failed to load modul "type 1" (modul does not exist,0)
      (II) Module "ramdac" already built-in
      Fatal: Error running install comand for Nvidia
      (EE) Nvidia (0) failed to load the Nvidia kernel module!
      (EE) Nvidia (0): ***Aborting***
      (EE) Screens found, but none have a usable configuration
      
      Fatal server error:
      no screens found
      waiting for x-server to begin
      accepting connections
      giving up
      and i was back in command line mode

      Just if anyone is at the same point - by reconfiguring the x-server everything should be like before - but still with the same opengl problem.
      But just in case - heres the code to reconfigure
      Code:
      sudo dpgk-reconfigure xserver-xorg

      Comment


        #4
        Re: Error message: "Window system doesn't support OpenGL" - but actually it does...

        it says it couldn't load the nvidia kernel module.
        one would think you haven't got the driver installed.
        or, if it is, as you said, it's not the right (good) one.
        did you install the driver from the repositories?

        it also complains that you're trying to load x modules that don't exist.
        so, your x config file is probably a bit messed up.

        the following command should tell you if the nvidia kernel module is loaded:
        Code:
        lsmod|grep -i nvidia
        mine gives:
        nvidia 6221648 38
        i2c_core 26112 1 nvidia
        agpgart 35016 2 nvidia,intel_agp
        you could:
        - make sure you have the right driver installed properly from the repos
        - remove /etc/X11/xorg.conf
        - reboot in recovery mode
        - do the dpkg-reconfigure again
        - pick "nvidia" when it asks what driver you want
        - reboot in regular mode when you're done
        gnu/linux is not windoze

        Comment


          #5
          Re: Error message: "Window system doesn't support OpenGL" - but actually it does...

          still i'm facing some problems - the reconfiguration doesn't ssem to work at all..

          Code:
          lsmod|grep -i nvidia
          gives
          Code:
          nvidia_agp       9628 1
          agpgart        34760 1 nvidia_agp
          about the driver - actually i don't know what the right one is...
          by default - the package nvidia-glx-new is installed.

          so - now
          -i removed the file with rm /etc/X11/xorg.conf
          -i rebooted in recovery boot
          -in the shell i typed sudo dpkg-reconfigure xserver-xorg to reconfigure
          -but: as i see now (i just looked into a german wiki about the reconfiguration - where 17 steps are mentioned:
          my reconfiguration seems to start at step 4 (Kernel-Framebuffer) and ends after step 11 (emulate 3 button mouse)
          also this seemed normal to me as it ends with overwriting xorg.conf + creating backup

          so i don't know where this could be caused by
          here's my xorg.conf:
          Code:
          # xorg.conf (X.Org 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 xorg.conf manual page.
          # (Type "man 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 "InputDevice"
          	Identifier	"Generic Keyboard"
          	Driver		"kbd"
          	Option		"XkbRules"	"xorg"
          	Option		"XkbModel"	"pc105"
          	Option		"XkbLayout"	"de"
          	Option		"XkbVariant"	"nodeadkeys"
          	Option		"XkbOptions"	"lv3:ralt_switch"
          EndSection
          
          Section "InputDevice"
          	Identifier	"Configured Mouse"
          	Driver		"mouse"
          	Option		"CorePointer"
          EndSection
          
          Section "Device"
          	Identifier	"Configured Video Device"
          EndSection
          
          Section "Monitor"
          	Identifier	"Configured Monitor"
          EndSection
          
          Section "Screen"
          	Identifier	"Default Screen"
          	Monitor		"Configured Monitor"
          	Device		"Configured Video Device"
          EndSection
          
          Section "ServerLayout"
          	Identifier	"Default Layout"
          	Screen		"Default Screen"
          EndSection
          i just looked at a backup file of the xorg.conf from about a month ago (don't know exactally if it was before the update from 7.10 to 8.04)
          theres quite a lot more to find in there
          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 xorg.conf(5) manual page.
          # (Type "man 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/fonts/X11/misc"
          	Fontpath	"/usr/share/fonts/X11/cyrillic"
          	Fontpath	"/usr/share/fonts/X11/100dpi/:unscaled"
          	Fontpath	"/usr/share/fonts/X11/75dpi/:unscaled"
          	Fontpath	"/usr/share/fonts/X11/Type1"
          	Fontpath	"/usr/share/fonts/X11/100dpi"
          	Fontpath	"/usr/share/fonts/X11/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		"extmod"
          	Load		"freetype"
          	Load		"glx"
          	Load		"int10"
          	Load		"vbe"
          EndSection
          
          Section "InputDevice"
          	Identifier	"Generic Keyboard"
          	Driver		"kbd"
          	Option		"CoreKeyboard"
          	Option		"XkbRules"	"xorg"
          	Option		"XkbModel"	"pc105"
          	Option		"XkbLayout"	"de"
          	Option		"XkbVariant"	"nodeadkeys"
          	Option		"XkbOptions"	"lv3:ralt_switch"
          EndSection
          
          Section "InputDevice"
          	Identifier	"Configured Mouse"
          	Driver		"mouse"
          	Option		"CorePointer"
          	Option		"Device"	"/dev/input/mice"
          	Option		"Protocol"	"ImPS/2"
          	Option		"ZAxisMapping"	"4 5"
          	Option		"Emulate3Buttons"	"true"
          EndSection
          
          Section "InputDevice"
          	Driver		"wacom"
          	Identifier	"stylus"
          	Option		"Device"	"/dev/input/wacom"
          	Option		"Type"	"stylus"
          	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
          EndSection
          
          Section "InputDevice"
          	Driver		"wacom"
          	Identifier	"eraser"
          	Option		"Device"	"/dev/input/wacom"
          	Option		"Type"	"eraser"
          	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
          EndSection
          
          Section "InputDevice"
          	Driver		"wacom"
          	Identifier	"cursor"
          	Option		"Device"	"/dev/input/wacom"
          	Option		"Type"	"cursor"
          	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
          EndSection
          
          Section "Device"
          	Identifier	"nVidia Corporation NV34 [GeForce FX 5200]"
          	Driver		"nvidia"
          	Busid		"PCI:3:0:0"
          	Option		"AddARGBVisuals"	"True"
          	Option		"AddARGBGLXVisuals"	"True"
          	Option		"NoLogo"	"True"
          EndSection
          
          Section "Monitor"
          	Identifier	"S/T 97P/96P"
          	Option		"DPMS"
          EndSection
          
          Section "Screen"
          	Identifier	"Default Screen"
          	Device		"nVidia Corporation NV34 [GeForce FX 5200]"
          	Monitor		"S/T 97P/96P"
          	Defaultdepth	24
          	SubSection "Display"
          		Depth	1
          		Modes		"1600x1200"	"1280x1024"	"1024x768"	"832x624"	"800x600"	"720x400"	"640x480"
          	EndSubSection
          	SubSection "Display"
          		Depth	4
          		Modes		"1600x1200"	"1280x1024"	"1024x768"	"832x624"	"800x600"	"720x400"	"640x480"
          	EndSubSection
          	SubSection "Display"
          		Depth	8
          		Modes		"1600x1200"	"1280x1024"	"1024x768"	"832x624"	"800x600"	"720x400"	"640x480"
          	EndSubSection
          	SubSection "Display"
          		Depth	15
          		Modes		"1600x1200"	"1280x1024"	"1024x768"	"832x624"	"800x600"	"720x400"	"640x480"
          	EndSubSection
          	SubSection "Display"
          		Depth	16
          		Modes		"1600x1200"	"1280x1024"	"1024x768"	"832x624"	"800x600"	"720x400"	"640x480"
          	EndSubSection
          	SubSection "Display"
          		Depth	24
          		Modes		"1600x1200"	"1280x1024"	"1024x768"	"832x624"	"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
          can i just replace this one with the current - or could this cause major problems
          as you see - i'm not really an expert and not quite sure what i'm doing at all :P

          Comment


            #6
            Re: Error message: "Window system doesn't support OpenGL" - but actually it does...

            your nvidia kernel module's not loaded.
            your nvidia card won't work till you get that one in the kernel.
            make sure you have the restricted module package installed.
            Code:
            sudo apt-get update
            sudo apt-get install linux-restricted-modules-generic
            your backup xorg.conf file looks a lot more like it should be.
            the new xorg.conf is practically empty.
            so it's useless.

            so, yeah, i would put the old one back at its place:
            Code:
            sudo cp /etc/X11/xorg.conf.old /etc/X11/xorg.conf
            then reboot again.
            gnu/linux is not windoze

            Comment


              #7
              Re: Error message: "Window system doesn't support OpenGL" - but actually it does...

              still no success - but a step further
              just replacing the xorg.conf with an older one broke the system again.
              after reconfiguring the xserver i was able to start the display manager again - but i was were i left.

              So it came to my mind - why is xserver reconfiguration not with the 17 steps.
              So after uninstalling xserver
              Code:
              sudo apt-get remove xserver-xorg
              and installing again
              Code:
              sudo apt-get install xserver-xorg
              it was much better - now all 17 steps can be done.
              Also i was able to start the programm i do all this for - zattoo - but now i am at the point were in kubuntu 7.10:
              The screen was slow - the pictures were always bumping, not continous.

              I also already tried to install the nvidia driver which
              1) didn't work with envynt
              2) with the package nvidia-glx-new + reconviguring the xserver with choosing nvidia instead of nv - after that kdm didn't start again.
              Only after uninstalling nvidia-glx-new i was able to start again.

              So what i did in 7.10 at this point - it was exactelly the same situation:
              Zattoo gave me the error message:
              Could not determine OpenGL renderer. This may lead to poor video performance. Please make sure OpenGL/Mesa is installed and properly configured.
              googling for this gave me a hit which solved my problems then:
              http://deaddodo.org/mikiwiki/index.php/Zattoo
              at the bottom it says - "picture bumbing... you should check
              Code:
              glxinfo | grep direct
              which in my case now is
              Code:
              direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
              OpenGL renderer string: Mesa GLX Indirect
              but shold be YES - which in the link is solved by enabling hardware acceleration in the system settings like i told before..
              (System-settings -> Advanced -> restricted drivers where i had to mark the option for the graphic acceleration (hope this is the right word for that) to get zattoo to work.
              thats all - but in 8.04 i can't find this option at this point)

              actually i think - why did it work on 7.10 and no longer on 8.04. The easiest way would be to find the option in the system settings - don't knnow what this did do and where it has gone...
              i didn't install the nvidia driver before - just checked this option - and as you see - the opengl is solved with the nv driver..

              Comment


                #8
                Re: Error message: "Window system doesn't support OpenGL" - but actually it does...

                you need xserver-xorg, nvidia-glx-new, and linux-restricted-modules-generic installed.
                do a fresh install of 8.04.
                it'll save us both a lot of time.
                gnu/linux is not windoze

                Comment

                Working...
                X