Problem with preloader

hello, I´m using a preloader created using the technique
shown here...
http://www.gotoandlearn.com/play?id=18
It worked fine last time I used it, but this time, the
preloader only shows up after about 60% of the page has already
loaded, which might be too long.
My question is, is there anyway to avoid that?
Maybe adding a updateAfterEvent somewhere in the AS code?
thanks.
PS: here is the code used...
on frame 1...
var amountLoaded:Number = _root.getBytesLoaded() /
_root.getBytesTotal();
preloader._width = amountLoaded * 400;
on frame 2..
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay(3);
else {
gotoAndPlay(1);
}

Haven't watched the mentioned tutorial, but in the old days
preloaders
used to stop working properly because of movieclips that get
exported
before frame #1. Those movieclips are loaded even before your
preloader
is loaded and run, effectively distorting the
bytes-to-load/total-bytes
ratio.
Check your library for such movieclips (under "linkage") and
tell us if
there are any.

Similar Messages

  • Problem with preloader from tutorial in flash 8

    when i open preloader in flash 8 from section developers for
    flash, it dosn't work.
    and trace message
    but in mx 2004 work ok
    what problem?
    **Error** C:\Documents and
    Settings\Артем\Local
    Settings\Application Data\Macromedia\Flash
    8\en\Configuration\Classes\mx\events\EventDispatcher.as: Line 15:
    The name of this class, 'mx.events.EventDispatcher', conflicts with
    the name of another class that was loaded,
    'mx.events.EventDispatcher'.
    pls give advice about this question

    You may need to purge your ASO files. This can be can by
    manually deleting them or force Flash to do it. TO purge them using
    Flash 8 go to, Control>Delete ASO Files.
    To manually delete them and if you are using a Flash version
    below 8 go to the link below;
    http://www.adobe.com/support/documentation/en/flash/mx2004/releasenotes.html
    …and scroll to “Flash MX 2004 Update and Flash MX
    Professional 2004 Update, version 7.0.1.
    If you have Flash MX 2004 version 7.2. you can install this
    plug-in that will force Flash to purge them on command;
    http://www.adobe.com/cfusion/exchange/index.cfm?view=sn111&extID=1016963

  • Problem with Preloader in my Flash AS2 Game

    I have been using this tutorial to make a preloader:
    http://www.republicofcode.com/tutori.../preloader_bc/
    I have run into one problem though.
    When I simulate the download, it just shows the background color of the game while it loads, and when it finished loading, it shows the loading screen fully loaded. I have followed the tutorial exactly, except added my file names into the AS2 code.
    Here is the ActionScript in Frame 1 I have for the preloader:
    if (_root.getBytesTotal() != _root.getBytesLoaded()){
    stopAndGoto(1);
    preloaderBar._xscale=(_root.getBytesLoaded()/_root.getBytesTotal())*100;
    loaderTxt.text=Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100)+"%";
    Any hints or answers to what i'm doing wrong?
    Thanks, MrA615.

    Your description of what you've done and the code you show does not match what the tutorial says to do and what code to use... (there is no stopAndGoTo() function in Flash).
    Right-click the second frame on the upper layer labeled Actions and select Actions. Copy and paste the code below to make our preloader functional.
    if (_root.getBytesTotal() != _root.getBytesLoaded()){
    gotoAndPlay(1);
    bar_mc._xscale=(_root.getBytesLoaded()/_root.getBytesTotal())*100;
    loader_txt.text=Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100)+"%";

  • Problem with preloader not passing over nextFrame();

    The preloader I created doesn't transistion to the next frame, it just hangs on the preloader frame at 0%.  Here is my code:
    stop();
    loaderInfo.addEventListener(ProgressEvent.PROGRESS, updatePreloader);
    function updatePreloader (evtObj:ProgressEvent):void{
      var percent:Number = Math.floor((evtObj.bytesLoaded*100)/evtObj.bytesTotal);
      preloader_bar.width = (percent/100) * 600;
      preloader_txt.text = "Loading " + percent + " %";
      if (percent == 100) {
       nextFrame();
       this.removeEventListener(ProgressEvent.PROGRESS, updatePreloader);
    The problem is when the swf is called online it stops on the 1st frame and shows the preloader at 0% and does nothing.  I can right-click on the non-functional embedded flash swf and select play and it runs fine; but this doesnt make any sense for my users to be doing the same...  However, when the file is recalled after the first attempt it works fine.  Any ideas what could be going on?

    Thanks, I think it’s working!  I can't recreate the problem...
    Code:
    stop();
    if (this.framesLoaded == this.totalFrames){
    nextFrame();
    else{
    loaderInfo.addEventListener(ProgressEvent.PROGRESS, updatePreloader);
    function updatePreloader (evtObj:ProgressEvent):void{
       var percent:Number = Math.floor((evtObj.bytesLoaded*100)/evtObj.bytesTotal);
       preloader_bar.width = (percent/100) * 600;
       preloader_txt.text = "Loading " + percent + " %";
       if (percent == 100) {
        nextFrame();
        this.removeEventListener(ProgressEvent.PROGRESS, updatePreloader);

  • Problem with preloader and sounds

    Hello everyone,
    I am making a movie that has 12 sound files in it. I am
    having trouble getting this to work with a preloader. I was using a
    seperate flash movie and using the movieClipLoader to load in the
    movie that has the sounds in it. However my employer wishes to have
    everything in a single swf file. I know the concept, that the
    sounds in the movie using attachSound need to be loaded before
    first frame... but I need the preloader to take them into
    account... how do I do that? I tried putting my preloader on frame
    one, then had 12 keyframes in a row and just dragged the sounds
    onto the stage (one for each keyframe there), and then the main
    movie starts on frame 14... but that stil doesnt work... how can i
    do this?

    Just to let anyone know... I did figure this out on my own...
    it makes it messy though and I dont like it... buuuuut what are you
    going to do... I had to set the linkage in each sound in the
    library to export and then uncheck the export in first frame...
    then i had to create keyframes for each sound and put it on the
    stage in frames 2-13. Preloader on frame 1 and main movie on frame
    14... it works now.

  • Problem with preloader in Cs5 with AS2

    Hey,
    I made a preloader in Cs5 with AS2 code:
    mask_mc._height = 1;
    this.onEnterFrame = function():Void
    var loading :Number = this.getBytesLoaded();
    var total :Number = this.getBytesTotal();
    var precent:Number = Math.round(loading/total*100);
    mask_mc._yscale = precent;
    txt.text = precent + "%";
    if (loading >= total)
    gotoAndStop(2);
    because I realized that what I'm used to in Cs4 is not working in Cs5. It works fine but, when I press a button that supose to go to another frame, it stock on frame 2.
    How can I solve it?

    terminate that loop:
    mask_mc._height = 1;
    this.onEnterFrame = function():Void
    var loading :Number = this.getBytesLoaded();
    var total :Number = this.getBytesTotal();
    var precent:Number = Math.round(loading/total*100);
    mask_mc._yscale = precent;
    txt.text = precent + "%";
    if (loading >= total)
    delete this.onEnterFrame
    gotoAndStop(2);

  • 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 loading pics in a photo gallery

    Ok.. I don't know what is the problem for this.. maybe
    someone with more experience bumped to this too.. and can help me
    out..
    I will put the link here so u can see it but before u open
    it, pay attention of the mess.. pictures are loaded one over
    another or not loaded at all.. There are 2 panels of the same pics
    and code, the second one loads the pics the same way as the first
    one right after the first one has finished loading all of the pics.
    But strangely the second panel with pics has absolutely no problem
    with positioning the pics correctly with their correct size even
    the first time u open it. (this comes from the swf of the pic that
    loads in the loader; they all load in loaders positioned by me).
    After the gallery has loaded the first time and u Refresh the
    page.. u will see the gallery works perfect. If u want to see the
    mess up again, just delete ur temporary internet files and refresh
    the page again. Here is my gallery (not finished yet):
    http://www.goliveuk.com/Projects/Theolife/
    NOTICE:
    When I test this in flash with simulate download, all works
    fine except that some pics show progress of loading (I've made
    listeners for that) and on complete I trace it completed loading
    but they don't show up..
    So I can't figure out what might be causing this problem...
    As far as my logic goes.. I can tell that if in the second
    panel the pics load succesfully every time, this means that the
    problem comes only the first time they are being loaded.. for me
    this doesn't make any sense.. and I see as solution to make some
    invisiblemovie clip that will load all of my pics for the first
    time and then the actual visible movie clips that are visible will
    continue so there are no problems.
    I don't know if this will work.. it is just my thinking.
    Maybe there is some other way to fix this when they load the
    first time.. maybe telling the code to load it.. and reload it
    after that ?
    Any ideas what could be causing this problem ?
    Hope someone can explain to me..
    Thanks in advance...

    can u give me an example with onLoadInit() or preloader code
    as u mention so I can get a clear view of what u mean cuz now I am
    a bit confused what must wait for loading to be completed the main
    swf or the swfs of the pictures that have a code inside to get the
    size of the loader?

  • Alpha channel problem with Pixel Bender blendShaders

    I'm using Pixel Blender to try and create a blend shader for a Flex 4.0 app.
    It looks like this:
    <languageVersion : 1.0;>
    kernel PixelReverse
    <   namespace : "com.abc.def.filters";
        vendor : "EdAlive";
        version : 1;
    >
        input image4 foreground;
        input image4 background;
        output pixel4 dst;
        void
        evaluatePixel()
            pixel4 fgPixel = sampleNearest(foreground, outCoord());
            pixel4 bgPixel = sampleNearest(background, outCoord());
            if((bgPixel.r == 0.0) && (bgPixel.g == 0.0) && (bgPixel.b == 0.0) && (bgPixel.a == 0.0)){
                bgPixel.r = bgPixel.g = bgPixel.b = 1.0;
            dst.r = 1.0 - abs(fgPixel.r - bgPixel.r);
            dst.g = 1.0 - abs(fgPixel.g - bgPixel.g);
            dst.b = 1.0 - abs(fgPixel.b - bgPixel.b);
            dst.a = fgPixel.a;
    It looks correct in the Pixel Bender preview window.
    When I use it in a Flex project with proper 32 bit png images, the filter seems to work correctly, except it sets any partial alpha value on the images to fully opaque (like a 1 bit alpha channel).
    Because the image preview looks correct in Pixel Bender, I'm assuming it's a problem with the bitmap data that Flex is passing to the blend shader filter.
    I tried changing the filter to simply output a copy of the foreground firstly, and the background second, to test.
    When returning a copy of the foreground, the imags weren't visible on stage, either because the pixels were transparent or because it was really returning the background pixels, camouflaging the images.
    When returning a copy of the background, the images were just black rectangles.
    The images are being place on stage programmatically inside an mx Module, and having their depth property set.
    They also have draggable behaviour, where the current drag object is layered above all else during the drag.
    I'm actually using a subclass of mx.controls.Image, but am simply setting the source property with preloaded bitmap data, so I'm am fairly sure the subclass is not a factor.
    I hope this is enough information for someone to be able to provide some help.
    Thanks

    Please make sure you have installed the latest graphics drivers, from http://www.nvidia.com/Download/index.aspx?lang=en-us, for your graphics card.

  • Having problem with spry menu bar in Internet Explorer.

    I'm having a problem with my spry menu bars in Internet Explorer.
    Here are the pictures:
    Firefox
    Internet Explorer
    HERE ARE THE CODES:
    HTML CODE:
    <style type="text/css">
    <!--
    #apDiv1 {
        position:absolute;
        width:160px;
        height:126px;
        z-index:1;
        left: 205px;
        top: 424px;
        margin: 0 auto;
    -->
    </style>
    <style type="text/css">
    #apDiv3 {
        position:absolute;
        width:254px;
        height:206px;
        z-index:2;
        left: 123px;
        top: 1529px;
    #apDiv4 {
        position:absolute;
        width:250px;
        height:194px;
        z-index:3;
        left: 381px;
        top: 1528px;
    #apDiv5 {
        position:absolute;
        width:256px;
        height:200px;
        z-index:4;
        left: 636px;
        top: 1529px;
    #apDiv6 {
        position:absolute;
        width:349px;
        height:205px;
        z-index:5;
        left: 889px;
        top: 1530px;
    </style>
    <style type="text/css">
    #apDiv7 {
        position:absolute;
        width:887px;
        height:204px;
        z-index:6;
        left: 324px;
        top: 905px;
    #apDiv8 {
        position:absolute;
        width:1295px;
        height:74px;
        z-index:1;
        left: 212px;
        top: 668px;
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <style type="text/css">
    #apDiv2 {
        position:absolute;
        width:209px;
        height:197px;
        z-index:2;
        top: 1220px;
        left: 171px;
    #apDiv9 {
        position:absolute;
        width:331px;
        height:97px;
        z-index:3;
        left: 385px;
        top: 1218px;
    #apDiv10 {
        position:absolute;
        width:292px;
        height:199px;
        z-index:4;
        left: 724px;
        top: 1218px;
    #apDiv11 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
    body {
        background-color: #000;
        background-image: url();
        text-align: center;
        color: #F00;
    .none {
        font-size: 80px;
        font-family: "Times New Roman", Times, serif;
        font-weight: bold;
    #apDiv12 {
        position:absolute;
        width:991px;
        height:60px;
        z-index:5;
        left: 198px;
        top: 192px;
    #apDiv13 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
        left: 588px;
        top: 322px;
    </style>
    <body onLoad="MM_preloadImages('images/WebConfroll.png','images/youthfootballroll.png','images/ statefbsweatshirt.png')">
    <p align="center" class="none"><img src="images/footballtitle.png" width="941" height="183"></p>
    <div align="center">
      <ul id="MenuBar2" class="MenuBarHorizontal">
        <li><a class="MenuBarItemSubmenu" href="#">[Placeholder]</a>
          <ul>
            <li><a href="#">[Placeholder]</a></li>
            <li><a href="#">[Placeholder]</a></li>
            <li><a href="#">[Placeholder]</a></li>
          </ul>
        </li>
        <li><a href="#" class="MenuBarItemSubmenu">[Placeholder]</a>
          <ul>
            <li><a href="#">[Placeholder]</a></li>
            <li><a href="#">[Placeholder]</a></li>
            <li><a href="#">[Placeholder]</a></li>
          </ul>
        </li>
        <li><a class="MenuBarItemSubmenu" href="#">Videos</a>
          <ul>
            <li><a class="MenuBarItemSubmenu" href="#">2008 Videos</a>
              <ul>
                <li><a href="videos/2009 videos/Glenbard part one/partone.html">Glenbard South Game</a></li>
                <li><a href="#">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&# 160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[Placeholder]</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">2009 Videos</a>
              <ul>
                <li><a href="#">[Placeholder]</a></li>
                <li><a href="#">[Placeholder]</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">2010 Videos</a>
              <ul>
                <li><a href="#">[Placeholder]</a></li>
                <li><a href="#">[Placeholder]</a></li>
              </ul>
            </li>
          </ul>
        </li>
      </ul>
    </div>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><span class="cent"><img src="images/bulldoghelmit.png" width="150" height="99" /></span></p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p class="cent"> </p>
    <div align="center">
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li> <a class="MenuBarItemSubmenu" href="#">Football Season 2008</a>
          <ul>
            <li><a href="http://page.bps101.net/web/t1350/Football2009/2008%20Defense%20Stats.pdf">Defense Stats</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football2009/2008%20Offense%20Stats.pdf">Offense and Records</a></li>
            <li><a href="http://page.bps101.net/web/t1350/BHS%20All%20Time%20Stats.pdf">AllTime Data</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football2009/Western%20Sun%202009.pdf">Western Sun Final Standings</a></li>
          </ul>
        </li>
        <li> <a href="#" class="MenuBarItemSubmenu">Football Season 2009</a>
          <ul>
            <li><a href="http://page.bps101.net/web/t1350/Football%202010/2009%20Banquet%20Record%20and%20Stats.pdf">Defense Stats</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202010/2009%20Banquet%20Record%20and%20Stats.pdf">Record Book and Offense</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202010/All-Time%20Data%202009.pdf">Alltime Data</a></li>
          </ul>
        </li>
        <li> <a class="MenuBarItemSubmenu" href="#">Football Season 2010</a>
          <ul>
            <li><a href="http://page.bps101.net/web/t1350/Football%202011/2011%20Checklist.pdf">2010-2011 Offseason Checklist</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202011/2010%20Defense%20Stats%20Final.pdf">Defense Stats</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202011/2010%20Stats%20Packet.pdf">Record Book and Offense</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202011/2010%20ALL%20TIME.pdf">Alltime Data</a></li>
          </ul>
        </li>
      </ul>
    </div>
    <p align="center"> </p>
    <p align="center"> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><img src="images/Batavia Youth football.png" alt="" width="869" height="200" /></p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','images/WebConfroll.png',1)"></a></p>
    <div align="center">
      <div align="center"></div>
      <div align="center"><a href="http://www.athletics2000.com/upstate8/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','images/WebConfroll.png',1)"><img src="images/WebConf.png" name="Image7" width="206" height="194" border="0" id="Image7" /></a><a href="http://www.bataviayouthfootball.org/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/statefbsweatshirt.png',1)"><img src="images/statefbsweatshirt.jpg" name="Image6" width="375" height="199" border="0" id="Image6" /></a><a href="http://www.bataviayouthfootball.org/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','images/youthfootballroll.png',1)"><img src="images/youth football.png" name="Image8" width="329" height="197" border="0" id="Image8" /></a></div>
    </div>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','images/youthfootballroll.png',1)"></a></p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><img src="images/Logos.png" width="1167" height="199" /></p>
    <script type="text/javascript">
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    CSS CODE
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: auto 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: 54em;
        border-top: thick solid #00F;
        border-left: thick solid #00F;
        border-right: thick solid #00F;
        border-bottom: thick solid #00F;
        height: 2.2em;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        cursor: pointer;
        width: 18em;
        float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 18em;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 18em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #000;
        padding: 0.5em 0.75em;
        color: #C96;
        text-decoration: none;
        text-align: center;
        height: 1.2em;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #900;
        color: #009;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #900;
        color: #FFF;
        text-decoration: underline;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
        color: #FF0;
        font-family: "Lucida Console", Monaco, monospace;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;
    The website is http://wwww.bataviabulldogfootball.tk

    Note that running your page through the W3C Validator gives this list of errors: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bataviabulldogfootball.tk%2F&charset=%2 8detect+automatically%29&doctype=Inline&group=0
    I see that you have a very thin doctype at the top. I suggest you create a new page in Dreamweaver and copy the bit at the top of the page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    Then put that code in place of these lines from your current page:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8" />
    I see that you have two opening <body> tags. Delete one; it is not needed. Add the preload images from the second into the first body tag and delete the second.
    I see code below the closing </html> tag. Re position it before the closing </body> tag.
    Because of these errors mentioned above, it was impossible to see the page. Fix and reply here when you have done so.
    Also, it is not possible for me to divine what difficulty you are having. If you can please also express it in English (LOL), I'll be happy to suggest a correction for you!
    Beth
    p.s. Posting entire blocks of code is NEVER as helpful as giving us a link to the pages in action. I seldom read through code dumps here in the Forum.
    Message was edited by: Zabeth69

  • Tty display problems with nvidia and uvesafb

    I'm trying to get my console to display correctly at 1080p; trying to do so through GRUB was always an absolute nightmare.
    The console displays fine with nouveau, but nouveau causes the infamous pink line bug, which is simply too irritating to ignore; nouveau is not an option.
    In the past, my console has run at low res and incorrect scale with nvidia, but I've ignored the problem since I prefer to use a virtual terminal in X.
    Now, if possible, I need to use the actual console for the purposes of module development.
    I installed v86d and uvesafb and configured the console for 1920x1080 and 32 bit depth.
    The console is displaying with the correct resolution now, but is surrounded by a black border, making the font distorted and extremely difficult to read.
    How can I get my console to scale correctly to fullscreen? Any ideas at all. I found nothing in the forums or wiki, and I'm out.
    I'm fairly certain there are no vga or video settings in GRUB that are interfering.

    Output of "pacman -Qi nvidia"
    Name : nvidia
    Version : 343.36-2
    Description : NVIDIA drivers for linux
    Architecture : x86_64
    URL : http://www.nvidia.com/
    Licenses : custom
    Groups : None
    Provides : None
    Depends On : linux>=3.17 linux<3.18 nvidia-libgl nvidia-utils=343.36
    Optional Deps : None
    Required By : None
    Optional For : None
    Conflicts With : None
    Replaces : None
    Installed Size : 5.30 MiB
    Packager : Felix Yan <[email protected]>
    Build Date : Thu 11 Dec 2014 08:32:19 AM CST
    Install Date : Fri 12 Dec 2014 12:10:32 AM CST
    Install Reason : Explicitly installed
    Install Script : Yes
    Validated By : Signature
    Output "cat /boot/grub/grub.cfg"
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    set menu_color_normal=green/black
    set menu_color_highlight=black/green
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
    else
    search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
    else
    search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
    fi
    insmod png
    background_image -m stretch /boot/grub/archgrub.png
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-337acc84-0300-43b1-b426-79391d39e898' {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
    else
    search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=337acc84-0300-43b1-b426-79391d39e898 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-337acc84-0300-43b1-b426-79391d39e898' {
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-337acc84-0300-43b1-b426-79391d39e898' {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
    else
    search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=337acc84-0300-43b1-b426-79391d39e898 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-337acc84-0300-43b1-b426-79391d39e898' {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
    else
    search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=337acc84-0300-43b1-b426-79391d39e898 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    Output "cat /usr/lib/modprobe.d/uvesafb.conf"
    Video mode is set as "1920x1080-32".
    # This file sets the parameters for uvesafb module.
    # The following format should be used:
    # options uvesafb mode=<xres>x<yres>[-<bpp>][@<refresh>] scroll=<ywrap|ypan|redraw> ...
    # For more details see:
    # http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/fb/uvesafb.txt
    options uvesafb mode_option=1920x1080-32 scroll=ywrap
    This file is mirrored in /etc/modprobe.d/uvesafb.conf.
    Running "diff /usr/lib/modprobe.d/uvesafb.conf /etc/modprobe.d/uvesafb.conf" returns no output.
    Output of "cat /sys/class/graphics/fb0/virtual_size" is solely "1920,1080".
    ---edit---
    Output of "cat /etc/default/grub" in case it's helpful.
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    #GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    GRUB_COLOR_NORMAL="green/black"
    GRUB_COLOR_HIGHLIGHT="black/green"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    GRUB_BACKGROUND="/boot/grub/archgrub.png"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    Also, it might help to describe the behaviour more specifically / more in depth...
    The rendered part of the console occupies the same space as the GRUB boot menu.
    I installed and configured virtualbox a few weeks previously.
    I ran "sudo depmod -a" as the wiki / forums indicated it could remedy problems with virtual machines failing to start.
    It did fix the virtualbox problem; after reboot, suddenly lightdm *also* initally occupied the same window space as grub.
    That was new behaviour. When I logged in to xmonad, the desktop displayed similarly to GRUB.
    I hadn't tried fixing it; logging in with root followed by "ps -e | grep X" and "kill -9 <Xpid>" caused X as a whole to start behaving and scaling normally.
    I haven't rebooted until attempting to rectify the issue with my console.
    The oddity with scaling in lightdm and xmonad still shows up after reboot and is still reparable by killing X.
    Killing X doesn't - obviously - have any effect on console scale.
    ---/edit---
    d(-_-)
    Last edited by seppukuzushi (2014-12-31 14:01:23)

  • Problems with X3 after updating

    Hi,
    first, it is possible that I will use some wrong expressions because my phone language is actually German.
    Last week I updated my phone from v6.11 to v8.4.
    Before, I saved my files to the memory card, afterwards I restored them. It said "Settings reset" and there were the problems I will describe; I tried to restore again, but I could not choose the menu item "programs and games" now.
    So, now
    - all the themes and ringtones are gone
    - the rest of my programs seems to be links named with with file type ".rms" which is "not supported" (All 4,0 MB and named chat_xxx, conv_xxx, isuite_xxx, mynokia_xxx or wocl_xxx), including the calculator which didn't leave a trace.
    - my games are playable 'cause I saved them manually on my memory card - but the ones I added after I bought the phone don't work (message: invalid program. Delete?)
    - I can't download a (special) program from ovi store (which I didn't try before the update, because of that I don't know if it's perhaps a problem of my provider) (message: certificate not on telephone or SIM)
    - when I choose "All photos" it says "no photos to show", but I can open them over "contents -> memory card -> pictures". The camera saves the photos there, too, but it doesn't show them either.
    I wonder now if it helps
    - restoring the first backup again, but just "gallery files" and "programs and games" (which is chooseable again now) (this, I think, would not solve the problems with my memory games and the invalid file types of my games)
    - making another backup and do the update again (will the first update then be chooseable again? I don't want to give up my programs, themes and ringtones... Can I restore them from the first backup and the rest from the second?
    I would have tried the second possibility if I knew if it is possible... Please answer that, or, if you have a better solution, please give it to me.
    Regards
    Philip

    Hi Philip,
    If you still have this issue (and have not tried yet), try to reset your device by selecting Menu > Settings > Restore factory settings > Restore all.
    And before restoring your backup check that all preloaded themes and ringing tones are working. Then try restoring apps and games from your backup again.
    If some apps/games are not working after restore it's most probably because those are DRM protected and those you would need to reinstall.
    -ThreeOs

  • Problems with Image Variants

    I got two problems with Image Variants:
    1. catalogCache.GetImagePath("Images", id) doesn’t work for some id. The error message is “GetImageVariant error”.
    2. catalogCache.Preload("Images", “Original”)
        catalogCache.Preload("Images", “Thumbnails”)
        catalogCache.Preload("Images", null)
       catalogCache.Preload("Images", "")
    get failed, the status code is -2147483647
    Anyone know how to setup  image variants?
    Thanks.
    Forrest

    status code: -2147483647 is RC_BADPARAM.

  • Problems with PSE 8 & Windows Live Photo Gallery

    I recently had to purchase a new laptop and it came preloaded with Windows 7. I installed PSE8 and have had no problems with photos I scanned,etc. But Windows 7 defaults import photos from my camera to Windows Live Photo Gallery. My problem is now I can't get PSE8 to import from the clipboard. It is grayed out and I can't click it. How dop I get my photos into PSE8 and then get the two programs to play right together?

      Open Organizer and click File à Get Photos & Videos à From Files & Folders
    Navigate to the folder used by Windows and press Ctrl+A to select all and hit open or get media.
     

  • Problem with "win_api_dialog.Save_File"

    Hi friends,
    I have a problem with this simple code in forms 6i (WinXP):
    DECLARE
         w_file varchar2(4000);
    BEGIN      
    w_file:= win_api_dialog.Save_File ('Hello);
    END;
    It compiles ok, but it doesn't work at runtime.
    I've read lot of posts in the forum about similar problems and the answer used to be about the d2kwut60.dll and d2kwut32.pll and .plx paths...
    Well, I've copied d2kwut60.dll to all /bin oracle directories :-p (so.. I think that's not the problem)
    I've copied d2kwut32.pll to the same directory of my .fmb file, and recompiled it.
    It doesn't work ... Any ideas?
    (I have to use "win_api_dialog.Save_File" instead GET_FILE_NAME or other solutions...: for the people who recommed that posibility)
    Thanks,
    Jose.

    Hi Jose,
    about win_api.preload... I have pasted a piece of D2KWUTIL.PLL:
        * PreLoad ->  Loads the DLL into memory
        *             DLL_Location argument allows you to explicitly load
        *             from a particular place
       PROCEDURE PreLoad;The problem sound like a DLL load problem. In same file you can read the search path to find DLL library:
      -- Search Path is:
      --  1. Preload override location set by WIN_API_PRELOAD.SET_LOAD_LOC
      --  2. D2KWUTILnn_PATH e.g. D2KWUTIL60_PATH
      --  3. D2KWUTIL_PATH
      --  4. Working Directory / O/S Path
      --  5. \Bin directory based in ..\bin
      --  6. %ORACLE_HOME%\BinWe have used this library regulary and it works fine.Feel free to send me a FMB test file at jcarmona arroba eprinsa.es in order to test it in my environment.
    Regards,
    Jose Carmona

Maybe you are looking for

  • Looking for a chat app to use offline in the same network

    Hi I want an offline app for my customers to download and use in our wireless network. This app shouldn't go online. Simply customers device will choose a nickname. With this nickname he/she will be chatting with people in same network. Preferably it

  • Windows 7 Professional 64-bit

    Hi Trying to install Win 7 onto my new Mac Pro. Software update worked fine, the ISO I burned myself from the downloaded MSDN seemed to be working OK as well. However, after using Boot Camp and starting the Win 7 install, I get an error message 21% t

  • Varying black intensity in PDF/InDesign preview - any ideas if harmful?

    Hi guys, I am encountering the following oddity in displaying my book as PDF or even inside Indesign. The intensity of my Black color is varying on some spreads pretty randomly. Look at the picture below to see what I mean. Notice the difference betw

  • Multiple XServe RAIDs to one computer (?)

    I have an XServe RAID connected to my Quad via the Fibre Channel card. If I want to add another XServe RAID do I need to get a Fibre Channel switch? Is setting that up simple? Does it work like an ethernet switch? Is putting a second FC card in the Q

  • BIBeans JSP with Portal

    Is it possible to create a web provider of a JSP that has Presentation objects? I have created some Graphs and crosstabs, connecting oracle 9i Database. I have created a thin JSP client to display the graphs and crosstabs. I have also created a provi