Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X slow after wake up from suspend to RAM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
smlbstcbr
n00b
n00b


Joined: 08 Apr 2006
Posts: 51

PostPosted: Thu Dec 19, 2013 3:10 am    Post subject: X slow after wake up from suspend to RAM Reply with quote

Well, this is the problem: after waking up from STR, the X server becomes extremely slow. Although I know very well that glxgears is not a benchmark most of the time, it helped me to point the problem. After boot up, frames in glxgears sync to Vertical Refresh (85 Hz in my old but extremely reliable CRT). Then, Suspend to RAM -> wake up -> glxgears frames half the vertical refresh, videos and everything is choppy. Log out, log in and the problem is gone. So, I must assume there's something missing in my configuration that makes this happen, here is my emerge --info
http://pastebin.com/QXS3rgyx
My video card is an nvidia GeForce 210 with nvidia-drivers 331.20, xorg-server-1.14.3-r2, kernel 3.10.17-gentoo, gnome-3.6.3, RAM 2.7 GiB, Dual Core AMD Opteron 180.
Back to top
View user's profile Send private message
ThunderPuppy
n00b
n00b


Joined: 30 Dec 2013
Posts: 2
Location: United States

PostPosted: Mon Dec 30, 2013 11:38 pm    Post subject: Reply with quote

Let's see your /var/log/Xorg.0.log file.
Back to top
View user's profile Send private message
smlbstcbr
n00b
n00b


Joined: 08 Apr 2006
Posts: 51

PostPosted: Thu Jan 02, 2014 4:45 pm    Post subject: Reply with quote

Before suspend:

Code:

[    21.770]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[    21.770] X Protocol Version 11, Revision 0
[    21.770] Build Operating System: Linux 3.10.17-gentoo x86_64 Gentoo
[    21.770] Current Operating System: Linux localhost 3.10.17-gentoo #26 SMP Wed Jan 1 11:55:09 BOT 2014 x86_64
[    21.770] Kernel command line: root=/dev/sda4 elevator=cfq pcie_aspm=off
[    21.770] Build Date: 16 November 2013  03:54:07PM
[    21.770] 
[    21.770] Current version of pixman: 0.30.2
[    21.770]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    21.770] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    21.770] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan  2 12:29:29 2014
[    21.871] (==) Using config file: "/etc/X11/xorg.conf"
[    21.871] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    21.899] (==) ServerLayout "Layout0"
[    21.899] (**) |-->Screen "Screen0" (0)
[    21.899] (**) |   |-->Monitor "Monitor0"
[    21.899] (**) |   |-->Device "Device0"
[    21.899] (**) |-->Input Device "Keyboard0"
[    21.899] (**) |-->Input Device "Mouse0"
[    21.899] (**) Option "Xinerama" "0"
[    21.899] (==) Automatically adding devices
[    21.899] (==) Automatically enabling devices
[    21.899] (==) Automatically adding GPU devices
[    22.013] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[    22.013] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    22.013] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    22.013] (WW) Disabling Keyboard0
[    22.013] (WW) Disabling Mouse0
[    22.029] (II) Loader magic: 0x7f8c00
[    22.029] (II) Module ABI versions:
[    22.029]    X.Org ANSI C Emulation: 0.4
[    22.029]    X.Org Video Driver: 14.1
[    22.029]    X.Org XInput driver : 19.1
[    22.029]    X.Org Server Extension : 7.0
[    22.029] (II) xfree86: Adding drm device (/dev/dri/card0)
[    22.031] (--) PCI:*(0:1:0:0) 10de:0a65:1043:8354 rev 162, Mem @ 0xfb000000/16777216, 0xb0000000/268435456, 0xce000000/33554432, I/O @ 0x0000ef00/128, BIOS @ 0x????????/524288
[    22.031] Initializing built-in extension Generic Event Extension
[    22.031] Initializing built-in extension SHAPE
[    22.031] Initializing built-in extension MIT-SHM
[    22.031] Initializing built-in extension XInputExtension
[    22.031] Initializing built-in extension XTEST
[    22.031] Initializing built-in extension BIG-REQUESTS
[    22.031] Initializing built-in extension SYNC
[    22.031] Initializing built-in extension XKEYBOARD
[    22.031] Initializing built-in extension XC-MISC
[    22.031] Initializing built-in extension XINERAMA
[    22.031] Initializing built-in extension XFIXES
[    22.031] Initializing built-in extension RENDER
[    22.031] Initializing built-in extension RANDR
[    22.031] Initializing built-in extension COMPOSITE
[    22.031] Initializing built-in extension DAMAGE
[    22.031] Initializing built-in extension MIT-SCREEN-SAVER
[    22.031] Initializing built-in extension DOUBLE-BUFFER
[    22.031] Initializing built-in extension RECORD
[    22.031] Initializing built-in extension DPMS
[    22.031] Initializing built-in extension X-Resource
[    22.031] Initializing built-in extension XVideo
[    22.031] Initializing built-in extension XVideo-MotionCompensation
[    22.031] Initializing built-in extension XFree86-VidModeExtension
[    22.031] Initializing built-in extension XFree86-DGA
[    22.031] Initializing built-in extension XFree86-DRI
[    22.031] Initializing built-in extension DRI2
[    22.031] (II) LoadModule: "glx"
[    22.099] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    25.226] (II) Module glx: vendor="NVIDIA Corporation"
[    25.557]    compiled for 4.0.2, module version = 1.0.0
[    25.557]    Module class: X.Org Server Extension
[    25.557] (II) NVIDIA GLX Module  331.20  Wed Oct 30 17:36:48 PDT 2013
[    25.679] Loading extension GLX
[    25.679] (II) LoadModule: "nvidia"
[    25.741] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[    26.002] (II) Module nvidia: vendor="NVIDIA Corporation"
[    26.002]    compiled for 4.0.2, module version = 1.0.0
[    26.002]    Module class: X.Org Video Driver
[    26.010] (II) NVIDIA dlloader X Driver  331.20  Wed Oct 30 17:16:53 PDT 2013
[    26.010] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    26.011] (++) using VT number 7

