This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE Plasma desktop effects hanging with Nvidia 9400

Tags: None
(comma "," separated)
gfurst
Registered Member
Posts
54
Karma
0
OS
Hey folks, I'm a new user to KDE, switched about a week or so from Gnome, very pleased with the new desktop.

I did it from a fresh installation, and installed nvidia shortly after, following debian's wiki way.
The issue it self is that the whole desktop would freeze on occasion and return( or not) shortly after, sometimes switching to a virtual terminal would work.
This was with noveau driver, I thought installing Nvidia recent driver would fast up the issue , but it actually didn't.
Its still will hang violently and sometimes only a hard-boot can solve it. Luckily I found out how to deactivate desktop effects and it seems to solve the issue.

There was a similar issue with the gnome shell getting stuck( with a lot of users), but installing Nvidia solved it for me.
Additionally I can't play videos, I think its related to nvidia vdpau driver not being used.
And even more my nvidia driver has a hard time using options from my xorg.conf, but that is another issue we can solve later.

I any case, KDE effects are very nice and a great addition to a already good desktop. I would to use it.
My system specs: Debian Jessie( testing), iMac 2009 model, Geforce 9400, 3.11 Kernel with v319 nvidia driver.
Thanks for the time.
User avatar
google01103
Manager
Posts
6668
Karma
25
re: video - which video player and what type of video file? Debian probably doesn't install what are called proprietary codecs by default due to legal concerns

moved to Kwin forum as your post indicates deactivating desktop effects resolves the hang


OpenSuse Leap 42.1 x64, Plasma 5.x

luebking
Karma
0
> And even more my nvidia driver has a hard time using options from my xorg.conf, but that is another issue we can solve later.

What do you mean by this?

Are you sure the nvidia blob is actually used and not blocked by kernel modesetting?
Please paste /var/log/Xorg.0.log somewhere.
gfurst
Registered Member
Posts
54
Karma
0
OS
google01103 wrote:re: video - which video player and what type of video file? Debian probably doesn't install what are called proprietary codecs by default due to legal concerns

I've solved this issue, I had missing a few gstreamer0.10 packages, which is strange since they weren't marked as dependency nor recommends.

luebking wrote:Are you sure the nvidia blob is actually used and not blocked by kernel modesetting?
Please paste /var/log/Xorg.0.log somewhere.

I had a issue( from this and a previous install), that nvidia would only use one resolution, I've tried playing about using suggested xorg option from nvidia( a readme file from the driver release), but some options don't seem to have effect. Mostly DPI and meta-resolution options don't have any effect, and modeline are mostly ignored, and sometimes gives weird results.

The most recent driver 319 had some new features, mostly the ability to use meta-resolutions, but still my xorg options are ignored.
I gave up on trying tune nvidia since the last install with KDE. I think its working as supposed though.
My nvidia xorg config:
Code: Select all
guiu@guiu-iMac:~$ cat /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Apple"
        ModelName       "Apple Color LCD"
        HorizSync       30.0 - 75.0
        VertRefresh     59.0
        Modeline        "1920x1080"  172.75  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
        Modeline        "1600x900"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
        Modeline        "1280x720"   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync
        Option          "DPMS" "1"
EndSection

Section "Device"
        Identifier      "Device0"
        Driver          "nvidia"
        VendorName      "NVIDIA Corporation"
        Option          "UseDisplayDevice"      "DFP-0"
        Option          "NoLogo"                "true"
        Option          "RegistryDwords"        "EnableBrightnessControl=1"
        Option          "DPI"                   "102 x 102"
        Option          "ConstantDPI"           "true"
        #Option         "ModeValidation"        "DFP-0: AllowNonEdidModes, NoPredefinedModes"
        Option          "IncludeImplicitMetaModes"      "DisplayDevice = DFP-0, Scaling = Aspect-Scaled, UseCommonResolutions = false, ExtraResolutions = ( 1600x900, 1280x720, 1024x768)"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Device0"
        Monitor         "Monitor0"
        DefaultDepth    24
        Option          "Stereo" "0"
        SubSection      "Display"
                Depth   24
                Modes   "1920x1080" "1600x900" "1280x720"
        EndSubSection
EndSection

