Announcement

Collapse
No announcement yet.

An error has occurred. You must have 1 posts in order to post links.

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

    An error has occurred. You must have 1 posts in order to post links.

    It keeps saying this and won't let me post, despite my post not having anything which looks like a link in it.

    (My question was actually this:

    I'm imagining that I can somehow configure the screensaver so instead of kscreensaverrc saying

    Saver=lattice.desktop

    it says something like

    Saver=optirun lattice.desktop

    but just doing that didn't work. Can it be done? Maybe I'm just missing some detail.)
    Last edited by FatUglyGeek; Sep 21, 2013, 05:34 PM.

    #2
    Looks like you made it in
    I do not personally use Kubuntu, but I'm the tech support for my daughter who does.

    Comment


      #3
      Now perhaps I can ask a question:

      I'd like to have my Really Slick Screeensaver run using Optirun - glxspheres gets me about 50 but vblank_mode=0 primusrun glxspheres is more like 250. I've been searching but have been unable to find the answer/ask the right question. I have found kscreensaverrc which holds the name of the screensaver and the time limit, etc. Can anyone help? I'm imagining that I can somehow configure the screensaver so instead of kscreensaverrc saying

      Saver=lattice.desktop

      it says something like

      Saver=optirun lattice.desktop

      but just doing that didn't work. Can it be done? Maybe I'm just missing some detail.

      Hopefully my question makes sense. Thanks in advance.

      Comment


        #4
        Got there in the end. What is it about that post which upset the system? Oh well, if anyone can help with my screensaver question I'd be most grateful.

        Comment


          #5
          Originally posted by FatUglyGeek View Post
          Now perhaps I can ask a question:

          I'd like to have my Really Slick Screeensaver run using Optirun - glxspheres gets me about 50 but vblank_mode=0 primusrun glxspheres is more like 250. I've been searching but have been unable to find the answer/ask the right question. I have found kscreensaverrc which holds the name of the screensaver and the time limit, etc. Can anyone help? I'm imagining that I can somehow configure the screensaver so instead of kscreensaverrc saying

          Saver=lattice.desktop

          it says something like

          Saver=optirun lattice.desktop

          but just doing that didn't work. Can it be done? Maybe I'm just missing some detail.

          Hopefully my question makes sense. Thanks in advance.
          Try
          Code:
          texture_tiling=false s3tc_enable=true vblank_mode=0 optirun -b primus <application>
          . That's what I use after testing to get maximum performance and least issues. You are still using primus backend though.

          Comment


            #6
            Originally posted by dmeyer View Post
            Try
            Code:
            texture_tiling=false s3tc_enable=true vblank_mode=0 optirun -b primus <application>
            . That's what I use after testing to get maximum performance and least issues. You are still using primus backend though.
            I tried that. After the appropriate period it just goes straight to a "the session has been locked" page instead of showing the screen saver.
            Last edited by FatUglyGeek; Sep 21, 2013, 05:40 PM.

            Comment


              #7
              System Settings-->Display-->Screen Locker?
              I do not personally use Kubuntu, but I'm the tech support for my daughter who does.

              Comment


                #8
                Yes. That doesn't seem to be using my extra video hardware though (it's an Alienware Mx11R3 with the dual video setup). The Screen Locker page just lets me choose from a list with no access to anything more than what I'd see on the settings page if it was Windows. I was hoping for a more direct approach which might let me tell it to run the screensaver using optirun. In Windows I'd dig around in the registry but Kubuntu is different.

                Comment


                  #9
                  Originally posted by FatUglyGeek View Post
                  Yes. That doesn't seem to be using my extra video hardware though (it's an Alienware Mx11R3 with the dual video setup). The Screen Locker page just lets me choose from a list with no access to anything more than what I'd see on the settings page if it was Windows. I was hoping for a more direct approach which might let me tell it to run the screensaver using optirun. In Windows I'd dig around in the registry but Kubuntu is different.
                  Odd question, but why would you ever want to run your screensaver on your discrete card? It just uses more power, creates more heat and is absolutely unnecessary. Anyways hit me up with the following results:

                  Code:
                  optirun --status
                  glxinfo | grep OpenGL
                  optirun glxinfo | grep OpenGL
                  primusrun glxinfo | grep OpenGL
                  cat /etc/bumblebee/bumblebee.conf
                  cat /etc/bumblebee/xorg.conf.nvidia

                  Comment


                    #10
                    Originally posted by FatUglyGeek View Post
                    It keeps saying this and won't let me post, despite my post not having anything which looks like a link in it.
                    I'm not an admin but my guess is they have the site's software set to somewhat paranoid, it's to keep spammers and bot-spam out, we've all been there, you're good now.

                    Comment


                      #11
                      If I used the screensaver concept purely functionally then I'd just have it turn the screen off. I want it to look pretty. I'd like to run the Hyperspace screensaver but my default GPU can't handle it, I'm sure the Nvidia one will. It won't be the end of the world if I can't get it to work but you don't get anywhere by not trying, do you? Thank you for trying to help though.

                      optirun --status
                      Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

                      glxinfo | grep OpenGL
                      OpenGL vendor string: Intel Open Source Technology Center
                      OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
                      OpenGL version string: 3.0 Mesa 9.1.4
                      OpenGL shading language version string: 1.30
                      OpenGL extensions:

                      optirun glxinfo | grep OpenGL
                      OpenGL vendor string: NVIDIA Corporation
                      OpenGL renderer string: GeForce GT 540M/PCIe/SSE2
                      OpenGL version string: 4.2.0 NVIDIA 304.88
                      OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
                      OpenGL extensions:

                      primusrun glxinfo | grep OpenGL
                      OpenGL vendor string: NVIDIA Corporation
                      OpenGL renderer string: GeForce GT 540M/PCIe/SSE2
                      OpenGL version string: 4.2.0 NVIDIA 304.88
                      OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
                      OpenGL extensions:

                      cat /etc/bumblebee/bumblebee.conf
                      # Configuration file for Bumblebee. Values should **not** be put between quotes

                      ## Server options. Any change made in this section will need a server restart
                      # to take effect.
                      [bumblebeed]
                      # The secondary Xorg server DISPLAY number
                      VirtualDisplay=:8
                      # Should the unused Xorg server be kept running? Set this to true if waiting
                      # for X to be ready is too long and don't need power management at all.
                      KeepUnusedXServer=false
                      # The name of the Bumbleblee server group name (GID name)
                      ServerGroup=bumblebee
                      # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
                      # server exits.
                      TurnCardOffAtExit=false
                      # The default behavior of '-f' option on optirun. If set to "true", '-f' will
                      # be ignored.
                      NoEcoModeOverride=false
                      # The Driver used by Bumblebee server. If this value is not set (or empty),
                      # auto-detection is performed. The available drivers are nvidia and nouveau
                      # (See also the driver-specific sections below)
                      Driver=
                      # Directory with a dummy config file to pass as a -configdir to secondary X
                      XorgConfDir=/etc/bumblebee/xorg.conf.d

                      ## Client options. Will take effect on the next optirun executed.
                      [optirun]
                      # Acceleration/ rendering bridge, possible values are auto, virtualgl and
                      # primus.
                      Bridge=auto
                      # The method used for VirtualGL to transport frames between X servers.
                      # Possible values are proxy, jpeg, rgb, xv and yuv.
                      VGLTransport=proxy
                      # List of paths which are searched for the primus libGL.so.1 when using
                      # the primus bridge
                      PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
                      # Should the program run under optirun even if Bumblebee server or nvidia card
                      # is not available?
                      AllowFallbackToIGC=false

                      ## <long comment section...>

                      ## Section with nvidia driver specific options, only parsed if Driver=nvidia
                      [driver-nvidia]
                      # Module name to load, defaults to Driver if empty or unset
                      KernelDriver=nvidia-current
                      PMMethod=auto
                      # colon-separated path to the nvidia libraries
                      LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
                      # comma-separated path of the directory containing nvidia_drv.so and the
                      # default Xorg modules path
                      XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
                      XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

                      ## Section with nouveau driver specific options, only parsed if Driver=nouveau
                      [driver-nouveau]
                      KernelDriver=nouveau
                      PMMethod=auto
                      XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

                      cat /etc/bumblebee/xorg.conf.nvidia
                      Section "ServerLayout"
                      Identifier "Layout0"
                      Option "AutoAddDevices" "false"
                      Option "AutoAddGPU" "false"
                      EndSection

                      Section "Device"
                      Identifier "DiscreteNvidia"
                      Driver "nvidia"
                      VendorName "NVIDIA Corporation"

                      # If the X server does not automatically detect your VGA device,
                      # you can manually set it here.
                      # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
                      # as you see in the commented example.
                      # This Setting may be needed in some platforms with more than one
                      # nvidia card, which may confuse the proprietary driver (e.g.,
                      # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
                      BusID "PCI:01:00:0"

                      # Setting ProbeAllGpus to false prevents the new proprietary driver
                      # instance spawned to try to control the integrated graphics card,
                      # which is already being managed outside bumblebee.
                      # This option doesn't hurt and it is required on platforms running
                      # more than one nvidia graphics card with the proprietary driver.
                      # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
                      # If this option is not set, the new Xorg may blacken the screen and
                      # render it unusable (unless you have some way to run killall Xorg).
                      Option "ProbeAllGpus" "false"

                      Option "NoLogo" "true"
                      Option "UseEDID" "false"
                      Option "UseDisplayDevice" "none"
                      EndSection

                      Comment

                      Working...
                      X