[    26.018] (II) Loading sub module "fb"
[    26.018] (II) LoadModule: "fb"
[    26.018] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    26.039] (II) Module fb: vendor="X.Org Foundation"
[    26.039]    compiled for 1.14.3, module version = 1.0.0
[    26.039]    ABI class: X.Org ANSI C Emulation, version 0.4
[    26.039] (WW) Unresolved symbol: fbGetGCPrivateKey
[    26.039] (II) Loading sub module "wfb"
[    26.039] (II) LoadModule: "wfb"
[    26.039] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[    26.113] (II) Module wfb: vendor="X.Org Foundation"
[    26.113]    compiled for 1.14.3, module version = 1.0.0
[    26.113]    ABI class: X.Org ANSI C Emulation, version 0.4
[    26.113] (II) Loading sub module "ramdac"
[    26.113] (II) LoadModule: "ramdac"
[    26.113] (II) Module "ramdac" already built-in
[    26.192] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    26.192] (==) NVIDIA(0): RGB weight 888
[    26.192] (==) NVIDIA(0): Default visual is TrueColor
[    26.192] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    26.193] (**) NVIDIA(0): Option "Stereo" "0"
[    26.193] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "CRT-0"
[    26.193] (**) NVIDIA(0): Option "SLI" "Off"
[    26.193] (**) NVIDIA(0): Option "MultiGPU" "Off"
[    26.193] (**) NVIDIA(0): Option "BaseMosaic" "off"
[    26.193] (**) NVIDIA(0): Stereo disabled by request
[    26.193] (**) NVIDIA(0): NVIDIA SLI disabled.
[    26.193] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[    26.193] (**) NVIDIA(0): Option "MetaModes" "1280x1024_85 +0+0; nvidia-auto-select +0+0"
[    26.193] (**) NVIDIA(0): Enabling 2D acceleration
[    26.846] (WW) NVIDIA(0): Unable to read EDID for display device CRT-0
[    26.847] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[    26.848] (II) NVIDIA(0): NVIDIA GPU GeForce 210 (GT218) at PCI:1:0:0 (GPU-0)
[    26.848] (--) NVIDIA(0): Memory: 1048576 kBytes
[    26.848] (--) NVIDIA(0): VideoBIOS: 70.18.5f.00.06
[    26.848] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    26.850] (--) NVIDIA(0): Valid display device(s) on GeForce 210 at PCI:1:0:0
[    26.850] (--) NVIDIA(0):     CRT-0 (boot, connected)
[    26.850] (--) NVIDIA(0):     CRT-1
[    26.850] (--) NVIDIA(0):     DFP-0
[    26.850] (--) NVIDIA(0):     DFP-1
[    26.850] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[    26.850] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[    26.850] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[    26.850] (--) NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
[    26.850] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[    26.850] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[    26.850] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    26.850] (**) NVIDIA(0):     device CRT-0 (Using EDID frequencies has been enabled on
[    26.850] (**) NVIDIA(0):     all display devices.)
[    26.872] (II) NVIDIA(0): Validated MetaModes:
[    26.872] (II) NVIDIA(0):     "1280x1024_85+0+0"
[    26.872] (II) NVIDIA(0):     "nvidia-auto-select+0+0"
[    26.872] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
[    26.901] (WW) NVIDIA(0): Unable to get display device CRT-0's EDID; cannot compute DPI
[    26.901] (WW) NVIDIA(0):     from CRT-0's EDID.
[    26.901] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    26.901] (--) Depth 24 pixmap format is 32 bpp
[    26.901] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[    26.905] (II) NVIDIA(0): Setting mode "1280x1024_85+0+0"
[    26.971] Loading extension NV-GLX
[    27.025] (==) NVIDIA(0): Disabling shared memory pixmaps
[    27.025] (==) NVIDIA(0): Backing store disabled
[    27.025] (==) NVIDIA(0): Silken mouse enabled
[    27.026] (**) NVIDIA(0): DPMS enabled
[    27.026] Loading extension NV-CONTROL
[    27.027] Loading extension XINERAMA
[    27.027] (II) Loading sub module "dri2"
[    27.027] (II) LoadModule: "dri2"
[    27.027] (II) Module "dri2" already built-in
[    27.027] (II) NVIDIA(0): [DRI2] Setup complete
[    27.027] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    27.027] (--) RandR disabled
[    27.075] (II) Initializing extension GLX
[    27.909] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    27.909] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    27.909] (II) LoadModule: "evdev"
[    27.909] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    27.956] (II) Module evdev: vendor="X.Org Foundation"
[    27.956]    compiled for 1.14.3, module version = 2.8.1
[    27.956]    Module class: X.Org XInput Driver
[    27.956]    ABI class: X.Org XInput driver, version 19.1
[    27.956] (II) Using input driver 'evdev' for 'Power Button'
[    27.956] (**) Power Button: always reports core events
[    27.956] (**) evdev: Power Button: Device: "/dev/input/event1"
[    27.956] (--) evdev: Power Button: Vendor 0 Product 0x1
[    27.956] (--) evdev: Power Button: Found keys
[    27.956] (II) evdev: Power Button: Configuring as keyboard
[    27.956] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[    27.956] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    27.956] (**) Option "xkb_rules" "evdev"
[    27.956] (**) Option "xkb_model" "pc104"
[    27.956] (**) Option "xkb_layout" "us"
[    27.993] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    27.993] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    27.993] (II) Using input driver 'evdev' for 'Power Button'
[    27.994] (**) Power Button: always reports core events
[    27.994] (**) evdev: Power Button: Device: "/dev/input/event0"
[    27.994] (--) evdev: Power Button: Vendor 0 Product 0x1
[    27.994] (--) evdev: Power Button: Found keys
[    27.994] (II) evdev: Power Button: Configuring as keyboard
[    27.994] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[    27.994] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    27.994] (**) Option "xkb_rules" "evdev"
[    27.994] (**) Option "xkb_model" "pc104"
[    27.994] (**) Option "xkb_layout" "us"
[    27.994] (II) config/udev: Adding drm device (/dev/dri/card0)
[    27.994] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event4)
[    27.994] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[    27.994] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[    27.994] (**) USB Optical Mouse: always reports core events
[    27.994] (**) evdev: USB Optical Mouse: Device: "/dev/input/event4"
[    27.994] (--) evdev: USB Optical Mouse: Vendor 0x458 Product 0x12b
[    27.994] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[    27.994] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[    27.994] (--) evdev: USB Optical Mouse: Found relative axes
[    27.994] (--) evdev: USB Optical Mouse: Found x and y relative axes
[    27.994] (II) evdev: USB Optical Mouse: Configuring as mouse
[    27.994] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[    27.994] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[    27.994] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    27.994] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:13.0/usb1/1-1/1-1:1.0/input/input4/event4"
[    27.994] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 8)
[    27.995] (II) evdev: USB Optical Mouse: initialized for relative axes.
[    27.995] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[    27.995] (**) USB Optical Mouse: (accel) acceleration profile 0
[    27.995] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[    27.995] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[    27.995] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[    27.995] (II) No input driver specified, ignoring this device.
[    27.995] (II) This device may have been added with another device file.
[    27.995] (II) config/udev: Adding input device   USB Keyboard (/dev/input/event2)
[    27.995] (**)   USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    27.996] (II) Using input driver 'evdev' for '  USB Keyboard'
[    27.996] (**)   USB Keyboard: always reports core events
[    27.996] (**) evdev:   USB Keyboard: Device: "/dev/input/event2"
[    27.996] (--) evdev:   USB Keyboard: Vendor 0x4d9 Product 0x1702
[    27.996] (--) evdev:   USB Keyboard: Found keys
[    27.996] (II) evdev:   USB Keyboard: Configuring as keyboard
[    27.996] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:13.1/usb2/2-2/2-2:1.0/input/input2/event2"
[    27.996] (II) XINPUT: Adding extended input device "  USB Keyboard" (type: KEYBOARD, id 9)
[    27.996] (**) Option "xkb_rules" "evdev"
[    27.996] (**) Option "xkb_model" "pc104"
[    27.996] (**) Option "xkb_layout" "us"
[    27.996] (II) config/udev: Adding input device   USB Keyboard (/dev/input/event3)
[    27.996] (**)   USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    27.996] (II) Using input driver 'evdev' for '  USB Keyboard'
[    27.996] (**)   USB Keyboard: always reports core events
[    27.996] (**) evdev:   USB Keyboard: Device: "/dev/input/event3"
[    27.996] (--) evdev:   USB Keyboard: Vendor 0x4d9 Product 0x1702
[    27.996] (--) evdev:   USB Keyboard: Found keys
[    27.996] (II) evdev:   USB Keyboard: Configuring as keyboard
[    27.996] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:13.1/usb2/2-2/2-2:1.1/input/input3/event3"
[    27.996] (II) XINPUT: Adding extended input device "  USB Keyboard" (type: KEYBOARD, id 10)
[    27.996] (**) Option "xkb_rules" "evdev"
[    27.996] (**) Option "xkb_model" "pc104"
[    27.996] (**) Option "xkb_layout" "us"
[    28.029] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[    28.029] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    28.029] (**) NVIDIA(0):     device CRT-0 (Using EDID frequencies has been enabled on
[    28.029] (**) NVIDIA(0):     all display devices.)
[    34.663] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[    34.663] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    34.663] (**) NVIDIA(0):     device CRT-0 (Using EDID frequencies has been enabled on
[    34.663] (**) NVIDIA(0):     all display devices.)
[    62.809] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[    62.809] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    62.809] (**) NVIDIA(0):     device CRT-0 (Using EDID frequencies has been enabled on
[    62.809] (**) NVIDIA(0):     all display devices.)
[    63.574] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[    63.574] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    63.574] (**) NVIDIA(0):     device CRT-0 (Using EDID frequencies has been enabled on
[    63.574] (**) NVIDIA(0):     all display devices.)


After suspend:
Code:

[   839.929] (II) NVIDIA(0): Setting mode "1280x1024_85+0+0"
[   840.022] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[   840.022] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   840.022] (**) NVIDIA(0):     device CRT-0 (Using EDID frequencies has been enabled on
[   840.022] (**) NVIDIA(0):     all display devices.)
[   840.083] setversion 1.4 failed



The reason for the EDID warning is that I'm using an adapter for my old crt on the DVI port of the graphics card.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum