LCD Brightness is lowered when touching mouse or keyboard

Hi Guys,
hopefully, the newbie corner is the right place to post this, at least I am one, just switching from ubuntu to arch.
Essentially I have the problem marked as solved here: https://bbs.archlinux.org/viewtopic.php?id=127818
For me, however, it is not solved. I don't think it is related to laptop-mode, but I don't know. I am using my laptop on AC only.  If I leave the laptop unattended for a while and then move the mouse or touch any button it lowers LCD brightness. The laptop buttons for brightness do work. I really don't know which program is doing this and neither why.
Since the system is pretty much unusable in this state, I did a workaround by taking away file privileges (chmod 444 /sys/class/backlight/nv_backlight/brightness).this has been overridden by the system after reboot, too.
I am using a fresh install with gnome.
Thank you very much in advance for any clues how to solve this.
Karsten
Last edited by karsten_m (2011-10-19 21:06:01)

Ok, the / of all the strange behaviour was gnome-power-manager.
Unfortunately I wasn't able to get to core of why it dims the screen, but the workaround is this: define the dimmed brightness as 100..
You can do this by running
dconf write /org/gnome/settings-daemon/plugins/power/idle-brightness 100
It does the trick.
If anyone's got a better idea - let it out...

Similar Messages

  • [Workaround] LCD brightness get 100% when changes profile energy

    Hi:
    I'm running arch in a Vaio FZ-21Z with KDE. When the profile energy changes brightness change to 100%.
    I have a 'nvclock -S 50' set at kde startup init and it's OK but the problem is profile change
    There is any config file to set brightness at kde power-manager?
    Thanks.
    Last edited by SpongeBob (2010-10-15 15:54:13)

    Well..
    At the end I found a workaround to solve this problem. It's very obvious and dirty but it works.
    In Powermanagement->Edit Profiles->CPU&System there is a line to put a command when the profile loads, so I type this command:
    smartdimmer -s 20 (o whatever value what you want)
    I'm still having the problem with fullscreen flashvideos raise to100% brightness, but for now I can change energy profiles without problems.
    Regards
    Last edited by SpongeBob (2010-10-15 15:53:06)

  • When I go to some web sights its fine until I touch mouse or keyboard and then it freezes and locks up so I to close down firefox and re load it.

    i like to watch hulu I can get it started but then if i move my mouse or hit a key the whole thing locks up and i have to use alt, ctrl, delete and close the page that way.

    Maybe your problem is caused by that particular add-on?
    I use the Print/Print Preview add-on and have never had that happen. <br />https://addons.mozilla.org/en-US/firefox/addon/printprint-preview/

  • Laptop mode lowers LCD brightness when on AC [SOLVED]

    I have configured laptop-mode to turn LCD brightness to half of max value when on battery. Everything works fine. When disconnect my laptop from the power source it automatically lowers LCD brightness and when back on AC it comes back to max value. The problem I have is when coming back to AC and only if I leave the laptop unattended for awhile and then move the mouse or touch any button it lowers LCD brightness to what its supposed to be when on battery!!
    I don't know whether this is a bug or a misconfigured file. Here is my laptop-mode LCD brightness configuration:
    # Commands to execute to set the brightness on your LCD
    BATT_BRIGHTNESS_COMMAND="echo 12"
    LM_AC_BRIGHTNESS_COMMAND="echo 24"
    NOLM_AC_BRIGHTNESS_COMMAND="echo 24"
    BRIGHTNESS_OUTPUT="/sys/class/backlight/acpi_video0/brightness"
    Any help will be appreciated!!!
    Thanks in advanced, José.
    Last edited by boina (2011-10-10 00:29:26)

    OK, seems it was some kind of a bug because after today's full system upgrade I'm not able to reproduce the problem I posted before, Thanks sad clown for your help!!

  • When touching Web-accounts with my mouse, Aperture freeze or crash (always)

    Hello
    Does anybody recognize this problem. The problem only starts when touching 'web-accounts' under 'File'
    gr. Albert Aandeweg

    > Also it is random of no display and not yet the toshiba welcome on boot when turn-on for power
    It looks a southbirdge malfunction on the motherboard according to your problem description. If it's southbridge malfunction as I guess, you need to replace the whole motherboard that it's pretty expensive part. of laptop. You should contact the service center to test it. And then decide to replace it or buy second-hand or new one. You see, in most case is preferably to buy laptop rather to replace mobo, not worthy
    Note, I may be mistaken, it's not easy to say what really happens without testing it.

  • Laptop-mode-tools no longer adjusts LCD brightness

    I just discovered that laptop-mode-tools no longer adjusts the brightness of the LCD when switched to battery. This is not a general issue. laptop-mode is active on battery (as well as being enabled via the systemd service), the computer knows it is on battery (checking with on_ac_power and reading from /sys/class/power_supply/*/* give the expected results) and other things are correctly adjusted e.g. bluetooth is blocked with rfkill. Moreover, as root I can adjust the brightness in the usual way by hand:
    echo 10 >| /sys/class/backlight/acpi_video0/brightness
    works just fine. The >| is needed because for interactive shell's, root's .bashrc sets noclobber. This obviously doesn't affect laptop-mode tools because it doesn't run an interactive shell. In contrast:
    $ cat /etc/laptop-mode/conf.d/lcd-brightness.conf | grep -v "^#"
    DEBUG=1
    CONTROL_BRIGHTNESS=1
    BATT_BRIGHTNESS_COMMAND="echo 7"
    LM_AC_BRIGHTNESS_COMMAND="echo 10"
    NOLM_AC_BRIGHTNESS_COMMAND="echo 12"
    BRIGHTNESS_OUTPUT="/sys/class/backlight/acpi_video0/brightness"
    DEBUG wasn't 1 when the problem started. I tried setting it to get more info but haven't found anything more in the journal/logs.
    KDE is set to not touch the default brightness at all. All it does is (further) dim the display after so many minutes depending on the power supply and status.
    This did work fine but I haven't been on battery for a while so I'm not sure when exactly it stopped working. My brightness is set by default to 12 on boot or wake from sleep which suggests laptop-mode tools does something or something else is now handling this which I'm not aware of. But the switch to battery does not trigger any alteration in the brightness and laptop-mode status does not even mention LCD brightness as one of the things laptop-mode tools controls.
    Have I missed a change in how this is handled somewhere?

    I doubt this is related but it is currently my only lead so here goes. I set the LCD brightness control for debug so I've been trying to watch it. However, so far it is all smiles e.g. on boot it all works fine and says so.
    However, I found I'm getting another error on boot which is
    /usr/share/laptop-mode-tools/modules/pcie-aspm: line 10: write error: Operation not permitted
    Note that I copied that by eye from VT1 so if a colon is out of place, that's why.
    The contents of that file is:
    #! /bin/sh
    # Laptop mode tools module: PCIe Active State Power Management
    if [ x$CONTROL_PCIE_ASPM = x1 ] || [ x$ENABLE_AUTO_MODULES = x1 -a x$CONTROL_PCIE_ASPM = xauto ]; then
    if [ $ON_AC -eq 1 ]; then
    log "VERBOSE" "On AC power: setting pcie_aspm to default"
    if [ -f /sys/module/pcie_aspm/parameters/policy ]; then
    echo default > /sys/module/pcie_aspm/parameters/policy
    if [ $? -eq 0 ]; then
    log "VERBOSE" "PCIe ASPM set to 'default'"
    else
    log "VERBOSE" "PCIe ASPM tweaking is prohibited by the kernel"
    fi
    else
    log "VERBOSE" "PCIe ASPM is not available"
    fi
    else
    log "VERBOSE" "On battery: setting pcie_aspm to powersave"
    if [ -f /sys/module/pcie_aspm/parameters/policy ]; then
    echo powersave > /sys/module/pcie_aspm/parameters/policy
    if [ $? -eq 0 ]; then
    log "VERBOSE" "PCIe ASPM set to 'powersave'"
    else
    log "VERBOSE" "PCIe ASPM tweaking is prohibited by the kernel"
    fi
    else
    log "VERBOSE" "PCIe ASPM is not available"
    fi
    fi
    else
    log "VERBOSE" "PCIe ASPM power savings module is disabled"
    fi
    So I assume it is saying it cannot write to /sys/module/pcie_aspm/parameters/policy but the permissions etc. on that, at least, don't look strange:
    l /sys/module/pcie_aspm/parameters/
    total 0
    drwxr-xr-x 2 root root 0 Gor 25 21:24 ./
    drwxr-xr-x 3 root root 0 Gor 25 21:23 ../
    -rw-r--r-- 1 root root 4.0K Gor 25 21:24 policy
    Last edited by cfr (2013-07-25 20:47:13)

  • I can not use my mouse or keyboard when I am trying to install windows via boot camp

    Please can you help!
    I can not use my mouse or keyboard when I am trying to install windows via boot camp

    Starting a couple of days ago my mouse and keyboard stopped working suddenly.  
    How are they connected?   In my case they are wireless and their receiver is plugged into my USB hub.  After an update I found the OS inexplicably not recognizing my USB hub and hence any devices which were plugged into it.  My fix was to
    plug the receiver into a different USB port (so I could use the mouse and keyboard; otherwise I would have had to use the OSK via Touch or pen.)  Once I had normal access into my machine again I used Device Manager to remove all USB controller and
    hubs (including hidden ones) and I then shut down, disconnected all USB devices and powered back up, this time using only Touch to get going.  Once the OS had settled down I started plugging stuff back in the way that I wanted it to be recognized. 
    If I didn't have Touch I would have had to have left the wireless receiver plugged in both places which I assume would be OK.  I have no idea why updates have such a catastrophic effect for USB devices.
    Robert Aldwinckle

  • Follow sprite when the mouse is down, but randomly move when mouse is up?

    I have a sprite that has a Random Movement behavior.
    While the mouse is down, I want it to stop this behavior and initialize a Follow Sprite behavior instead.
    When the mouse is lifted, I want to stop the Follow Sprite behavior and reset/restart the Random Movement behavior.
    Openspark helped me out with a different version of a very similar behavior a long while back, which worked. It switched between Random Movement and Draggable. I tried to edit the code so that it would apply to Follow Sprite instead of Draggable, but it isn't working the way I thought it would.
    The order of behaviors on my sprite is as such:
    followSprite (Follow Sprite)
    moveToward (The behavior described above)
    randomMove (Random Movement)
    turnTowardsMouse (sprite faces mouse when it is clicked)
    Face Destination (if not facing mouse, sprite faces toward the randomized endpoints generated by randomMove)
    This is the moveToward behavior - the middleman that's supposed to be swapping between the two:
    property pSprite
    property pTouching
    on beginSprite(me)
      pSprite = sprite(me.spriteNum)
    end beginSprite
    on mouseDown(me)
      -- Overrule the Random Movement and Rotation behavior until the mouse
      -- is released. See the on prepareFrame() handler for the effect.
      pTouching = TRUE
    end mouseDown
    on prepareFrame(me)
      if pTouching then
        -- Block the event from reaching the Random Movement and Rotation
        -- behavior, so that only the Draggable behavior will work.
        if the mouseDown then
          stopEvent
        else
          -- The user has released the mouse.
          -- Start a new movement in the Random Movement and Rotation behavior.
          pSprite.pPath = VOID
          sendSprite(pSprite, #mNewPath)
          pSprite.pRotate = VOID
          sendSprite(pSprite, #mNewRotation)
          pTouching = 0
        end if
      end if
    end prepareFrame
    Can anyone help me figure this out?
    If you want to imagine a visual, it's essentially a touchscreen fish tank. Fish swim around randomly, but when someone is touching the screen, they approach the point of contact (which is defined by a tiny invisible sprite centered on the cursor).
    Once again, thank you so much to anyone who can help me out. This is part of a capstone undergraduate art project I am doing - and I am far more experienced in making the visuals than I am in coding. I am having to mostly tackle Lingo on my own. Any coding help I've received will be recognized (with permission) on my artist website as well as a thesis paper I am writing that will be published in May.

    As first steps at troubleshooting you could try an SMC reset and a PRAM reset:
    SMC Reset
    Shut down the computer.
    Unplug the computer’s power cord and disconnect peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    Reset PRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P and R.
    You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    If that doesn't help, what OS are you running? Depending on the OS (Lion/Snow Leopard) will help determine the next step.

  • Sony Vaio FZ Series - LCD brightness

    Hi All,
    I have recently bought a Sony VAIO FZ11S and I've successfully installed Archlinux:
    Fully working:
    - CPU Scaling (using cpudyn)
    - Multimedia keys (mute, volume up/down, play/stop, etc. using Xmodmap)
    - Wireless (using iwl3945. Can't connect with AP with hidden SSID)
    - Nvidia GeForce 8400M (using latest nvidia drivers with stock arch kernel 2.6.23)
    - Audio (after adding 'options snd-hda-intel model=vaio' to /etc/modprobe.conf. MIC not tested yet)
    Untested:
    - bluetooth
    - SD/MS card reader
    - Video camera
    NOT WORKING:
    - LCD brightness adjustment: FN+F5/F6 are detected correctly by acpid but nothing happens. I'm using the module sony-laptop included with kernel 2.6. Folder /sys/class/backlight is empty. I can use nvidia-settings to change COLOR BRIGHTNESS but this is NOT a good solution IMHO. I'd like to get the same capabilities I get running Windows Vista. (change LCD backlight).
    I've read somewhere it is a problem common to all laptop with the same NVIDIA videocard. Does anyone know a fix for this? I've also tried with  latest nvidia beta drivers with no success.
    - Hibernate/suspend. I tried with pm-tools to suspend/hibernate laptop but nothing is working correctly. I didn't investigate further. Has anyone got a quick solution for this?
    lspci output:
    00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
    00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
    00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
    00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
    00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
    00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
    00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
    00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
    00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
    00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
    00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
    00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
    00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
    01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GT (rev a1)
    06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
    08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 16)
    09:03.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
    09:03.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
    09:03.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
    Please help
    V.
    Last edited by Vins (2007-12-09 11:37:08)

    I recently bought a Sony FZ180, almost identical stats and hardware.
    I tried all the same suggestions, which worked fine on my old laptop, but will not for this one. If anyone can think of another method to control the backlight I would be grateful.
    Also, I tested the SD slot, the TI driver recognizes when a card is inserted, but no devices or mount-points are created.
    tifm_core: MMC/SD card detected in socket 0:1
    tifm0 : demand removing card from socket 0:1
    (The second line is from me removing the card, not a defective slot.)
    Everything else works great, though. Arch boots to a full KDE desktop much, much faster than my cleaned-up vista partition. I'm really happy overall.

  • Laptop-mode / laptop-mode-tools lcd brightness issue

    I have an issue with my lcd brightness config in laptop-mode tools
    here is the brightness values
    [venky@ARCHROCKS ~]$ cat /proc/acpi/video/VID/LCD/brightness
    levels: 72 24 12 24 36 48 60 72 84 100
    current: 72
    [venky@ARCHROCKS ~]$
    following is my lcd-bightness.conf file under /etc/laptop-mode/conf.d
    # Configuration file for Laptop Mode Tools module lcd-brightness.
    # For more information, consult the laptop-mode.conf(8) manual page.
    # LCD brightness settings
    # Using these settings, you can make laptop mode tools automatically adjust
    # your LCD's brightness settings. The settings are extremely simple -- they
    # only allow for the execution of a command, nothing more. The reason for this
    # is that LCD brightness settings are very different between laptop vendors.
    # Suggestions for commands:
    # * If your system has the file "/proc/acpi/video/VID/LCD/brightness" (VID may
    # be VID1 or similar), use this file as BRIGHTNESS_OUTPUT, and use
    # the command "echo <value>". The possible values can be listed using the
    # command:
    # cat /proc/acpi/video/VID/LCD/brightness
    # * If you have a file /sys/class/backlight/.../brightness, then you can use
    # that file as BRIGHTNESS_OUTPUT, and the command "echo <value>".
    # As far as I understand it the values are between 0 and
    # the value contained in the file /sys/class/backlight/.../max_brightness.
    # * For Toshiba laptops, use the command "toshset" with the -lcd or -inten
    # command. Read the toshset(1) manual page for more information on the
    # parameters for this command. If you use this command, set
    # BRIGHTNESS_OUTPUT to "/dev/null".
    # IMPORTANT: In versions 1.36 and earlier, these settings were included in the
    # main laptop-mode.conf configuration file. If they are still present, they
    # overrule the settings in this file. To fix this, simply delete the settings
    # from the main config file.
    # Should laptop mode tools control LCD brightness?
    CONTROL_BRIGHTNESS=1
    # Commands to execute to set the brightness on your LCD
    BATT_BRIGHTNESS_COMMAND="echo 24"
    LM_AC_BRIGHTNESS_COMMAND="echo 100"
    NOLM_AC_BRIGHTNESS_COMMAND="echo 72"
    BRIGHTNESS_OUTPUT="/proc/acpi/video/VID/LCD/brightness"
    so basically while in AC power i want full brightness when on battery i want one notch more than the minimum brightness and when laptop-mode is not running i want 2 notches less than maximum brightness.
    the battery mode works fine when i unplug the computer but when i replug the AC power it goes to 72 instead of 100. I mean laptop mode is running coz when I remove ac power it goes to 24 again.
    Am I doing something wrong?

    When you plug in AC power, laptop-mode probably turns down, so LCD brightness is set to 72. It depends on if you have set in /etc/laptop-mode/laptop-mode.conf ENABLE_LAPTOP_MODE_ON_AC to 0 or 1.

  • Wi-fi touch mouse x7000 will not stay paired on Windows 7 home premium 64-bit

    Product: HP wi-fi touch mouse x7000
    Computer: HP Envy sleekbook/ultrabook 6t 1000
    O/S: Windows 7 Home Premium 64-bit
    Wifi type: Intel 802.11b/g/n WLAN and Bluetooth + WIDI
    Error message: none when attempting to pair
    I received my HP Envy 6t two days ago and have started the process of loading software and devices.  In addition to ordering the PC from hp.com, I also ordered the HP Wi-fi touch mouse x7000.  After booting up the PC for the first time and walking through the Windows 7 set-up, I immediately installed the wi-fi mouse. 
    Upon initial install of the mouse with the provided install CD, I received an error message stating that one of the drivers was not digitally signed and that the version of windows installed did not support unsigned drivers and that the installed device may not work because the driver would not be used.  I continued forward with the install and the mouse seemed to be in working order.  I then decided to go out to the HP support website and download the latest Windows 7 64-bit driver for the mouse I had.  I then ran through the install and the mouse still continued to work.  At this point I had not yet rebooted the PC.
    I then performed the following steps in the listed order:
    - Installed HP Photosmart 4700 series printer with provided install CD and established a connection via wi-fi
    - Installed MS Office 2010 SP1
    - Started download of automatically identified Windows Updates that were related to the O/S and other installed Microsoft software
    - In parallel with the Windows updates download, I installed the latest release of Symantec's Anti-Virus software and updated its software and virus definitions, this all finished prior to the Windows Updates being completely downloaded.  I left the default settings as is for the Symantec Anti-Virus configuration.
    - The Windows Updates then installed
    - Rebooted the PC
    After the reboot of the PC was completed, the mouse would not pair at all.  I attempted several times where I would go into the HP mouse control and select configuration and then pairing.  I would follow the instructions of pressing the connect button and the screen would then say it paired, but the O/S would not recognize it and the mouse would not move.  Going back into the mouse control center it then also recognized it was not paired.
    I then attempted to uninstall the mouse software and it would get to the point where it was "gathering information" and it showed a full status bar yet it just hung there.  I would wait for 15 minutes and then hit cancel and it would still just hang there yet again.  After 15 additional minutes of canceling I would just reboot the PC for which the mouse software was still installed but the mouse continued not to pair.  I tried the uninstall process 3 times, each with a PC reboot as part of the process because it would just hang.
    I am not sure if the install CD installs a 32-bit version of the mouse software and drivers.  If so, perhaps I confused the registration of the product by installing the 64-bit driver I downloaded from HP support.  I have attempted to install both the 64-bit driver and the 32-bit driver for Windows 7 that I downloaded from HP Support online in which the execution of the installation is successful with no errors.  However the pairing continues not to work and the uninstall hangs.
    In addition, after the PC bounce, my HP printer was no longer being recognized.  Come to find out Symantec is blocking communication of the PC to the router and thus to the printer.  So I disbled Symantec and the printer now works but the mouse still does not.  I even rebooted the PC after disabling Symantec and attempted to pair, with Symantec still disabled after reboot, then attempted mouse driver re-installs, mouse software uninstalls and still no luck.
    So I am at the point where I cannot uninstall the mouse via conventional means and the wi-fi mouse will not pair manually or automatically.
    I have not yet circled back to performing another Winows Update check to see if there are any additional updates after the intial download of the ones mentioned earlier.  I will plan to do that next time I am on the PC.
    Any suggestions?

    moirl wrote:
    5.  I can not get anything off the Blackberry (photos etc.).
    As was stated above:
    1. Go to Options >> Media Card (or Memory)
    (some themes or BlackBerrys may call this "Settings >> Media Card")
    2. Check the following settings (if they are not listed this way, then change to reflect the following:
    a) Media Card Support: On
    b) Mass Storage Mode Support: On
    c) Auto Enable Mass Storage: Yes
    3. Save the settings and exit
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • IOS - Performance issues when touching screen

    Hello,
    I am having perfomance issues when the use keep moving one finger on the screen.
    I am testing with :
    - flash builder 4.7 beta 2
    - air 3.5 (beta too I guess)
    - iPhone 3GS running on iOS 6.0.1 (also tested on an iPad3, and even though it's less horrible, the impact is still huge compared to what you could expect).
    - gpu mode
    - always published as an addhoc release build (best)
    Test 1-A) :
    - Have a completely empty project, add a fps counter (with mouseEnabled and children false).
    - run a while each frame so you force the fps under 60 (if not you won't see it going down from let's say theoric 100 to theoric 70 since fps max is 60).
    like this for example :
                                            protected function framingMouseTest(e : Event) : void {
                           var t : int = getTimer();
                           while (getTimer()-t<30) {}//this will keep flash busy
    Notice that when you keep your finger on the screen and move it you loose approximately 7ms per frame. (for example from 26 to 22fps or from 48 to 36 fps, depending on the time waited in your while).
    Test 1-B) do the same with even stage mouseEnabled false (and you could even set it + mouseChildren off recursively from stage) : same result (-7ms). Why ? Since it is all off it shouldn't take more than 1 ms no ?
    Test 1-C) add Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT; Same result (found some threads saying it would help but not that much...)
    Test 1-D) Multitouch.mapTouchToMouse = false;          It is a bit better but still around 5ms (didnt write down this one)
    Test 1-D) Multitouch.mapTouchToMouse = false; Multitouch.inputMode = MultitouchInputMode.NONE;          It is a bit better but still around 4ms (didnt write down this one) And you have now nothing left to remove I think.
    Now the horrible part :
    Test 2-A)
    Add some clips and subclips to your scene, containing bitmaps, results may vary depending on how much (let's say 30, I don't have the exact count on subcontainers), etc. but what's important is the difference between no finger and 1 finger moving on screen.
    On normal conditions (keep some mouseEnabled for the clips you need interaction add those a listener, lets say 10 total, default values for the rest) you can get about 40ms per frame down ! (for example from 36 to 14 fps) just by touching the screen.
    Test 2-B) Recursively set everything to mouseEnabled and children false after everything is added, you still get about 30ms down because of the finger, whereas it shouldn't test above the main container which already has mouseChildren false.
    Test 2-C) Multitouch.mapTouchToMouse = false; Multitouch.inputMode = MultitouchInputMode.NONE; you still get about 20ms down !!! whereas you're in a mode when touch and mouseEvents shouldn't even exist.
    I am really confused. My conclusions are :
    Performance are really impacted whatever you do when a user touch the screen + it will get worse the more clips/depth you have. Even if everything is made to disable this.
    I think anyone could test this with pretty much any app done with AIR on iOS, as long as the framerate is already <max (<60 for example), touch and move your finger and tell me what happens regarding framerate.
    What I would love :
    1) tell me what I am missing if you think this is due to some mistake on my part, if not :
    2) better perfomance when containers have mouseChildren false. It seems obvious it still takes longer to process.
    3) a mode where the touch/mouse is REALLY disabled including stage etc. It is quite obvious air does takes longer to handle touch as the scene gets more complex, even if you disable it all (seems to work only 20%...)
    4) a mode where the touch/mouse is REALLY disabled, on anything but the stage. Because you might want to handle everythin just from stage coordinates, if your project allows you to, like mine. Unfortunately right now it wouldn't give you enough performance boost (well, a bit but still maybe +20ms).
    PS : you don't even need to add mouselistener or touchlisteners (tested both), but if you do, it is worse.
    Compared to this, I am finding rendering performance pretty decent - even though it's tough for a game on a 3GS- as long as you do it properly.

    Could you open a bug report on this at bugbase.adobe.com?  Please include any sample code or applications so we can quickly reproduce the problem.  If you'd like to keep this private, feel free to send them to me directly ([email protected]).  Also, please note in the bug if this is new behavior with the latest AIR sdk or if you've seen this in past versions too.  Once added, let me know the bug number and I'll follow up internally.  I've alerted the iOS team to expect this bug.
    Thanks,
    Chris

  • Microsoft Arc Touch Mouse Problem

    Dear Sir,
    I have an arc touch mouse for over a year now but suddenly it stooped working
    the USB device is recognizable and works perfectly as i can see it in the device manger in my windows 7 but the problem with the mouse itself, when i bend the mouse to turn it on the green light won't come on and the blue laser blinks steady every 0.5 second
    at all times not like before as the blinks is different when it's on a surface or not, i tried to change the batteries but nothing works
    Kindly advice 

    Dear Sir,
    I have an arc touch mouse for over a year now but suddenly it stooped working
    the USB device is recognizable and works perfectly as i can see it in the device manger in my windows 7 but the problem with the mouse itself, when i bend the mouse to turn it on the green light won't come on and the blue laser blinks steady every 0.5 second
    at all times not like before as the blinks is different when it's on a surface or not, i tried to change the batteries but nothing works
    Kindly advice 
    have you put fresh batteries in it recently?
    Corsair Carbide 300R with TX850V2
    Asus M5A99FX PRO R2.0 CFX/SLI
    AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
    G.SKILL RipjawsX DDR3-2133 8 GB
    EVGA GTX 660 Ti FTW Signature 2 (GK104 Kepler)
    Asus PA238QR IPS LED HDMI DP 1080p
    ST2000DM001 & Windows 8.1 Professional x64
    Microsoft Wireless Desktop 2000 & Wacom Bamboo CHT470M
    Place your rig specifics into your signature like I have, makes it 100x easier to understand!
    Hardcore Games Legendary is the Only Way to Play!

  • LCD brightness issue

    I've installed archlinux on my laptop, everything works well except the brightness control.
    The screen originally has 11 brightness levels, but when I either press Fn+F6/F7 key or use gnome-power-manager to adjust brightness, it always skips a level.
    /proc/acpi/video/VGA/LCD/brightness
    levels: 100 60 20 28 36 44 52 60 68 76 84 92 100
    current: 100
    I can only get level 20 36 52 68 84 and 100
    The problem also exists in console mode.
    I tried adding video module to blacklist, then brightness cannot be adjusted at all.
    However, I never get this problem in openSUSE, all 11 levels are available.
    Could anyone help me? Thanks!:|

    http://forums.nvidia.com/index.php?show … t&p=386303
    Hmmm...I found this on the nvidia forums:
    I have a Samsung R700 laptop and my brightness stopped working after installing the restricted drivers. This is how I fixed it.
    Press Ctrl-Alt-F1 to get a virtual console. Once you are in this console I think different video drivers are active so the following worked for me to adjust brightness.
    Logged in and ran the following command:
    echo -n 70 > /proc/acpi/video/NVID/LCD/brightness
    then logged out and pressed Ctrl-Alt-F7 to go back to X
    It's possible your brightness key on your laptop may work straight after you press ctrl-alt-f1 and you won't have to login and do the acpi stuff.
    Also I have a startup script to set my brightness to a fixed value before X starts. It's not ideal but it's the only solution I could find that worked for me until the drivers are fixed!
    Hope this helps.
    Last edited by kclive18 (2008-07-08 11:19:25)

  • LCD brightness level automatically reset

    Dear Experts and other user,
    Started from yesterday, my T61 laptop LCD brightness level automatically reset to lower in everytime i started it. I needed to manually tune up the brightness level.
    The laptop is firmly connected to the AC power. And i have did nothing under the Windows system. Is it any hardware issue or software configuration issue?
    Many thanks with your attention and advise.
    ED

    My "energy saver" pref does NOT have the options for "Automatically reduce the brightness of the display before the display sleeps" item mentioned above. It has only the 4 following entries:
    Wake Options:
    -Wake when the modem detects a ring
    -Wake for Ethernet network administrator access
    Other Options:
    -Allow power button to sleep the computer
    -Restart automatically after a power failure
    This option does show up in the help file and I am imagining that I either don't have the hardware to support it or it is geared for laptops.
    I have tried using the terminal to issue a pmset command (logged in as root of course) to see if I could affect this behavior.
    pmset -a lessbright 0
    pmset -a halfdim 0
    neither of them showed up in the file:
    /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist
    contents:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Custom Profile</key>
    <dict>
    <key>AC Power</key>
    <dict>
    <key>Automatic Restart On Power Loss</key>
    <integer>0</integer>
    <key>Disk Sleep Timer</key>
    <integer>180</integer>
    <key>Display Sleep Timer</key>
    <integer>69</integer>
    <key>Sleep On Power Button</key>
    <integer>0</integer>
    <key>System Sleep Timer</key>
    <integer>69</integer>
    <key>TTYSPreventSleep</key>
    <integer>1</integer>
    <key>Wake On AC Change</key>
    <integer>0</integer>
    <key>Wake On Clamshell Open</key>
    <integer>1</integer>
    <key>Wake On LAN</key>
    <integer>0</integer>
    <key>Wake On Modem Ring</key>
    <integer>0</integer>
    </dict>
    </dict>
    </dict>
    </plist>

Maybe you are looking for