This chapter provides suggestions for improving performance, memory usage, the user experience, and other aspects of browser behavior.
Symptom | Possible cause | Solution |
---|---|---|
Web pages load slowly. | Slow storage device. | Use the --qnx-no-disk-cache and --qnx-no-gpu-cache options. |
Browser loads desktop web pages that are too large and complex for the target system. | User-agent string needs to include Mobile. | Use the --use-mobile-user-agent option. |
Browser issues an error notice about certificates. | System date isn't set or is incorrect. | Use the date utility to set the correct date and time. |
Certificates have expired. | Download up-to-date certificates from the QNX Software Center. | |
Some tiles don't render correctly in the display. | GPU doesn't support the EGL_NV_post_sub_buffer extension. | Use the --ui-disable-partial-swap option. |
Changing the media audio volume also changes the global audio volume. | The --qnx-ignore-global-volume option isn't specified. | Use the --qnx-ignore-global-volume option. |
Memory usage is higher than desired. | Browser is using the standard application process model. | Use the shared application process model (but see Application process models for tradeoffs). |
Browser is using the renderer zygote to fork child renderer processes. | Use the --qnx-disable-zygote option, which eliminates the zygote process. | |
Browser is using the process-per-site-instance renderer process model. | Use the process-per-site renderer model (but see Renderer process models for tradeoffs). | |
Applications launch more slowly than desired. | Browser is using the standard application process model. | Use the shared application process model (but see Application process models for tradeoffs). |
Browser doesn't detect the current location. | Location manager isn't running. | Start the location manager (location_manager). |
Browser exits immediately upon starting. | You are using lifecycle management and the browser state value is set to closed when the browser starts up. | Set the value to foregrounded or backgrounded. See the Managing the Browser Lifecycle chapter for more information. |