Problem with PCH LDB in HR.

Hi Friends,
I am working on a HR report  using PCH LDB. Peculiarly its not returning objects (Positions/Jobs) maintained in other Languages when we select "All" as reporting period. It is returning all objects regardless of language when we select any other reporting periods.
Can any one suggest me what would be the problem and suggestions.
Raju

Hi,
    Please check the SAP note : 18578 , this might give you an idea.
Regards,
Srini.

Similar Messages

  • Problem with GET LDB statement

    Hi,
    I am working on change request which displays the output in ALV GRID.
    After executing on return its not coming to the selection screen.
    It shows a screen output generated using WRITE statement, however we have not used any write statement in the entire report.
    After debugging sometime we found that, its because of the statement GET BKPF.
    It occurs in the program - SAPDBDDF at line 1579.
    Also there is a select query at line number 1553,where values are fetched from BKPF table.
    Even though we have value in the table for the corresponding where condition, it fails. Dont know why.
    Can someone guide me how to overcome this? i want to go back to the selection screen on back from the ALV grid
    Regards,
    Karthik

    Hi Raymond,
    ALV display is after END-OF-SELECTION.
    After debugging for sometime:
    New screen on return is being generated by the WRITE statement from the include SAPDBDDF.
    In program there are statements like GET BSID, GET BKPF,..etc. When these lines executed systems executes the above mentioned include internally.
    Which will not be able debug unless system debugging is switched on. PUT BSID, PUT BKPF are the executable performs in SAPDBDDF.
    The new screen messages are raised because the document number (BELNR) is not available in BKPF.
    Is this because of any data problem i.e., archived documents ? Please suggest your views.
    PS: We don't see this problem in production system.
    Regards,
    Karthik

  • Problems with Steam - Dota2 and ETS2

    Hello
    I had never problems with Arch + xfce but last time I made fresh install of Arch with KDE and problems begins. Strange logs in steam running Dota 2 and Euro Truck Simulator 2. Dota 2 freezing, jumping even 60+ fps, both games can freeze for 1 min with sound.
    Lenovo Y580 - GTX660M
    After running Dota 2 with launch options (optirun -b primus %command% -console) output from console:
    Game update: AppID 570 "Dota 2", ProcID 1441, IP 0.0.0.0:0
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    pid 1455 != 1454, skipping destruction (fork without exec?)
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    Installing breakpad exception handler for appid(gameoverlayui)/version(20140715181500_client)
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    [0725/222647:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
    [0725/222647:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
    Using breakpad crash handler
    Setting breakpad minidump AppID = 570
    Forcing breakpad minidump interfaces to load
    Looking up breakpad interfaces from steamclient
    Calling BreakpadMiniDumpSystemInit
    Looking up breakpad interfaces from steamclient
    Calling BreakpadMiniDumpSystemInit
    Steam_SetMinidumpSteamID: Caching Steam ID: 76561198074650116 [API loaded yes]
    Steam_SetMinidumpSteamID: Setting Steam ID: 76561198074650116
    SDL video target is 'x11'
    SDL failed to create GL compatibility profile (whichProfile=0!
    This system supports the OpenGL extension GL_EXT_framebuffer_object.
    This system supports the OpenGL extension GL_EXT_framebuffer_blit.
    This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
    This system DOES NOT support the OpenGL extension GL_APPLE_fence.
    This system supports the OpenGL extension GL_NV_fence.
    This system supports the OpenGL extension GL_ARB_sync.
    This system supports the OpenGL extension GL_EXT_draw_buffers2.
    This system supports the OpenGL extension GL_EXT_bindable_uniform.
    This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
    This system supports the OpenGL extension GL_ARB_map_buffer_range.
    This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
    This system supports the OpenGL extension GL_ARB_occlusion_query.
    This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
    This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
    This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
    This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
    This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
    This system supports the OpenGL extension GL_ARB_framebuffer_object.
    This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
    This system supports the OpenGL extension GL_ARB_debug_output.
    This system supports the OpenGL extension GL_EXT_direct_state_access.
    This system supports the OpenGL extension GL_NV_bindless_texture.
    This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
    This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
    This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
    This system supports the OpenGL extension GL_NVX_gpu_memory_info.
    This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
    This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
    This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
    This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt3.
    This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt5.
    This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
    GL_NV_bindless_texture: DISABLED
    GL_AMD_pinned_memory: DISABLED
    GL_EXT_texture_sRGB_decode: AVAILABLE
    GL_NVX_gpu_memory_info: AVAILABLE
    GL_ATI_meminfo: UNAVAILABLE
    GL_NVX_gpu_memory_info: Total Dedicated: 2097152, Total Avail: 2097152, Current Avail: 2076116
    GL_MAX_SAMPLES_EXT: 32
    Adding VPK file: /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/dota/sound_vo_english
    Adding VPK file: /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/dota/pak01
    Adding VPK file: /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/platform/pak01
    Did not detect any valid joysticks.
    WARNING: unable to link Test_StartScript and Test_StartScript because one or more is a ConCommand.
    WARNING: unable to link Test_RandomChance and Test_RandomChance because one or more is a ConCommand.
    WARNING: unable to link Test_LoopForNumSeconds and Test_LoopForNumSeconds because one or more is a ConCommand.
    WARNING: unable to link Test_Loop and Test_Loop because one or more is a ConCommand.
    WARNING: unable to link Test_LoopCount and Test_LoopCount because one or more is a ConCommand.
    WARNING: unable to link Test_StartLoop and Test_StartLoop because one or more is a ConCommand.
    WARNING: unable to link log_flags and log_flags because one or more is a ConCommand.
    WARNING: unable to link log_color and log_color because one or more is a ConCommand.
    WARNING: unable to link log_verbosity and log_verbosity because one or more is a ConCommand.
    WARNING: unable to link log_level and log_level because one or more is a ConCommand.
    WARNING: unable to link log_dumpchannels and log_dumpchannels because one or more is a ConCommand.
    Load a scaleform font provider?
    Creating D3D9 device with D3DCREATE_MULTITHREADED
    IDirect3DDevice9::Create: BackBufWidth: 1366, BackBufHeight: 768, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
    GL sampler object usage: DISABLED
    ##### swap interval = 0 swap limit = 1 #####
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    !! Controller config file passed by steamworks game 570 did not exist at /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/dota/cfg/controller.vdf
    Installing breakpad exception handler for appid(steam)/version(1405474565_client)
    [0725/222707:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
    [0725/222707:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
    Im not able to run ETS 2 it's going to change resolution to 1024x768 in whole desktop and then crash. (Launch option: optirun -b primus %command%) output:
    Game update: AppID 227300 "Euro Truck Simulator 2", ProcID 1554, IP 0.0.0.0:0
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    Setting breakpad minidump AppID = 227300
    Steam_SetMinidumpSteamID: Caching Steam ID: 76561198074650116 [API loaded no]
    Registered appid 227300 to use native controller config at /home/akikyo/.local/share/Steam/SteamApps/common/Euro Truck Simulator 2/controller.vdf
    X Error of failed request: GLXUnsupportedPrivateRequest
    Major opcode of failed request: 155 (GLX)
    Minor opcode of failed request: 16 (X_GLXVendorPrivate)
    Serial number of failed request: 80
    Current serial number in output stream: 82
    Game removed: AppID 227300 "Euro Truck Simulator 2", ProcID 1567
    sudo journalctl
    Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508930] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508943] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508969] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
    Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508984] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    Jul 25 22:35:16 lenovo kernel: eurotrucks2[1567]: segfault at 17 ip 00007f40f1e30433 sp 00007fff05479db0 error 6 in steamclient.so[7f40f1b66000+f7b000]
    Jul 25 22:35:16 lenovo kernel: [drm] Module unloaded
    Jul 25 22:35:16 lenovo kernel: bbswitch: disabling discrete graphics
    Jul 25 22:35:16 lenovo kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
    Jul 25 22:35:16 lenovo kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838215] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838233] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838238] [ERROR][XORG] (EE) Backtrace:
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838242] [ERROR][XORG] (EE) 0: Xorg (xorg_backtrace+0x56) [0x58f186]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838245] [ERROR][XORG] (EE) 1: Xorg (0x400000+0x192fc9) [0x592fc9]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838249] [ERROR][XORG] (EE) 2: /usr/lib/libpthread.so.0 (0x7fd21c5c8000+0xf4b0) [0x7fd21c5d74b0]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838256] [ERROR][XORG] (EE) 3: /usr/lib/libc.so.6 (malloc_usable_size+0x25) [0x7fd21b290d25]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838272] [ERROR][XORG] (EE) 4: /usr/lib/nvidia/libGL.so.1 (0x7fd21818b000+0xb61d9) [0x7fd2182411d9]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838286] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838298] [ERROR][XORG] (EE) Segmentation fault at address 0x0
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838306] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838317] [ERROR][XORG] (EE) Caught signal 11 (Segmentation fault). Server aborting
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838320] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838323] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838329] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838334] [ERROR][XORG] (EE)
    sudo nano /var/log/Xorg.8.log
    X.Org X Server 1.15.2
    Release Date: 2014-06-27
    [ 887.399] X Protocol Version 11, Revision 0
    [ 887.399] Build Operating System: Linux 3.15.1-1-ARCH x86_64
    [ 887.399] Current Operating System: Linux lenovo 3.15.5-2-ARCH #1 SMP PREEMPT Fri Jul 11 07:56:02 CEST 2014 x86_64
    [ 887.399] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a89135f9-ef1e-4b90-a073-ee78d492b58a rw rcutree.rcu_idle_gp_delay=1 quiet
    [ 887.399] Build Date: 27 June 2014 07:32:26PM
    [ 887.399]
    [ 887.399] Current version of pixman: 0.32.6
    [ 887.399] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 887.399] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 887.399] (==) Log file: "/var/log/Xorg.8.log", Time: Fri Jul 25 22:35:11 2014
    [ 887.400] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [ 887.400] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [ 887.400] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 887.400] (==) ServerLayout "Layout0"
    [ 887.400] (==) No screen section available. Using defaults.
    [ 887.400] (**) |-->Screen "Default Screen Section" (0)
    [ 887.400] (**) | |-->Monitor "<default monitor>"
    [ 887.400] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 887.400] (**) | |-->Device "DiscreteNvidia"
    [ 887.400] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 887.400] (**) Option "AutoAddDevices" "false"
    [ 887.400] (**) Option "AutoAddGPU" "false"
    [ 887.400] (**) Not automatically adding devices
    [ 887.400] (==) Automatically enabling devices
    [ 887.400] (**) Not automatically adding GPU devices
    [ 887.401] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 887.401] Entry deleted from font path.
    [ 887.401] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 887.401] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 887.401] Entry deleted from font path.
    [ 887.401] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 887.401] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/
    [ 887.401] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
    [ 887.401] (==) |-->Input Device "<default pointer>"
    [ 887.401] (==) |-->Input Device "<default keyboard>"
    [ 887.401] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 887.401] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 887.401] (II) Loader magic: 0x811cc0
    [ 887.401] (II) Module ABI versions:
    [ 887.401] X.Org ANSI C Emulation: 0.4
    [ 887.401] X.Org Video Driver: 15.0
    [ 887.401] X.Org XInput driver : 20.0
    [ 887.401] X.Org Server Extension : 8.0
    [ 887.401] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 887.401] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 887.401] setversion 1.4 failed: Permission denied
    [ 887.403] (--) PCI:*(0:1:0:0) 10de:0fd4:17aa:3977 rev 161, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128
    [ 887.403] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 887.403] Initializing built-in extension Generic Event Extension
    [ 887.404] Initializing built-in extension SHAPE
    [ 887.404] Initializing built-in extension MIT-SHM
    [ 887.404] Initializing built-in extension XInputExtension
    [ 887.404] Initializing built-in extension XTEST
    [ 887.404] Initializing built-in extension BIG-REQUESTS
    [ 887.404] Initializing built-in extension SYNC
    [ 887.404] Initializing built-in extension XKEYBOARD
    [ 887.404] Initializing built-in extension XC-MISC
    [ 887.404] Initializing built-in extension SECURITY
    [ 887.404] Initializing built-in extension XINERAMA
    [ 887.404] Initializing built-in extension XFIXES
    [ 887.404] Initializing built-in extension RENDER
    [ 887.404] Initializing built-in extension RANDR
    [ 887.404] Initializing built-in extension COMPOSITE
    [ 887.404] Initializing built-in extension DAMAGE
    [ 887.404] Initializing built-in extension MIT-SCREEN-SAVER
    [ 887.404] Initializing built-in extension DOUBLE-BUFFER
    [ 887.404] Initializing built-in extension RECORD
    [ 887.404] Initializing built-in extension DPMS
    [ 887.404] Initializing built-in extension Present
    [ 887.404] Initializing built-in extension DRI3
    [ 887.404] Initializing built-in extension X-Resource
    [ 887.404] Initializing built-in extension XVideo
    [ 887.404] Initializing built-in extension XVideo-MotionCompensation
    [ 887.404] Initializing built-in extension XFree86-VidModeExtension
    [ 887.404] Initializing built-in extension XFree86-DGA
    [ 887.404] Initializing built-in extension XFree86-DRI
    [ 887.404] Initializing built-in extension DRI2
    [ 887.404] (II) "glx" will be loaded by default.
    [ 887.404] (II) LoadModule: "dri2"
    [ 887.404] (II) Module "dri2" already built-in
    [ 887.404] (II) LoadModule: "glamoregl"
    [ 887.404] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
    [ 887.454] (II) Module glamoregl: vendor="X.Org Foundation"
    [ 887.454] compiled for 1.15.0, module version = 0.6.0
    [ 887.454] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 887.454] (II) LoadModule: "glx"
    [ 887.454] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
    [ 887.495] (II) Module glx: vendor="NVIDIA Corporation"
    [ 887.495] compiled for 4.0.2, module version = 1.0.0
    [ 887.495] Module class: X.Org Server Extension
    [ 887.495] (II) NVIDIA GLX Module 340.24 Wed Jul 2 15:04:31 PDT 2014
    [ 887.495] Loading extension GLX
    [ 887.495] (II) LoadModule: "nvidia"
    [ 887.495] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 887.500] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 887.500] compiled for 4.0.2, module version = 1.0.0
    [ 887.500] Module class: X.Org Video Driver
    [ 887.500] (II) LoadModule: "mouse"
    [ 887.500] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
    [ 887.502] (II) Module mouse: vendor="X.Org Foundation"
    [ 887.502] compiled for 1.15.0, module version = 1.9.0
    [ 887.502] Module class: X.Org XInput Driver
    [ 887.502] ABI class: X.Org XInput driver, version 20.0
    [ 887.502] (II) LoadModule: "kbd"
    [ 887.502] (WW) Warning, couldn't open module kbd
    [ 887.502] (II) UnloadModule: "kbd"
    [ 887.502] (II) Unloading kbd
    [ 887.502] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 887.502] (II) NVIDIA dlloader X Driver 340.24 Wed Jul 2 14:42:23 PDT 2014
    [ 887.502] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 887.502] (--) using VT number 1
    [ 887.502] (II) Loading sub module "fb"
    [ 887.502] (II) LoadModule: "fb"
    [ 887.502] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 887.504] (II) Module fb: vendor="X.Org Foundation"
    [ 887.504] compiled for 1.15.2, module version = 1.0.0
    [ 887.504] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 887.504] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 887.504] (II) Loading sub module "wfb"
    [ 887.504] (II) LoadModule: "wfb"
    [ 887.504] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 887.506] (II) Module wfb: vendor="X.Org Foundation"
    [ 887.506] compiled for 1.15.2, module version = 1.0.0
    [ 887.506] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 887.506] (II) Loading sub module "ramdac"
    [ 887.506] (II) LoadModule: "ramdac"
    [ 887.506] (II) Module "ramdac" already built-in
    [ 887.506] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 887.506] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 887.506] (==) NVIDIA(0): RGB weight 888
    [ 887.506] (==) NVIDIA(0): Default visual is TrueColor
    [ 887.506] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 887.506] (**) NVIDIA(0): Option "NoLogo" "true"
    [ 887.506] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
    [ 887.507] (**) NVIDIA(0): Option "UseEDID" "false"
    [ 887.507] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
    [ 887.507] (**) NVIDIA(0): Enabling 2D acceleration
    [ 887.507] (**) NVIDIA(0): Ignoring EDIDs
    [ 887.507] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
    [ 887.507] (**) NVIDIA(0): mode
    [ 891.006] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
    [ 891.008] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 660M (GK107) at PCI:1:0:0 (GPU-0)
    [ 891.008] (--) NVIDIA(0): Memory: 2097152 kBytes
    [ 891.008] (--) NVIDIA(0): VideoBIOS: 80.07.3c.00.16
    [ 891.008] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 891.008] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 660M at PCI:1:0:0
    [ 891.008] (--) NVIDIA(0): none
    [ 891.008] (II) NVIDIA(0): Validated MetaModes:
    [ 891.008] (II) NVIDIA(0): "NULL"
    [ 891.008] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
    [ 891.008] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    [ 891.008] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
    [ 891.008] (--) Depth 24 pixmap format is 32 bpp
    [ 891.008] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
    [ 891.008] (II) NVIDIA: access.
    [ 891.013] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 891.013] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 891.013] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 891.013] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 891.013] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 891.013] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 891.013] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 891.013] (II) NVIDIA(0): Config Options in the README.
    [ 891.013] (II) NVIDIA(0): Setting mode "NULL"
    [ 891.028] Loading extension NV-GLX
    [ 891.035] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 891.035] (==) NVIDIA(0): Backing store enabled
    [ 891.035] (==) NVIDIA(0): Silken mouse enabled
    [ 891.035] (==) NVIDIA(0): DPMS enabled
    [ 891.035] Loading extension NV-CONTROL
    [ 891.036] (II) Loading sub module "dri2"
    [ 891.036] (II) LoadModule: "dri2"
    [ 891.036] (II) Module "dri2" already built-in
    [ 891.036] (II) NVIDIA(0): [DRI2] Setup complete
    [ 891.036] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 891.036] (--) RandR disabled
    [ 891.044] (II) Initializing extension GLX
    [ 891.100] (II) Using input driver 'mouse' for '<default pointer>'
    [ 891.100] (**) Option "CorePointer" "on"
    [ 891.100] (**) <default pointer>: always reports core events
    [ 891.100] (WW) <default pointer>: No Device specified, looking for one...
    [ 891.146] (II) <default pointer>: Setting Device option to "/dev/input/mice"
    [ 891.146] (--) <default pointer>: Device: "/dev/input/mice"
    [ 891.146] (==) <default pointer>: Protocol: "Auto"
    [ 891.146] (**) <default pointer>: always reports core events
    [ 891.146] (**) Option "Device" "/dev/input/mice"
    [ 891.200] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
    [ 891.200] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
    [ 891.200] (**) <default pointer>: Buttons: 9
    [ 891.200] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
    [ 891.200] (**) <default pointer>: (accel) keeping acceleration scheme 1
    [ 891.200] (**) <default pointer>: (accel) acceleration profile 0
    [ 891.200] (**) <default pointer>: (accel) acceleration factor: 2.000
    [ 891.200] (**) <default pointer>: (accel) acceleration threshold: 4
    [ 891.200] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
    [ 891.493] (II) <default pointer>: ps2EnableDataReporting: succeeded
    [ 891.493] (II) LoadModule: "kbd"
    [ 891.494] (WW) Warning, couldn't open module kbd
    [ 891.494] (II) UnloadModule: "kbd"
    [ 891.494] (II) Unloading kbd
    [ 891.494] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 891.494] (EE) No input driver matching `kbd'
    [ 891.497] (II) config/udev: Adding input device Power Button (/dev/input/event3)
    [ 891.497] (II) AutoAddDevices is off - not adding device.
    [ 891.497] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
    [ 891.497] (II) AutoAddDevices is off - not adding device.
    [ 891.497] (II) config/udev: Adding input device Power Button (/dev/input/event0)
    [ 891.497] (II) AutoAddDevices is off - not adding device.
    [ 891.498] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
    [ 891.498] (II) AutoAddDevices is off - not adding device.
    [ 891.498] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
    [ 891.498] (II) AutoAddDevices is off - not adding device.
    [ 891.498] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
    [ 891.498] (II) AutoAddDevices is off - not adding device.
    [ 891.499] (II) config/udev: Adding drm device (/dev/dri/card1)
    [ 891.499] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 891.499] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 891.499] setversion 1.4 failed: Permission denied
    [ 891.499] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event7)
    [ 891.499] (II) AutoAddDevices is off - not adding device.
    [ 891.500] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
    [ 891.500] (II) AutoAddDevices is off - not adding device.
    [ 891.500] (II) config/udev: Adding input device CHESEN USB Keyboard (/dev/input/event8)
    [ 891.500] (II) AutoAddDevices is off - not adding device.
    [ 891.501] (II) config/udev: Adding input device CHESEN USB Keyboard (/dev/input/event9)
    [ 891.501] (II) AutoAddDevices is off - not adding device.
    [ 891.501] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12)
    [ 891.501] (II) AutoAddDevices is off - not adding device.
    [ 891.501] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event13)
    [ 891.501] (II) AutoAddDevices is off - not adding device.
    [ 891.502] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event14)
    [ 891.502] (II) AutoAddDevices is off - not adding device.
    [ 891.502] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
    [ 891.502] (II) AutoAddDevices is off - not adding device.
    [ 891.502] (II) config/udev: Adding input device Lenovo EasyCamera (/dev/input/event16)
    [ 891.502] (II) AutoAddDevices is off - not adding device.
    [ 891.503] (II) config/udev: Adding input device Ideapad extra buttons (/dev/input/event10)
    [ 891.503] (II) AutoAddDevices is off - not adding device.
    [ 891.503] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event6)
    [ 891.503] (II) AutoAddDevices is off - not adding device.
    [ 891.503] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event17)
    [ 891.504] (II) AutoAddDevices is off - not adding device.
    [ 891.504] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
    [ 891.504] (II) AutoAddDevices is off - not adding device.
    [ 891.504] (II) config/udev: Adding input device PC Speaker (/dev/input/event11)
    [ 891.504] (II) AutoAddDevices is off - not adding device.
    [ 892.695] (II) UnloadModule: "mouse"
    [ 892.720] (II) NVIDIA(GPU-0): Deleting GPU-0
    [ 892.723] (EE) Server terminated successfully (0). Closing log file.
    Last edited by Akikyo (2014-07-24 21:04:45)

    I can't be sure but most of the dota2 output looks "normal" to me (I get the same yet it works fine).
    eurotrucks is clearly crashing. You could try to force the resolution it uses in its config files?
    Or maybe it's missing a lib (you may need to install 32bit versions):
    ldd /path/to/eurotrucks
    to see if that's the case. If not, you might have to take it up with the eurotrucks developers.
    And you could try using fluxbox/openbox just to see what happens. A lot lighter than KDE.
    Have a good look though: https://wiki.archlinux.org/index.php/Steam
    and remember to check for missing 32bit libs.

  • Problem with i915 Intel driver panic..

    Hello,
    I just recently reinstalled Arch on my laptop.  I have a problem with my laptop. When I went to install the Nvidia Optimus stuff and configure my Xorg.conf I was met with problems with the Intel Driver timing out.  When I boot up I get the normal post screen, then grub, I then go to see the GDM login and instead of getting it I just get a black screen.  When I remove the /etc/X11/xorg.conf.d/10-monitor.conf I can boot into Gnome Shell, else I have to switch run levels and login that way.  I have every package up-to-date.  And I haven't seen an /var/log/Xorg.0.log either else I would have posted it.  One other thing is I have added my user account to the Bumblebee account.  One other thing is when I move my web browser around my video flickers..  Any help I can receive with this would be greatly appreciated.
    uname -a
    Linux tux 3.17.1-1-ARCH #1 SMP PREEMPT Wed Oct 15 15:04:35 CEST 2014 x86_64 GNU/Linux
    pacman -q xf86-video-intel:
    xf86-video-intel 2.99.916-3
    pacman -Q xorg-server
    xorg-server 1.16.1-1
    pacman -Q primus
    primus 20131226-1
    pacman -Q mesa
    mesa 10.3.1-1
    pacman -Q lib32-primus
    lib32-primus 20131226-1
    pacman -Q bbswitch
    bbswitch 0.8-18
    pacman -Q gdm
    gdm 3.14.1-1
    pacman -q systemd
    systemd 216-3
    dmesg | grep i915
    [ 1.982842] i915 0000:00:02.0: irq 36 for MSI/MSI-X
    [ 2.099424] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
    [ 2.127859] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    [ 2.127862] i915 0000:00:02.0: registered panic notifier
    [ 2.147795] [drm] Initialized i915 1.6.0 20140725 for 0000:00:02.0 on minor 0
    /etc/X11/xorg.conf.d/20-intel.conf
    Section "Device"
    Identifier "Intel"
    Driver "intel"
    Option "AccelMethod" "sna"
    Option "TearFree" "true"
    Option "monitor-LVDS" "Monitor0"
    BusID "PCI:0:2:0"
    EndSection
    /etc/X11/xorg.conf.d/10-keyboard.conf
    Section "InputClass"
    Identifier "Keyboard0"
    MatchIsKeyboard "on"
    Option "XkbLayout" "us"
    Option "XkbModel" "pc104"
    Option "XkbVariant" ",qwerty"
    EndSection
    /etc/X11/xorg.conf.d/50-synaptic.conf
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    /etc/X11/xorg.conf.d/10-monitor.conf
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Intel"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    sudo lspci -v
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
    Subsystem: Dell Device 04c8
    Flags: bus master, fast devsel, latency 0, IRQ 36
    Memory at d1400000 (64-bit, non-prefetchable) [size=4M]
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 7000 [size=64]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Capabilities: [a4] PCI Advanced Features
    Kernel driver in use: i915
    Kernel modules: i915
    01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Dell Device 04c8
    Flags: bus master, fast devsel, latency 0, IRQ 7
    Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
    Memory at a0000000 (64-bit, prefetchable) [size=256M]
    Memory at b0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at 6000 [disabled] [size=128]
    Expansion ROM at d1000000 [disabled] [size=512K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Endpoint, MSI 00
    Capabilities: [b4] Vendor Specific Information: Len=14 <?>
    Capabilities: [100] Virtual Channel
    Capabilities: [128] Power Budgeting <?>
    Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
    Kernel modules: nouveau, nvidia
    xrandr -q
    [adramalech@tux log]$ xrandr
    Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
    LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 256mm x 144mm
    1366x768 60.05*+
    1024x768 60.00
    800x600 60.32 56.25
    640x480 59.94
    VGA1 disconnected (normal left inverted right x axis y axis)
    VIRTUAL1 disconnected (normal left inverted right x axis y axis)
    cat /proc/bus/input/devices
    I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
    N: Name="AT Translated Set 2 keyboard"
    P: Phys=isa0060/serio0/input0
    S: Sysfs=/devices/platform/i8042/serio0/input/input0
    U: Uniq=
    H: Handlers=sysrq kbd event0
    B: PROP=0
    B: EV=120013
    B: KEY=402000000 380307af800d001 feffffdfffefffff fffffffffffffffe
    B: MSC=10
    B: LED=7
    I: Bus=0019 Vendor=0000 Product=0005 Version=0000
    N: Name="Lid Switch"
    P: Phys=PNP0C0D/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
    U: Uniq=
    H: Handlers=event1
    B: PROP=0
    B: EV=21
    B: SW=1
    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button"
    P: Phys=LNXPWRBN/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
    U: Uniq=
    H: Handlers=kbd event2
    B: PROP=0
    B: EV=3
    B: KEY=10000000000000 0
    I: Bus=0010 Vendor=001f Product=0001 Version=0100
    N: Name="PC Speaker"
    P: Phys=isa0061/input0
    S: Sysfs=/devices/platform/pcspkr/input/input4
    U: Uniq=
    H: Handlers=kbd event3
    B: PROP=0
    B: EV=40001
    B: SND=6
    I: Bus=0001 Vendor=10ec Product=0665 Version=0001
    N: Name="HDA Digital PCBeep"
    P: Phys=card0/codec#0/beep0
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input6
    U: Uniq=
    H: Handlers=kbd event4
    B: PROP=0
    B: EV=40001
    B: SND=6
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH Mic"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input7
    U: Uniq=
    H: Handlers=event5
    B: PROP=0
    B: EV=21
    B: SW=10
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH Headphone"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input8
    U: Uniq=
    H: Handlers=event6
    B: PROP=0
    B: EV=21
    B: SW=4
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH Headphone"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input9
    U: Uniq=
    H: Handlers=event7
    B: PROP=0
    B: EV=21
    B: SW=4
    I: Bus=0019 Vendor=0000 Product=0000 Version=0000
    N: Name="Dell WMI hotkeys"
    P: Phys=wmi/input0
    S: Sysfs=/devices/virtual/input/input10
    U: Uniq=
    H: Handlers=kbd rfkill event8
    B: PROP=0
    B: EV=13
    B: KEY=1500b00000000 200300000 0 0
    B: MSC=10
    I: Bus=0019 Vendor=0000 Product=0006 Version=0000
    N: Name="Video Bus"
    P: Phys=LNXVIDEO/video/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:2f/LNXVIDEO:00/input/input11
    U: Uniq=
    H: Handlers=kbd event9
    B: PROP=0
    B: EV=3
    B: KEY=3e000b00000000 0 0 0
    I: Bus=0019 Vendor=0000 Product=0006 Version=0000
    N: Name="Video Bus"
    P: Phys=LNXVIDEO/video/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input12
    U: Uniq=
    H: Handlers=kbd event10
    B: PROP=0
    B: EV=3
    B: KEY=3e000b00000000 0 0 0
    I: Bus=0003 Vendor=0c45 Product=6430 Version=1208
    N: Name="Laptop_Integrated_Webcam_2M"
    P: Phys=usb-0000:00:1d.0-1.4/button
    S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input13
    U: Uniq=
    H: Handlers=kbd event11
    B: PROP=0
    B: EV=3
    B: KEY=100000 0 0 0
    I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
    N: Name="SynPS/2 Synaptics TouchPad"
    P: Phys=isa0060/serio1/input0
    S: Sysfs=/devices/platform/i8042/serio1/input/input5
    U: Uniq=
    H: Handlers=event12 mouse0
    B: PROP=9
    B: EV=b
    B: KEY=6420 30000 0 0 0 0
    B: ABS=260800011000003
    glxinfo | grep OpenGL
    OpenGL vendor string: Intel Open Source Technology Center
    OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
    OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.3.1
    OpenGL core profile shading language version string: 1.40
    OpenGL core profile context flags: (none)
    OpenGL core profile extensions:
    OpenGL version string: 3.0 Mesa 10.3.1
    OpenGL shading language version string: 1.30
    OpenGL context flags: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.1
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
    OpenGL ES profile extensions:
    sudo glxgears -info
    Running synchronized to the vertical refresh. The framerate should be
    approximately the same as the monitor refresh rate.
    GL_RENDERER = Mesa DRI Intel(R) Sandybridge Mobile
    GL_VERSION = 3.0 Mesa 10.3.1
    GL_VENDOR = Intel Open Source Technology Center
    GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_timer_query GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_clear_buffer_object GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_invalidate_subdata GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_vertex_attrib_binding GL_KHR_debug GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_multi_bind GL_ARB_seamless_cubemap_per_texture GL_ARB_texture_mirror_clamp_to_edge GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_ARB_conditional_render_inverted
    VisualID 32, 0x20

    Hi
    I assume you have installed the graphic card driver from the Intel website and you use NOT a Toshiba graphic driver which was designed especially for the notebook usage.
    Well, Toshiba recommend using the Toshiba drivers. In this case you should try to use the recommended graphic driver which you can download from the Toshiba driver page.

  • Problem with Creative Cloud Desktop app since update to Windows 8.1

    Hi, I have updated my desktop and laptop to Windows 8.1 over the past day, and have noticed a problem with the Creative Cloud Desktop app.
    Some menu items when I right-click on either the CC system tray icon, or click on the Settings menu icon in the app interface itself do not show.  I've included a screenshot of the problem.
    I have tried uninstalling and reinstalling the desktop app, but this has not worked.  Any ideas?

    I am experiencing issues similar to the post above, with smaller floating windows but no dialouge. I uninstalled creative cloud desktop then re-installed- Issue is partly fixed, but now I get this:
    My system build:
    CPU:           Intel Core i7-3770 (Ivy Bridge-DT, E1)
                   3400 MHz (34.00x100.0) @ 3900 MHz (39.00x100.0)
    Motherboard:   ASRock Z77 Extreme6
    Chipset:       Intel Z77 (Panther Point DH)
    Memory:        16384 MBytes @ 666 MHz, 9.0-9-9-24
                   - 8192 MB PC19200 DDR3 SDRAM - G Skill F3-2400C10-8GTX
                   - 8192 MB PC19200 DDR3 SDRAM - G Skill F3-2400C10-8GTX
    Graphics:      Intel Ivy Bridge-DT GT2 - Integrated Graphics Controller [E1/L1/N0/P0] [ASRock]
                   Intel HD Graphics 4000, 2112 MB
    Graphics:      GIGABYTE GeForce GTX 660 Ti
                   NVIDIA GeForce GTX 660 Ti, 3072 MB GDDR5 SDRAM
    Drive:         SanDisk SDSSDHP128G, 125.0 GB, Serial ATA 6Gb/s @ 6Gb/s
    Drive:         Corsair Force GT, 117.2 GB, Serial ATA 6Gb/s @ 6Gb/s
    Drive:         SAMSUNG HD204UI, 1953.5 GB, Serial ATA 3Gb/s
    Sound:         Intel Panther Point PCH - High Definition Audio Controller [C1]
    Sound:         NVIDIA GK104 - High Definition Audio Controller
    OS:            Microsoft Windows 8.1  (x64) Build 9600

  • Problem with Logical Database DDF

    Hey All,
    I have a problem with Logical Database DDF.
    In my program I am typing this
    GET KNA1 based on selection screen. It is bringing back everything I want except BRAN1 whereby the field is ''. However in SE16 for KNA1 and for the same KUNNR, the field is populated with 'T180'
    I am not understanding this?! I thought LDB where menat to make things easy!!

    I think it's not used by DDF.
    so you must check it with:
    check kna1-bran1 in s_bran1.
    A.

  • PCH  LDB   jobs  C  not coming

    Hi Friends-
    Am using PCH  LDB for  one interface with Get Objec  event   am able to see  positions  S ,org units  O   but  its not showing
    Jobs  C   only   though there are plenty of  records in hrp1000 for  C    ,  do u have any idea on it ?? pls share .
    Regards
    Meeta

    Hi Meeta,
    Please check selection screen and make sure none of the object type restriction is provided.
    Regards,
    Dilek

  • Problems with volume control, built-in speaker on HP ProBook

    Hi
    Recently installed Arch on a HP ProBook 4330s. Initially sound was working perfectly, but now I'm having problems with the built-in speaker.
    Using alsamixer in the terminal, I can independently control the volume of the headphone jack and the speaker, but it seems like the speaker is linked to the headphone volume instead of the speaker volume. Thus raising the speaker volume in alsamixer has no effect on the speaker itself, which only outputs sound as long as the headphone volume is raised and the loopback box is checked. This also means that the speakers cannot be muted while using headphones.
    I installed pavucontrol to see if I could gain any insight, but trying to select "Speakers" as output port seems only to have an effect the volume sliders in alsamixer. So no settings in PulseAudio UI could solve my issue.
    I have googled wide and far, but haven't found anything helpful. I tried reoading kernel modules snd-hda-intel, snd-hda-codec-idt, snd-hda-codec-generic, but nothing changed.
    Below is some info of my system. Please let me know if I need provide more. Any help is appreciated.
    aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    pulse
    PulseAudio Sound Server
    sysdefault:CARD=PCH
    HDA Intel PCH, 92HD87B1/3 Analog
    Default Audio Device
    front:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD87B1/3 Analog
    Front speakers
    surround21:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD87B1/3 Analog
    2.1 Surround output to Front and Subwoofer speakers
    surround40:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD87B1/3 Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD87B1/3 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD87B1/3 Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD87B1/3 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD87B1/3 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: 92HD87B1/3 Analog [92HD87B1/3 Analog]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    lspci | grep -i audio
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
    pacmd list-sinks
    1 sink(s) available.
    * index: 20
    name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
    state: IDLE
    suspend cause:
    priority: 9959
    volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
    balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 19.81 ms
    max request: 3 KiB
    max rewind: 344 KiB
    monitor source: 25
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
    Stereo
    used by: 0
    linked by: 1
    configured latency: 20.00 ms; range is 0.50 .. 2000.00 ms
    card: 0 <alsa_card.pci-0000_00_1b.0>
    module: 6
    properties:
    alsa.resolution_bits = "16"
    device.api = "alsa"
    device.class = "sound"
    alsa.class = "generic"
    alsa.subclass = "generic-mix"
    alsa.name = "92HD87B1/3 Analog"
    alsa.id = "92HD87B1/3 Analog"
    alsa.subdevice = "0"
    alsa.subdevice_name = "subdevice #0"
    alsa.device = "0"
    alsa.card = "0"
    alsa.card_name = "HDA Intel PCH"
    alsa.long_card_name = "HDA Intel PCH at 0xd4a00000 irq 39"
    alsa.driver_name = "snd_hda_intel"
    device.bus_path = "pci-0000:00:1b.0"
    sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
    device.bus = "pci"
    device.vendor.id = "8086"
    device.vendor.name = "Intel Corporation"
    device.product.id = "1c20"
    device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller"
    device.form_factor = "internal"
    device.string = "front:0"
    device.buffering.buffer_size = "352800"
    device.buffering.fragment_size = "176400"
    device.access_mode = "mmap+timer"
    device.profile.name = "analog-stereo"
    device.profile.description = "Analog Stereo"
    device.description = "Built-in Audio Analog Stereo"
    alsa.mixer_name = "Intel CougarPoint HDMI"
    alsa.components = "HDA:111d76d1,103c167e,00100205 HDA:80862805,80860101,00100000"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-pci"
    ports:
    analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
    properties:
    analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
    properties:
    device.icon_name = "audio-speakers"
    analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
    properties:
    device.icon_name = "audio-headphones"
    active port: <analog-output-speaker>
    cat /proc/asound/cards
    0 [PCH ]: HDA-Intel - HDA Intel PCH
    HDA Intel PCH at 0xd4a00000 irq 39
    Last edited by frwdrik (2014-12-08 00:49:52)

    I do have all those packages installed. The volume controls were working perfectly for about 3 week, but now suddenly they are not behaving as expected. I don't know of any changes I made to my system that could have caused this. I suspected it might be a problem with the drivers, so I tried to find the appropriate driver at https://www.kernel.org/doc/Documentatio … Models.txt
    [frwdrik@frwdrik ~]$ cat /proc/asound/card0/codec#0 | grep -i codec
    Codec: IDT 92HD87B1/3
    But I cannot find this codec on that page.
    Last edited by frwdrik (2014-12-29 13:57:44)

  • PCH LDB issue using Evaluation path

    Hello,
    I have a custom program which uses PCH LDB and runs for positions. The program works fine when I input Position IDs.
    When I run with org.unit + evaluation path (O-O-S), the program runs forever. When I checked in debug the program is creating duplicate entries in the output internal table.
    As per my analysis, this issue is happening only for org.units having positions more than 600. After processing 599 positions, the standard program sets the INDEX  to 0 and resume the processing from 1st position resulting in infinite loop.
    Can anyone please help me out in this?
    Thank you.
    Praveen.

    thanks for the reply.
    I can see the evaluation path in table t778a. In tcode ppss i do not know what the object id and object type for the evaluation path are?
    Any idea if there is any other way to check details?

  • Maybe a problem with Z77A-GD55

    Hello,
    I think I may have a some kind of a problem with my motherboard. After an upgrade I installed windows 7 64bit and took a brief look, ran some test and one thing stood out, that one temperature sensor always shows more than 60 degrees(TMPIN1), is it normal? I haven't installed any MSI utilities and haven't looked what bios version I have. If it is necessary I can post it when i get back home.
    Thanks for replies.
    Here's a pic of all temperatures
    My specs:
    I5-3570k stock speeds
    Z77A-GD55
    Corsair Force GT 120GB SSD
    Sapphire Radeon HD6950
    crucial ballistix tactical 2x4 GB RAM @ 1800

    Quote from: HU16E on 11-May-12, 19:33:10
    No problem. Here's the Intel pdf link (Table 3-1 has the limits);
    >> 7 Series T & D Guide <<
    hansip87, to relieve any anxiety, recommend to submit a ticket to MSI Tech Support and ask them if PCH is a sensored reading. My guess is it is bogus. I have a Z68 that reads -24C for TMPIN1 for an example. The PCH can also be checked and confirmed by using an IR thermal device.
    http://support.msi.com
    After getting back to my PC, it is not 100c :p seems like i read the wrong value before.. so thanks anyway :D

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

  • Problem with threads running javaw

    Hi,
    Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
    troy.

    troy,
    Try and post a minimum code sample of your app which
    does not work.
    When using javaw, make sure you redirect the standard
    error and standard output streams to file.
    Graeme.Hi Graeme,
    I dont understand what you mean by redirection to file? some of my code below.
    The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
    public class Server{
    ServerSocket aServerSocket;
    Socket dianosticsSocket;
    Socket nPortExpress;
    ClientListener aClientListener;
    LinkedList queue = new LinkedList();
    int port = 0;
    int clientPort = 0;
    String clientName = null;
    boolean serverAlive = true;
    * Server constructor generates a server
    * Socket and then starts a client threads.
    * @param aPort      socket port of local machine.
    public Server(int aPort, String aClientName, int aClientPort){
    port = aPort;
    clientName = aClientName;
    clientPort = aClientPort;
    try{
    // create a new thread
    aServerSocket = new ServerSocket(port) ;
    // connect to the nPortExpress
    aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
    // aClientListener.setDaemon(true);
    aClientListener.start();
    // start a dianostic port
    DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
    // System.out.println("Server is running on port " + port + "...");
    // System.out.println("Connect to nPort");
    catch(Exception e)
    // System.out.println("ERROR: Server port " + port + " not available");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
    serverAlive = false;
    System.exit(1);
    while(serverAlive&&aClientListener.hostSocket.isConnected()){
    try{
    // connect the client
    Socket aClient = aServerSocket.accept();
    //System.out.println("open client connection");
    //System.out.println("client local: "+ aClient.getLocalAddress().toString());
    // System.out.println("client localport: "+ aClient.getLocalPort());
    // System.out.println("client : "+ aClient.getInetAddress().toString());
    // System.out.println("client port: "+ aClient.getLocalPort());
    // make a new client thread
    ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
    // start thread
    clientThread.start();
    catch(Exception e)
    //System.out.println("ERROR: Client connection failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
    }// end while
    } // end constructor Server
    void serverExit(){
         JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
         System.exit(1);
    }// end class Server
    *** connect to another server
    public class ClientListener extends Thread{
    InetAddress hostName;
    int hostPort;
    Socket hostSocket;
    BufferedReader in;
    PrintWriter out;
    boolean loggedIn;
    LinkedList queue;      // reference to Server queue
    Server serverRef; // reference to main server
    * ClientListener connects to the host server.
    * @param aHostName is the name of the host eg server name or IP address.
    * @param aHostPort is a port number of the host.
    * @param aLoginName is the users login name.
    public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer)      // reference to Server queue)
    hostName = aHostName;
    hostPort = aHostPort;
    queue = aQueue;
    serverRef = aServer;      
    // connect to the server
    try{
    hostSocket = new Socket(hostName, hostPort);
    catch(IOException e){
    //System.out.println("ERROR: Connection Host Failed");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);     
    System.exit(0);
    } // end constructor ClientListener
    ** multi client connection server
    ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
    queue = aQueue;
    addToQueue(this);
    client = aSocket;
    clientRef = aClientListener;
    aDiagnostic = diagnostics;
    } // end constructor ClientWorker
    * run method is the main loop of the server program
    * in change of handle new client connection as well
    * as handle all messages and errors.
    public void run(){
    boolean alive = true;
    String aSubString = "";
    in = null;
    out = null;
    loginName = "";
    loggedIn = false;
    while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
    try{
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
    if(aDiagnostic){
    out.println("WELCOME to diagnostics");
    broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    out.println("WELCOME to Troy's Server");
    broadCastDia("Connect : client "+client.getInetAddress().toString());
         out.flush();
    String line;
    while(((line = in.readLine())!= null)){
    StringTokenizer aStringToken = new StringTokenizer(line, " ");
    if(!aDiagnostic){
    broadCastDia(line);
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    else{
    if(line.equals("GETIPS"))
    getIPs();
    else{
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    } // end while
    catch(Exception e){
    // System.out.println("ERROR:Client Connection reset");
                             JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);     
    try{
    if(aDiagnostic){
    broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    broadCastDia("Disconnect : client "+client.getInetAddress().toString());
         out.flush();
    // close the buffers and connection;
    in.close();
    out.close();
    client.close();
    // System.out.println("out");
    // remove from list
    removeThreadQueue(this);
    alive = false;
    catch(Exception e){
    // System.out.println("ERROR: Client Connection reset failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);     
    }// end while
    } // end method run
    * method run - Generates io stream for communicating with the server and
    * starts the client gui. Run also parses the input commands from the server.
    public void run(){
    boolean alive = true;
    try{
    // begin to life the gui
    // aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
    // aGuiClient.show();
    in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
    while (alive && hostSocket.isConnected()){
    String line;
    while(((line = in.readLine())!= null)){
    System.out.println(line);
    broadCast(line);
    } // end while
    } // end while
    catch(Exception e){
    //     System.out.println("ERRORa Connection to host reset");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
    try{
    hostSocket.close();
         }catch(Exception a){
         JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
    alive = false;
    System.exit(1);
    } // end method run

  • Problem with threads and camera.

    Hi everybody!
    I've a problem with taking snapshot.
    I would like to display a loading screen after it take snapshot ( sometimes i
    have to wait few seconds after i took snapshot. Propably photo is being taken in time where i have to wait).
    I was trying to use threads but i didn't succeed.
    I made this code:
    display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while((!performing.isShown()) && (backgroundCamera.isShown())){
                        Thread.yield();
                    notifyAll();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        this.wait();                   
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();This code is sometimes showing performing screen but sometimes no.
    I don't know why. In my opinion performing.isShown() method isn't working correctly.
    Does anyone have some idea how to use threads here?

    Hi,
    I've finally managed to work this fine.
    The code:
           Object o = new Object();
           display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while(!performing.isShown()){
                        Thread.yield();
                   synchronized(o) {
                      o.notify();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        synchronized(o) {
                           o.wait(1);
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();

  • Problem with threads hanging

    We have a problem where our application stops responding after a few days of usage. Things will for fine for a day or two, and then pretty quickly threads will start getting hung up, usually in places where they are allocating memory
    We are running WebLogic 8.1 SP2 on Sun JDK 1.4.2_04 on Solaris 8 using the alternate threading model and the -server hotspot vm. We are running pretty much the same code that we had no problems with under WebLogic 6.1 SP4 and Sun JDK 1.3.1.
    A thread dump usually shows that some or all of our execute threads are in the state "waiting for monitor entry" even though they are not currently waiting on any java locks. Here is a sample thread from the thread dump (we have ~120 threads so I don't want to post the full dump).
    =============================================================================================
    "ExecuteThread: '8' for queue: 'itgCrmWarExecutionQueue'" daemon prio=5 tid=0x005941d0 nid=0x2c waiting for monitor entry [c807f000..c807fc28]
    at java.lang.String.substring(String.java:1446)
    at java.lang.String.substring(String.java:1411)
    at weblogic.servlet.internal.ServletRequestImpl.getRelativeUri(ServletRequestImpl.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3492)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    =============================================================================================
    String.java line 1446 for this jdk allocates a new String object, and all the other threads in this state also are creating new objects or arrays, etc.
    We've done a pstack on this process when it's in this state, and the threads that are in the "waiting for monitor entry" that look like they're allocating memory are all waiting on the same lwp_mutex_lock with some allocation method that's calling into the native TwoGenerationCollectorPolicy.mem_allocate_work (see pstack output below for the same thread as in the thread dump above)
    =============================================================================================
    ----------------- lwp# 44 / thread# 44 --------------------
    ff31f364 lwp_mutex_lock (e3d70)
    fee92384 __1cNObjectMonitorGenter26MpnGThread__v_ (5000, 525c, 5000, 50dc, 4800, 4af0) + 2d8
    fee324d4 __1cSObjectSynchronizerKfast_enter6FnGHandle_pnJBasicLock_pnGThread__v_ (c807f65c, c807f7d4, 5941d0, 0, 35d654, fee328ec) + 68
    fee32954 __1cQinstanceRefKlassZacquire_pending_list_lock6FpnJBasicLock__v_ (c807f7d4, ff170000, d4680000, 4491d4, fee1bc2c,
    0) + 78
    fee3167c __1cPVM_GC_OperationNdoit_prologue6M_i_ (c807f7bc, 4400, ff170000, 2d2b8, 4a6268, c807fa18) + 38
    fee2e0b0 __1cIVMThreadHexecute6FpnMVM_Operation__v_ (c807f7bc, 963a8, 0, 0, 1, 0) + 90
    fed2c2a4 __1cbCTwoGenerationCollectorPolicyRmem_allocate_work6MIii_pnIHeapWord__ (962c0, ff1c29ec, ff1c297c, ff131a26, 4800, 4998) + 160
    fed22940 __1cNinstanceKlassRallocate_instance6MpnGThread__pnPinstanceOopDesc__ (ee009020, 5941d0, 15ca581, 3647f0, 4a6268, c807f8c8) + 180
    fed34928 __1cLOptoRuntimeFnew_C6FpnMklassOopDesc_pnKJavaThread__v_ (ee009018, 5941d0, 0, 0, 0, 0) + 28
    fa435a58 ???????? (ee009018, e86de, 15ca4de, 50dc, 5941d0, c807f9c8)
    fb36f9a4 ???????? (0, d412ccd8, ee046c28, ff170000, 0, 0)
    fad8b278 ???????? (ee046c28, d6000c90, ee046530, 8, db8e8450, c807f9e8)
    fad62abc ???????? (d412ccd8, ee046530, d6000c90, ee3bfa38, 8, c807fa18)
    fa4b3c38 ???????? (c807fb9c, 0, f2134700, fa415e50, 8, c807faa8)
    fa40010c ???????? (c807fc28, c807fe90, a, ee9e1e20, 4, c807fb40)
    fed5d48c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (c807fe88, c807fcf0, c807fda8, 5941d0, 5941d0, c807fd00) + 27c
    fee4b784 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_ (ff170000, 594778, c807fd9c, c807fd98, c807fda8, 5941d0) + 164
    fee5e8dc __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (c807fe88, c807fe84, c807fe7c, c807fe74, c807fe6c, 5941d0) + 6c
    fee6fc74 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (5941d0, 5941d0, 838588, 594778, 306d10, fee69254) + 128
    fee6927c __1cKJavaThreadDrun6M_v_ (5941d0, 2c, 40, 0, 40, 0) + 284
    fee6575c _start   (5941d0, fa1a1600, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Also when it's having this problem, the "VM Thread" is always using a lot of processor time. We did a couple of pstacks today while it was having this problem, and this thread was stuck in the ONMethodSweeper.sweep for over 15 minutes when we finally killed the server.
    From the thread dump:
    "VM Thread" prio=5 tid=0x000e2d20 nid=0x2 runnable
    From the first pstack:
    =============================================================================================
    ----------------- lwp# 2 / thread# 2 --------------------
    fed40c04 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (42a2f4, fa5fa46d, ffffffff, fc4ffcb8, 42a2f4, 42a324) + 124
    fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (42a2f0, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
    fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (fa5f7f88, fa608940, 1, 0, fa400000, 6) + 1ac
    fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
    fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
    feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
    feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
    fee6575c _start   (e2d20, ff270200, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Second pstack
    =============================================================================================
    ----------------- lwp# 2 / thread# 2 --------------------
    fed41180 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (0, ff1b9664, ffffffff, fc4ffcb8, a6f2cc, fc4ffbd0) + 6a0
    fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (a6f2c8, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
    fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (faded4c8, fadf2c80, 1, 0, fa400000, 6) + 1ac
    fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
    fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
    feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
    feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
    fee6575c _start   (e2d20, ff270200, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Has anyone ever seen anything like this? I'm trying to figure out if this is caused by something we're doing, or something relating to our environment and jvm options. Any ideas?

    Thanks for the reply - I'm testing our app with the +UseConcMarkSweepGC now in our test environment to make sure it doesn't cause any problems there.  Unfortunately the only place we've had this problem is on the production server, so it's extra difficult debugging this. 
    We're using the following memory options:
    -ms512m -mx512m -XX:NewSize=128m -XX:PermSize=192m -XX:MaxNewSize=128m -XX:MaxPermSize=192m -XX:SurvivorRatio=8and the following debugging options, as we've also been seeing OutOfMemoryErrors ( see http://forum.java.sun.com/thread.jsp?forum=37&thread=522354&tstart=45&trange=15 )
    -verbosegc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGCBTW, which c++filt version and options are you using? Our Solaris boxes only seem to have the GNU version installed. I was trying to run that on some of the other stack traces and wasn't getting anywhere, and didn't know if because it was GNU version wouldn't work on something compiled with the Sun compiler.
    Thanks!
    --Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Multiple 11i instances in 10g OID.

    Hi All, I have added second 11i(11.5.10) instance to OID for SSO(10g ). After adding the second instance in OID, users which are common in both the 11i instances are not able to login thru SSO. Unique users are able to login thru SSO successfully. Bu

  • MIFI 4510l speed issue

    Mfif 4510L 4G LTE speed has deterioated to .25 to .40mbps from 1.5 to high of 6.2mbps. anyone else experiencing this issue. I've done battery pull, sim removal with no positive results. filed a trouble ticket with support but no response to date. I h

  • Create a virtual drive

    How to create a virtual drive from a disk image

  • Embed a song in Mail

    Hi, I'm making a wedding E-invitation that I will be emailing to our guests and I want to embed a song that plays upon opening. Is there a way to do this? Any help would be greatly appreciated

  • Exchange VSS writer is missing

    Hello  I am running Exchange 2013 sp1 on windows 2008 R2 sp1, in a two node DAG. When i run vssadmin list writers on node1 i can see "Exchange writer" when i run the same command on node2 i do not see the Exchange writer. I have even tried restarting