My Xorg log:
Code: Select all
guiu@guiu-iMac:~$ cat /var/log/Xorg.0.log
[    22.751]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[    22.751] X Protocol Version 11, Revision 0
[    22.751] Build Operating System: Linux 3.12.0-rc6-patser+ x86_64 Debian
[    22.751] Current Operating System: Linux guiu-iMac 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64
[    22.751] Kernel command line: \boot\vmlinuz-3.11-2-amd64 ro root=/dev/disk/by-uuid/03f050f8-a155-4bb9-9c0e-3591112371e2  quiet  initrd=boot\initrd.img-3.11-2-amd64
[    22.752] Build Date: 25 November 2013  01:54:46PM
[    22.752] xorg-server 2:1.14.3-5 (Maarten Lankhorst <maarten.lankhorst@ubuntu.com>)
[    22.752] Current version of pixman: 0.30.2
[    22.752]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    22.752] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    22.752] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec  4 17:10:03 2013
[    22.838] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    22.838] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    22.972] (==) No Layout section.  Using the first Screen section.
[    22.972] (**) |-->Screen "Screen0" (0)
[    22.972] (**) |   |-->Monitor "Monitor0"
[    22.980] (**) |   |-->Device "Device0"
[    22.980] (==) Automatically adding devices
[    22.980] (==) Automatically enabling devices
[    22.980] (==) Automatically adding GPU devices
[    23.040] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    23.040]    Entry deleted from font path.
[    23.040] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[    23.040] (==) ModulePath set to "/usr/lib/xorg/modules"
[    23.040] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    23.040] (II) Loader magic: 0x7f6864ad3d00
[    23.040] (II) Module ABI versions:
[    23.040]    X.Org ANSI C Emulation: 0.4
[    23.040]    X.Org Video Driver: 14.1
[    23.040]    X.Org XInput driver : 19.1
[    23.040]    X.Org Server Extension : 7.0
[    23.042] (--) PCI:*(0:3:0:0) 10de:0869:106b:00b4 rev 177, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00001000/128, BIOS @ 0x????????/131072
[    23.042] (II) Open ACPI successful (/var/run/acpid.socket)
[    23.052] Initializing built-in extension Generic Event Extension
[    23.052] Initializing built-in extension SHAPE
[    23.052] Initializing built-in extension MIT-SHM
[    23.052] Initializing built-in extension XInputExtension
[    23.052] Initializing built-in extension XTEST
[    23.052] Initializing built-in extension BIG-REQUESTS
[    23.052] Initializing built-in extension SYNC
[    23.052] Initializing built-in extension XKEYBOARD
[    23.052] Initializing built-in extension XC-MISC
[    23.052] Initializing built-in extension SECURITY
[    23.052] Initializing built-in extension XINERAMA
[    23.052] Initializing built-in extension XFIXES
[    23.052] Initializing built-in extension RENDER
[    23.052] Initializing built-in extension RANDR
[    23.052] Initializing built-in extension COMPOSITE
[    23.052] Initializing built-in extension DAMAGE
[    23.052] Initializing built-in extension MIT-SCREEN-SAVER
[    23.052] Initializing built-in extension DOUBLE-BUFFER
[    23.052] Initializing built-in extension RECORD
[    23.052] Initializing built-in extension DPMS
[    23.052] Initializing built-in extension X-Resource
[    23.052] Initializing built-in extension XVideo
[    23.052] Initializing built-in extension XVideo-MotionCompensation
[    23.052] Initializing built-in extension SELinux
[    23.052] Initializing built-in extension XFree86-VidModeExtension
[    23.052] Initializing built-in extension XFree86-DGA
[    23.052] Initializing built-in extension XFree86-DRI
[    23.052] Initializing built-in extension DRI2
[    23.052] (II) LoadModule: "glx"
[    23.103] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    23.827] (II) Module glx: vendor="NVIDIA Corporation"
[    23.827]    compiled for 4.0.2, module version = 1.0.0
[    23.827]    Module class: X.Org Server Extension
[    23.827] (II) NVIDIA GLX Module  319.72  Wed Oct 30 17:39:53 PDT 2013
[    23.833] Loading extension GLX
[    23.833] (II) LoadModule: "nvidia"
[    23.851] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    23.925] (II) Module nvidia: vendor="NVIDIA Corporation"
[    23.925]    compiled for 4.0.2, module version = 1.0.0
[    23.925]    Module class: X.Org Video Driver
[    23.945] (II) NVIDIA dlloader X Driver  319.72  Wed Oct 30 17:19:14 PDT 2013
[    23.945] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    23.946] (++) using VT number 7

[    23.971] (II) Loading sub module "fb"
[    23.971] (II) LoadModule: "fb"
[    23.971] (II) Loading /usr/lib/xorg/modules/libfb.so
[    23.986] (II) Module fb: vendor="X.Org Foundation"
[    23.986]    compiled for 1.14.3, module version = 1.0.0
[    23.986]    ABI class: X.Org ANSI C Emulation, version 0.4
[    23.986] (WW) Unresolved symbol: fbGetGCPrivateKey
[    23.986] (II) Loading sub module "wfb"
[    23.986] (II) LoadModule: "wfb"
[    23.986] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    23.993] (II) Module wfb: vendor="X.Org Foundation"
[    23.993]    compiled for 1.14.3, module version = 1.0.0
[    23.993]    ABI class: X.Org ANSI C Emulation, version 0.4
[    23.993] (II) Loading sub module "shadow"
[    23.993] (II) LoadModule: "shadow"
[    23.993] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    24.010] (II) Module shadow: vendor="X.Org Foundation"
[    24.010]    compiled for 1.14.3, module version = 1.1.0
[    24.010]    ABI class: X.Org ANSI C Emulation, version 0.4
[    24.010] (II) Loading sub module "ramdac"
[    24.010] (II) LoadModule: "ramdac"
[    24.010] (II) Module "ramdac" already built-in
[    24.026] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    24.026] (==) NVIDIA(0): RGB weight 888
[    24.026] (==) NVIDIA(0): Default visual is TrueColor
[    24.026] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    24.026] (**) NVIDIA(0): Option "NoLogo" "true"
[    24.026] (**) NVIDIA(0): Option "Stereo" "0"
[    24.026] (**) NVIDIA(0): Option "RegistryDwords" "EnableBrightnessControl=1"
[    24.026] (**) NVIDIA(0): Option "DPI" "102 x 102"
[    24.026] (**) NVIDIA(0): Option "IncludeImplicitMetaModes" "DisplayDevice = DFP-0, Scaling = Aspect-Scaled, UseCommonResolutions = false, ExtraResolutions = ( 1600x900, 1280x720, 1024x768)"
[    24.026] (**) NVIDIA(0): Option "ConstantDPI" "true"
[    24.026] (**) NVIDIA(0): Stereo disabled by request
[    24.026] (**) NVIDIA(0): Option "UseDisplayDevice" "DFP-0"
[    24.026] (**) NVIDIA(0): Enabling 2D acceleration
[    25.012] (II) NVIDIA(GPU-0): Display (Apple Color LCD (DFP-0)) does not support NVIDIA 3D
[    25.012] (II) NVIDIA(GPU-0):     Vision stereo.
[    25.015] (II) NVIDIA(0): NVIDIA GPU GeForce 9400 (C79) at PCI:3:0:0 (GPU-0)
[    25.015] (--) NVIDIA(0): Memory: 262144 kBytes
[    25.015] (--) NVIDIA(0): VideoBIOS: 62.79.74.00.00
[    25.018] (--) NVIDIA(0): Valid display device(s) on GeForce 9400 at PCI:3:0:0
[    25.018] (--) NVIDIA(0):     Apple Color LCD (DFP-0) (boot, connected)
[    25.018] (--) NVIDIA(0):     DFP-1
[    25.018] (--) NVIDIA(0):     DFP-2
[    25.018] (--) NVIDIA(0): Apple Color LCD (DFP-0): 330.0 MHz maximum pixel clock
[    25.018] (--) NVIDIA(0): Apple Color LCD (DFP-0): Internal Dual Link LVDS
[    25.018] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[    25.018] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[    25.018] (--) NVIDIA(0): DFP-2: 480.0 MHz maximum pixel clock
[    25.018] (--) NVIDIA(0): DFP-2: Internal DisplayPort
[    25.018] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    25.018] (**) NVIDIA(0):     device Apple Color LCD (DFP-0) (Using EDID frequencies has
[    25.018] (**) NVIDIA(0):     been enabled on all display devices.)
[    25.018] (WW) NVIDIA(0): No valid modes for "DFP-0:1600x900{}"; removing.
[    25.018] (WW) NVIDIA(0): No valid modes for "DFP-0:1280x720{}"; removing.
[    25.018] (II) NVIDIA(0): Validated MetaModes:
[    25.018] (II) NVIDIA(0):     "DFP-0:1920x1080{}"
[    25.018] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[    25.027] (**) NVIDIA(0): DPI set to (102, 102); computed from "DPI" X config option
[    25.027] (--) Depth 24 pixmap format is 32 bpp
[    25.027] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[    25.032] (II) NVIDIA(0): Setting mode "DFP-0:1920x1080{}"
[    25.313] Loading extension NV-GLX
[    25.349] (==) NVIDIA(0): Disabling shared memory pixmaps
[    25.349] (==) NVIDIA(0): Backing store disabled
[    25.349] (==) NVIDIA(0): Silken mouse enabled
[    25.349] (**) NVIDIA(0): DPMS enabled
[    25.349] Loading extension NV-CONTROL
[    25.349] Loading extension XINERAMA
[    25.349] (II) Loading sub module "dri2"
[    25.349] (II) LoadModule: "dri2"
[    25.349] (II) Module "dri2" already built-in
[    25.350] (II) NVIDIA(0): [DRI2] Setup complete
[    25.350] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    25.350] (--) RandR disabled
[    25.353] (II) SELinux: Disabled on system
[    25.354] (II) Initializing extension GLX
[    25.682] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[    25.682] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    25.682] (II) LoadModule: "evdev"
[    25.682] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    25.704] (II) Module evdev: vendor="X.Org Foundation"
[    25.704]    compiled for 1.14.3, module version = 2.8.2
[    25.704]    Module class: X.Org XInput Driver
[    25.704]    ABI class: X.Org XInput driver, version 19.1
[    25.704] (II) Using input driver 'evdev' for 'Power Button'
[    25.704] (**) Power Button: always reports core events
[    25.704] (**) evdev: Power Button: Device: "/dev/input/event4"
[    25.704] (--) evdev: Power Button: Vendor 0 Product 0x1
[    25.704] (--) evdev: Power Button: Found keys
[    25.704] (II) evdev: Power Button: Configuring as keyboard
[    25.704] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[    25.704] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    25.704] (**) Option "xkb_rules" "evdev"
[    25.704] (**) Option "xkb_model" "pc105"
[    25.704] (**) Option "xkb_layout" "br"
[    25.721] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    25.721] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    25.721] (II) Using input driver 'evdev' for 'Power Button'
[    25.721] (**) Power Button: always reports core events
[    25.721] (**) evdev: Power Button: Device: "/dev/input/event2"
[    25.721] (--) evdev: Power Button: Vendor 0 Product 0x1
[    25.721] (--) evdev: Power Button: Found keys
[    25.721] (II) evdev: Power Button: Configuring as keyboard
[    25.721] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2/event2"
[    25.721] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    25.721] (**) Option "xkb_rules" "evdev"
[    25.721] (**) Option "xkb_model" "pc105"
[    25.721] (**) Option "xkb_layout" "br"
[    25.721] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[    25.721] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    25.721] (II) Using input driver 'evdev' for 'Sleep Button'
[    25.721] (**) Sleep Button: always reports core events
[    25.722] (**) evdev: Sleep Button: Device: "/dev/input/event3"
[    25.722] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    25.722] (--) evdev: Sleep Button: Found keys
[    25.722] (II) evdev: Sleep Button: Configuring as keyboard
[    25.722] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3/event3"
[    25.722] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[    25.722] (**) Option "xkb_rules" "evdev"
[    25.722] (**) Option "xkb_model" "pc105"
[    25.722] (**) Option "xkb_layout" "br"
[    25.722] (II) config/udev: Adding input device Genius Optical Mouse (/dev/input/event0)
[    25.722] (**) Genius Optical Mouse: Applying InputClass "evdev pointer catchall"
[    25.722] (II) Using input driver 'evdev' for 'Genius Optical Mouse'
[    25.722] (**) Genius Optical Mouse: always reports core events
[    25.722] (**) evdev: Genius Optical Mouse: Device: "/dev/input/event0"
[    25.722] (--) evdev: Genius Optical Mouse: Vendor 0x458 Product 0x3a
[    25.722] (--) evdev: Genius Optical Mouse: Found 3 mouse buttons
[    25.722] (--) evdev: Genius Optical Mouse: Found scroll wheel(s)
[    25.722] (--) evdev: Genius Optical Mouse: Found relative axes
[    25.722] (--) evdev: Genius Optical Mouse: Found x and y relative axes
[    25.722] (II) evdev: Genius Optical Mouse: Configuring as mouse
[    25.722] (II) evdev: Genius Optical Mouse: Adding scrollwheel support
[    25.722] (**) evdev: Genius Optical Mouse: YAxisMapping: buttons 4 and 5
[    25.722] (**) evdev: Genius Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    25.722] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/usb1/1-3/1-3:1.0/input/input0/event0"
[    25.722] (II) XINPUT: Adding extended input device "Genius Optical Mouse" (type: MOUSE, id 9)
[    25.722] (II) evdev: Genius Optical Mouse: initialized for relative axes.
[    25.722] (**) Genius Optical Mouse: (accel) keeping acceleration scheme 1
[    25.722] (**) Genius Optical Mouse: (accel) acceleration profile 0
[    25.722] (**) Genius Optical Mouse: (accel) acceleration factor: 2.000
[    25.722] (**) Genius Optical Mouse: (accel) acceleration threshold: 4
[    25.722] (II) config/udev: Adding input device Genius Optical Mouse (/dev/input/mouse0)
[    25.722] (II) No input driver specified, ignoring this device.
[    25.722] (II) This device may have been added with another device file.
[    25.723] (II) config/udev: Adding input device Apple Computer, Inc. IR Receiver (/dev/input/event1)
[    25.723] (**) Apple Computer, Inc. IR Receiver: Applying InputClass "evdev keyboard catchall"
[    25.723] (II) Using input driver 'evdev' for 'Apple Computer, Inc. IR Receiver'
[    25.723] (**) Apple Computer, Inc. IR Receiver: always reports core events
[    25.723] (**) evdev: Apple Computer, Inc. IR Receiver: Device: "/dev/input/event1"
[    25.723] (--) evdev: Apple Computer, Inc. IR Receiver: Vendor 0x5ac Product 0x8242
[    25.723] (--) evdev: Apple Computer, Inc. IR Receiver: Found keys
[    25.723] (II) evdev: Apple Computer, Inc. IR Receiver: Configuring as keyboard
[    25.723] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/usb1/1-5/1-5:1.0/input/input1/event1"
[    25.723] (II) XINPUT: Adding extended input device "Apple Computer, Inc. IR Receiver" (type: KEYBOARD, id 10)
[    25.723] (**) Option "xkb_rules" "evdev"
[    25.723] (**) Option "xkb_model" "pc105"
[    25.723] (**) Option "xkb_layout" "br"
[    25.723] (II) config/udev: Adding input device Built-in iSight (/dev/input/event7)
[    25.723] (**) Built-in iSight: Applying InputClass "evdev keyboard catchall"
[    25.723] (II) Using input driver 'evdev' for 'Built-in iSight'
[    25.723] (**) Built-in iSight: always reports core events
[    25.723] (**) evdev: Built-in iSight: Device: "/dev/input/event7"
[    25.723] (--) evdev: Built-in iSight: Vendor 0x5ac Product 0x8502
[    25.723] (--) evdev: Built-in iSight: Found keys
[    25.723] (II) evdev: Built-in iSight: Configuring as keyboard
[    25.723] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.1/usb2/2-4/2-4:1.0/input/input7/event7"
[    25.723] (II) XINPUT: Adding extended input device "Built-in iSight" (type: KEYBOARD, id 11)
[    25.723] (**) Option "xkb_rules" "evdev"
[    25.723] (**) Option "xkb_model" "pc105"
[    25.723] (**) Option "xkb_layout" "br"
[    25.724] (II) config/udev: Adding input device USB USB Keykoard (/dev/input/event5)
[    25.724] (**) USB USB Keykoard: Applying InputClass "evdev keyboard catchall"
[    25.724] (II) Using input driver 'evdev' for 'USB USB Keykoard'
[    25.724] (**) USB USB Keykoard: always reports core events
[    25.724] (**) evdev: USB USB Keykoard: Device: "/dev/input/event5"
[    25.724] (--) evdev: USB USB Keykoard: Vendor 0x1a2c Product 0x23
[    25.724] (--) evdev: USB USB Keykoard: Found keys
[    25.724] (II) evdev: USB USB Keykoard: Configuring as keyboard
[    25.724] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb4/4-4/4-4:1.0/input/input5/event5"
[    25.724] (II) XINPUT: Adding extended input device "USB USB Keykoard" (type: KEYBOARD, id 12)
[    25.724] (**) Option "xkb_rules" "evdev"
[    25.724] (**) Option "xkb_model" "pc105"
[    25.724] (**) Option "xkb_layout" "br"
[    25.724] (II) config/udev: Adding input device USB USB Keykoard (/dev/input/event10)
[    25.724] (**) USB USB Keykoard: Applying InputClass "evdev keyboard catchall"
[    25.724] (II) Using input driver 'evdev' for 'USB USB Keykoard'
[    25.724] (**) USB USB Keykoard: always reports core events
[    25.724] (**) evdev: USB USB Keykoard: Device: "/dev/input/event10"
[    25.724] (--) evdev: USB USB Keykoard: Vendor 0x1a2c Product 0x23
[    25.724] (--) evdev: USB USB Keykoard: Found 1 mouse buttons
[    25.724] (--) evdev: USB USB Keykoard: Found scroll wheel(s)
[    25.724] (--) evdev: USB USB Keykoard: Found relative axes
[    25.724] (II) evdev: USB USB Keykoard: Forcing relative x/y axes to exist.
[    25.724] (--) evdev: USB USB Keykoard: Found absolute axes
[    25.724] (II) evdev: USB USB Keykoard: Forcing absolute x/y axes to exist.
[    25.724] (--) evdev: USB USB Keykoard: Found keys
[    25.724] (II) evdev: USB USB Keykoard: Configuring as mouse
[    25.724] (II) evdev: USB USB Keykoard: Configuring as keyboard
[    25.724] (II) evdev: USB USB Keykoard: Adding scrollwheel support
[    25.724] (**) evdev: USB USB Keykoard: YAxisMapping: buttons 4 and 5
[    25.724] (**) evdev: USB USB Keykoard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    25.724] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb4/4-4/4-4:1.1/input/input10/event10"
[    25.724] (II) XINPUT: Adding extended input device "USB USB Keykoard" (type: KEYBOARD, id 13)
[    25.724] (**) Option "xkb_rules" "evdev"
[    25.724] (**) Option "xkb_model" "pc105"
[    25.724] (**) Option "xkb_layout" "br"
[    25.724] (II) evdev: USB USB Keykoard: initialized for relative axes.
[    25.724] (WW) evdev: USB USB Keykoard: ignoring absolute axes.
[    25.724] (**) USB USB Keykoard: (accel) keeping acceleration scheme 1
[    25.724] (**) USB USB Keykoard: (accel) acceleration profile 0
[    25.724] (**) USB USB Keykoard: (accel) acceleration factor: 2.000
[    25.724] (**) USB USB Keykoard: (accel) acceleration threshold: 4
[    25.725] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 Phantom (/dev/input/event8)
[    25.725] (II) No input driver specified, ignoring this device.
[    25.725] (II) This device may have been added with another device file.
[    25.725] (II) config/udev: Adding input device HDA NVidia Headphone (/dev/input/event9)
[    25.725] (II) No input driver specified, ignoring this device.
[    25.725] (II) This device may have been added with another device file.
[    25.725] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[    25.725] (II) No input driver specified, ignoring this device.
[    25.725] (II) This device may have been added with another device file.
[    35.004] (II) NVIDIA(GPU-0): Display (Apple Color LCD (DFP-0)) does not support NVIDIA 3D
[    35.004] (II) NVIDIA(GPU-0):     Vision stereo.
[    35.004] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    35.004] (**) NVIDIA(0):     device Apple Color LCD (DFP-0) (Using EDID frequencies has
[    35.004] (**) NVIDIA(0):     been enabled on all display devices.)
[    49.652] (II) NVIDIA(GPU-0): Display (Apple Color LCD (DFP-0)) does not support NVIDIA 3D
[    49.652] (II) NVIDIA(GPU-0):     Vision stereo.
[    49.652] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    49.652] (**) NVIDIA(0):     device Apple Color LCD (DFP-0) (Using EDID frequencies has
[    49.652] (**) NVIDIA(0):     been enabled on all display devices.)
luebking
Karma
0
Ok, nvidia blob loads as usual.
Unless you're sure that EDID is broken for you, I'd rather rely on it than on handwritten modelines.
However if you want, you've to invoke the "ModeValidation" option (see vast nvidia/README in /usr/share/docs/) to enforce modes, dpi, frequency etc.
You can also set a dpi at runtime by "xrandr --dpi 102"

