Announcement

Collapse
No announcement yet.

X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

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

    X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

    First off i am running Kubuntu 7.10. glx works just fine. Now i have been trying forever to get compiz to work. (silly me didnt instally Xgl)

    after i installed Xgl my font got a lot smaller (i was running a 800x600, either that my graphics card's max res or i have a serious problem, because thats another issue i dealed with for a while) and my system started to lag real bad. my cursor was REALLY laggy, sometimes it would be invisible (moving it around for a while brought it back) or sometimes it would mess up my graphics, like this
    [img width=400 height=300]http://img227.imageshack.us/img227/2443/snapshot2ny1.png[/img]

    these problems seemed to be made better by starting compiz. (every 9/10 times) however about 1/10 times compiz worsened the problem

    the worst of these problems was that my x server would restart whenever i was typing. ONLY if was typing. it restarted less frequently (between every 5 and 20 mins) when compiz was running, but more frequently when it was not running (it happened 3 times in a row once, and would usually occur every 1-2 mins)

    i have no idea what the problem is. i tried reinstalling my drivers, but this did not fix the problem. currently i have my drivers disabled, and of course nothing is lagging and the x sever does not restart. let me stress that BEFORE i installed xgl, everything worked fine WITH the drivers enabled.

    this problem really bugs me, especially after i spent so long getting compiz to work. MY X SEVER ONLY RESTARTS WHEN I AM TYPING. MY COMPUTER LAGS EITHER WAY, BUT TYPING SEEMS TO WORSEN THE LAG AND CAUSES AN X SEVER RESTART!

    i am running a penium 4 (1.80 Ghz) with 512 MB of RAM. my graphics card is a Nvidia Geforce 256

    PLEASE HELP! i would hate to waste all that effort getting compiz to run. PLEASE do NOT tell me to use google. i really need SPECIFIC advice as i am relatively new to linux (5 months) and i have no idea how to fix this problem)

    #2
    Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

    Since you have an Nvidia card, you do not need Xgl. Try this: uninstall Xgl with
    Code:
    sudo apt-get remove xserver-xgl
    Then, download and install Envy from here. It will detect, install, and configure the appropriate Nvidia driver for your card. You can run it with the command:
    Code:
    envy -t
    Choose option 1 to install the Nvidia driver; when it finishes, choose "yes" when prompted whether you want it to configure your xorg.conf for you, but "no" when asked whether you want to restart. Exit Envy, and just to make sure your config is good, run the command:
    Code:
    sudo nvidia-xconfig --add-argb-glx-visuals --composite
    Finally, restart X.org by logging out and pressing Alt+E. You should then see the Nvidia logo, followed by the login screen; if you do, you should be good to go!!! Let me know how you do.
    Asus G1S-X3:
    Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

    Comment


      #3
      Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.1

      everything worked fine, now i get an error when i try to start compiz
      Code:
      ~$ compiz --replace&
      Checking for Xgl: not present.
      Detected PCI ID for VGA: 01:00.0 0300: 10de:0101 (rev 10) (prog-if 00 [VGA])
      Checking for texture_from_pixmap: not present.
      Trying again with indirect rendering:
      Checking for texture_from_pixmap: not present.
      aborting and using fallback: /usr/bin/metacity
      no /usr/bin/metacity found, exiting

      Comment


        #4
        Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

        Open Adept Manager and search on nvidia-glx and look at the descriptions.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.1

          i am using the right glx (im using legacy, the description says to use it on Geforce and Geforce2, i have a Geforce) and it is enabled

          Comment


            #6
            Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

            Did you install and run Envy?
            Asus G1S-X3:
            Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

            Comment


              #7
              Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

              yeah...i did everything u said. envy got my drivers and they are working. however when i run compiz i get that error

              Comment


                #8
                Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.1

                Did you install the emerald package? It might work -- Kubuntu doesn't use metacity -- that's for Ubuntu.

                Comment


                  #9
                  Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

                  yes i didnt insta ll the emerald package

                  Comment


                    #10
                    Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

                    i believe i have found the problem, but i am not on my computer right now so it'll be like 4 hours till i can test it.

                    while searching the web i found a post with an xorg.conf file that works with nividia
                    Code:
                    Section "Device"
                    Identifier "nVidia Corporation GeForce 7100 GS"
                    Driver "nvidia"
                    Busid "PCI:1:0:0"
                    Option "AddARGBVisuals" "True"
                    Option "AddARGBGLXVisuals" "True"
                    Option "NoLogo" "True"
                    EndSection
                    i BELIEVE that my xorg. conf file has the
                    Option "AddARGBGLXVisuals" "True"
                    option but not the
                    Option "AddARGBVisuals" "True"
                    option.

                    if i remember correctly, it did have the
                    Option "AddARGBVisuals" "True"
                    option when i had xgl installed (for some reason i didnt think to try to add this back in, maybe i was just too frustrated to think strait)

                    of course, i am not entirely sure that this is the case, nor am i 100% that it would solve the issue. i'll post my results later.

                    Comment


                      #11
                      Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

                      That looks like a config generated by the restricted device manager; it won't hurt anything for you to add the "AddARGBVisuals" option to your xorg.conf, but from my experience, all you need is "AddARGBGLXVisuals" and "Composite". In the section you posted, you'll notice the driver specified is "nvidia"; make sure yours has the same setting (note: "nv" and "nvidia" are different drivers). Then, restart X.org by logging out and pressing Alt+E; log back in, and if you're still having issues, please post your xorg.conf file and we'll help you clean it up.
                      Asus G1S-X3:
                      Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                      Comment


                        #12
                        Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.1

                        well it turns out i did have that option

                        however, i found a thread with a similar thread, however it was for ubuntu and they were using an ati graphics card (so of course i was pessimistic, but what the hell)

                        the thread (http://ubuntuforums.org/showpost.php...5&postcount=18)

                        had me change my xorg a little. this is how it looks now (the bold are the items i changed due to the thread)
                        Code:
                        # 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"
                        EndSection
                        
                        Section "InputDevice"
                        	Identifier	"Generic Keyboard"
                        	Driver		"kbd"
                        	Option		"CoreKeyboard"
                        	Option		"XkbRules"	"xorg"
                        	Option		"XkbModel"	"pc105"
                        	Option		"XkbLayout"	"us"
                        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 NV10DDR [GeForce 256 DDR]"
                        	Driver		"nvidia"
                        	Busid		"PCI:1:0:0"
                        	Option		"AddARGBVisuals"	"True"
                        	Option		"AddARGBGLXVisuals"	"True"
                        [b]	Option     "XAANoOffscreenPixmaps"[/b]
                        EndSection
                        
                        Section "Monitor"
                        	Identifier	"DELL D1028L"
                        	Option		"DPMS"
                        EndSection
                        
                        Section "Screen"
                        	Identifier	"Default Screen"
                        	Device		"nVidia Corporation NV10DDR [GeForce 256 DDR]"
                        	Monitor		"DELL D1028L"
                        [b]	Defaultdepth	16[/b]
                        	SubSection "Display"
                        [b]		Depth 16[/b]
                        		Modes		"1280x1024"	"1024x768"	"800x600"	"720x400"	"720x350"	"640x480"
                        	EndSubSection
                        EndSection
                        
                        Section "ServerLayout"
                        [b]	Option     "AIGLX" "true"	[/b]
                        	Identifier	"Default Layout"
                         	Screen 		"Default Screen"
                        	Inputdevice	"Generic Keyboard"
                        	Inputdevice	"Configured Mouse"
                        	
                        	# Uncomment if you have a wacom tablet
                        	#	InputDevice   "stylus"	"SendCoreEvents"
                        	#	InputDevice   "cursor"	"SendCoreEvents"
                        	#	InputDevice   "eraser"	"SendCoreEvents"
                        EndSection
                        [b]Section "Extensions"
                        	Option		"Composite"	"Enable"[/b]
                        EndSection

                        the "Extensions" Section isnt something the guy said to add, but i thought i'd add it just in case. orginally his xorg file had
                        Option "Composite" "Enable"
                        however compiz gave me an error saying no composite extensions were found. so of course i switched it to enable

                        then i ran compiz with SKIP_CHECKS=yes
                        i got a new error


                        Code:
                        Checking for Xgl: not present. 
                        Detected PCI ID for VGA: 01:00.0 0300: 10de:0101 (rev 10) (prog-if 00 [VGA])
                        Checking for texture_from_pixmap: not present. 
                        Trying again with indirect rendering:
                        Checking for texture_from_pixmap: not present. 
                        SKIP_CHECKS is yes, so continuing despite problems.
                        Checking for nVidia: present. 
                        Checking for FBConfig: not present. 
                        SKIP_CHECKS is yes, so continuing despite problems.
                        Checking for Xgl: not present. 
                        Starting emerald
                        Segmentation fault (core dumped)
                        Segmentation fault (core dumped)
                        /usr/bin/compiz: 352: nvidia-settings: not found
                        [: 352: 65536: unexpected operator
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Error: couldn't find RGB GLX visual
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Xlib: extension "GLX" missing on display ":0.0".
                        Segmentation fault (core dumped)
                        Xlib: extension "GLX" missing on display ":0.0".
                        /usr/bin/compiz.real (core) - Fatal: Root visual is not a GL visual
                        /usr/bin/compiz.real (core) - Error: Failed to manage screen: 0
                        /usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0
                        exec: 378: /usr/bin/metacity: not found

                        it turns out that i forgot to do
                        Code:
                        sudo nvidia-xconfig --add-argb-glx-visuals --composite
                        i try to run it now, but when i do a tab complete on nvidia-
                        i only get
                        nvidia-bug-report.sh nvidia-glx-config

                        yes my drivers are installed, and i tried reinstalling them, both with envy and with kde's "driver installer" (thats not what the utility is called, i just didnt know what else to call it)

                        so im pretty pessimistic, but hey? im getting new errors.

                        Comment


                          #13
                          Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.10)

                          The composite section needs to be there; other than that, you can remove the remaining ATI config options (they aren't of any use to Nvidia cards, and may harm you more than help you). Just to make things a little more clear, you did restart X.org after you made the changes, right? If you didn't, please do so since the changes will not take effect until it's restarted.
                          Asus G1S-X3:
                          Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                          Comment


                            #14
                            Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.1

                            yes i restarted x each time. are u running compiz? (and if you are, r you are you using nvidia?) i'd like a working xorg thats running compiz with nvidia

                            Comment


                              #15
                              Re: X sever constantly restarts. THIS IS RIDICULOUS!!! Xgl problem? (Kubuntu 7.1

                              I do have an Nvidia card and have CF (Compiz-Fusion) installed for use with KDE 3.5, but since I installed KDE 4.0, I've been using KDE's built-in compositing engine (which has just about all the features I like about CF, plus a few extra goodies). Just for reference purposes, here is what my xorg.conf looks like on my laptop:
                              # nvidia-xconfig: X configuration file generated by nvidia-xconfig
                              # nvidia-xconfig: version 1.0 (buildmeister@builder26) Fri Jan 11 14:26:48 PST 2008

                              Section "ServerLayout"
                              Identifier "Default Layout"
                              Screen "Default Screen" 0 0
                              InputDevice "Generic Keyboard"
                              InputDevice "Configured Mouse"
                              InputDevice "Synaptics Touchpad"
                              EndSection

                              Section "Files"
                              EndSection

                              Section "Module"
                              Load "glx"
                              EndSection


                              Section "InputDevice"
                              Identifier "Generic Keyboard"
                              Driver "kbd"
                              Option "CoreKeyboard"
                              Option "XkbRules" "xorg"
                              Option "XkbModel" "pc105"
                              Option "XkbLayout" "us"
                              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"
                              Identifier "Synaptics Touchpad"
                              Driver "synaptics"
                              Option "SendCoreEvents" "true"
                              Option "Device" "/dev/psaux"
                              Option "Protocol" "auto-dev"
                              Option "HorizEdgeScroll" "0"
                              EndSection

                              Section "Monitor"
                              Identifier "Generic Monitor"
                              HorizSync 28.0 - 96.0
                              VertRefresh 43.0 - 60.0
                              Option "DPMS"
                              EndSection

                              Section "Device"
                              Identifier "nVidia Corporation GeForce Go 7900 GS"
                              Driver "nvidia"
                              EndSection

                              Section "Screen"
                              Identifier "Default Screen"
                              Device "nVidia Corporation GeForce Go 7900 GS"
                              Monitor "Generic Monitor"
                              DefaultDepth 24
                              Option "AddARGBGLXVisuals" "True"
                              SubSection "Display"
                              Depth 24
                              Modes "nvidia-auto-select"
                              EndSubSection
                              EndSection

                              Section "Extensions"
                              Option "Composite" "Enable"
                              EndSection
                              Edit: I believe I may see your problem: you aren't loading the "glx" module at boot; you'll notice where I've emboldened the "Module" section in my above xorg.conf - copy it to yours, restart X.org, and see what happens
                              Asus G1S-X3:
                              Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                              Comment

                              Working...
                              X