Back to the hangs. You said
sometimes only a hard-boot can solve it

and since you apparently know how to switch VT, that likely means you can no more in that case (and from there "telinit 3; telinit 5")?
Can you log in eg. via ssh in this case? Or at least ping the system?
Is this eventually related to resuming from STR?

When such hang occurs (and you can access the system afterwards w/o rebooting), check the output of "dmesg" afterwards for nvidia kernel or I/O errors (at the end of the output)

In any case, please post the output of
Code: Select all
qdbus org.kde.kwin /KWin supportInformation

with active opengl compositing for a guess on what may cause this.
gfurst
Registered Member
Posts
54
Karma
0
OS
luebking wrote:Unless you're sure that EDID is broken for you, I'd rather rely on it than on handwritten modelines.
However if you want, you've to invoke the "ModeValidation" option (see vast nvidia/README in /usr/share/docs/) to enforce modes, dpi, frequency etc.

Well, the modelines are ignored, so I just left them there, my EDID only gives one resolution, I commented non-EDID res from the conf file because they would be display incorrectly. I do really think most of the options are ignored, with exception to nologo and enable brightness( which is important since I'm on a iMac).
Tried to set modelines manually via xrandr but it wouldn't work( tried it before adding them to conf file). I just think nvidia driver and Xorg are not communicating very well.

luebking wrote:When such hang occurs (and you can access the system afterwards w/o rebooting), check the output of "dmesg" afterwards for nvidia kernel or I/O errors (at the end of the output)

In any case, please post the output of
Code: Select all
qdbus org.kde.kwin /KWin supportInformation

with active opengl compositing for a guess on what may cause this.

I haven't tried accessing while hanged, but I can try that, in the morning I will enable desktop effects again and see how it goes.
I was just hoping that it could be common that could be easily fixed. Lots of people were having a similar issue with gnome.
Thanks report back tomorrow.
gfurst
Registered Member
Posts
54
Karma
0
OS
Hey, sorry for taking so long to test this out.
A couple of days ago I've enabled desktop effects, and with it also configured cairo dock for neat desktop visual.
Chose what effects to use, mostly normal stuff, I don't use more than 1 desktop so I've disabled the rest.
At first it seemed ok with everything working, but it will occasionally hang, I think only about two times in whole three days of testing.
Still there are some minor stutters, and it will recover by it self. The actual hang could take five or more minutes. So its really an issue.
I can't tell if it occurs in any specific situation, but stutters I think are shell related, for example the alt+f2 runner, with lancelot menu, sometimes within file manager.

Here is the output you requested:
Code: Select all
KWin Support Information:
The following information should be used when requesting support on e.g. http://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 4.11.3
KDE SC version (runtime): 4.11.3
KDE SC version (compile): 4.11.3
Qt Version: 4.8.6

Options
=======
focusPolicy: 1
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 1000
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 12
windowSnapZone: 12
centerSnapZone: 6
snapOnlyWhenOverlapping: false
showDesktopIsMinimizeAll: false
rollOverDesktops: false
focusStealingPreventionLevel: 2
legacyFullscreenSupport: false
operationTitlebarDblClick:
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2                                                                                                                         
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 4
commandWindow3: 7
commandWindowWheel: 8
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: true
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
unredirectFullscreen: false
glSmoothScale: 2
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glDirect: true
glStrictBinding: false
glStrictBindingFollowsDriver: true
glLegacy: false
glCoreProfile: false
glPreferBufferSwap: 0

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance:
timeThreshold: 200
reActivateThreshold: 250
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1
Screen 0 Geometry: 0,0,1920x1080

Decoration
==========
Current Plugin: kwin3_oxygen
Shadows: yes
Alpha: yes
Announces Alpha: yes
Tabbing: yes
Frame Overlap: no
Blur Behind: no

Compositing
===========
Qt Graphics System: raster
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 9400/integrated/SSE2
OpenGL version string: 3.3.0 NVIDIA 319.72
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 319.72
GPU class: G80/G90
OpenGL version: 3.3
GLSL version: 3.30
X server version: 1.14.3
Linux kernel version: 3.11
Direct rendering: yes
Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
kwin4_effect_dimscreen
kwin4_effect_login
kwin4_effect_screenshot
kwin4_effect_desktopgrid
kwin4_effect_translucency
kwin4_effect_diminactive
kwin4_effect_resize
kwin4_effect_maximize
kwin4_effect_fade
kwin4_effect_taskbarthumbnail
kwin4_effect_dialogparent
kwin4_effect_presentwindows
kwin4_effect_blur
kwin4_effect_logout
kwin4_effect_dashboard
kwin4_effect_windowgeometry
kwin4_effect_screenedge
kwin4_effect_startupfeedback
kwin4_effect_kscreen

Currently Active Effects:
-------------------------
kwin4_effect_diminactive
kwin4_effect_fade
kwin4_effect_blur

Effect Settings:
----------------
kwin4_effect_dimscreen:

kwin4_effect_login:

kwin4_effect_screenshot:

kwin4_effect_desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

kwin4_effect_translucency:

kwin4_effect_diminactive:
dimPanels: false
dimDesktop: false
dimKeepAbove: false
dimByGroup: true
dimStrength: 10

kwin4_effect_resize:
textureScale: false
outline: true

kwin4_effect_maximize:

kwin4_effect_fade:

kwin4_effect_taskbarthumbnail:

kwin4_effect_dialogparent:

kwin4_effect_presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: true
accuracy: 80
fillGaps: false
fadeDuration: 150
showPanel: true
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 2
dragToClose: false

kwin4_effect_blur:
blurRadius: 5
cacheTexture: true

kwin4_effect_logout:
useBlur: true

kwin4_effect_dashboard:
brightness: 0.48
saturation: 0.49
blur: false

kwin4_effect_windowgeometry:
handlesMoves: true
handlesResizes: true

kwin4_effect_screenedge:

kwin4_effect_startupfeedback:

kwin4_effect_kscreen:
 
luebking
Karma
0
for the "stutter" try disabling the oxygen (window decoration or both) animations ("oxygen-settings")

This:
> The actual hang could take five or more minutes

can by my experience actually only refer to an I/O error, either a pending NFS mount or a broken HDD

Even massive dbus timeouts could hardly cause such (and i hope there are no more any sync dbus calls in kwin at all - and you likely didn't do sth. like "chmod -x `which kactivitymanagerd`" anyway, did you?)


=> it is very important to check dmesg after such hang for any logged errors, this is certainly no normal behavior.
Also watch your memory load, if there's a pixmap/texture related leak in either kwin (or the driver), that can consume very much memory very quickly.
Also try disabling the blur effect, resp. blur caching (kcmshell4 kwincompositing, 2nd tab, filter for blur, press the config button - it's the only checkbox) in this regard.
gfurst
Registered Member
Posts
54
Karma
0
OS
luebking wrote:can by my experience actually only refer to an I/O error, either a pending NFS mount or a broken HDD

Well, I doubt it is broken HDD, I have no NFS system to mount and can't relate file operations during near the hang time.

luebking wrote:Even massive dbus timeouts could hardly cause such (and i hope there are no more any sync dbus calls in kwin at all - and you likely didn't do sth. like "chmod -x `which kactivitymanagerd`" anyway, did you?)

I don't know what you're talking about, and no, I didn't issue that command.

luebking wrote:Also try disabling the blur effect, resp. blur caching (kcmshell4 kwincompositing, 2nd tab, filter for blur, press the config button - it's the only checkbox) in this regard.

Actually thanks for this, the fade in and out effects were not working very well, and causing stutter( disappearing window flashing), I've disabled it and now effects overall are smoother, seems the fade and blur effects were conflicting.

luebking wrote:=> it is very important to check dmesg after such hang for any logged errors, this is certainly no normal behavior.

Yeah, I'll remember next time it happens, it is not happening all the time anymore. Maybe I've tuned down effects, or maybe its dependent on high hardware load.
Sometimes the "shell" (panel, window manager, ?) hangs out but I can still do stuff inside the active window, and even switch windows, though they're unresponsive.
Still, I'll be on the lookout if it hangs again, what should I be looking exactly at dmesg? (what specific command should I use?)
luebking
Karma
0
I don't know what you're talking about

dbus is an InterProcessCommunication protocol.
it can block up to 25 seconds on no reply.

the fade in and out effects were not working very well

No, the blur caching is broken, see https://bugs.kde.org/show_bug.cgi?id=307112

Sometimes the "shell" (panel, window manager, ?) hangs out

I'm not sure what you mean by this.

but I can still do stuff inside the active window, and even switch windows, though they're unresponsive.

run "oxygen-settings" and try disabling animations (for style and deco)


Still, I'll be on the lookout if it hangs again, what should I be looking exactly at dmesg? (what specific command should I use?)

Code: Select all
dmesg

If there's an I/O error "I/O error" will appear in the last lines. Otherwise check for every message from the nvidia driver.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]