Skip to content

Conversation

@Nir-Az
Copy link
Collaborator

@Nir-Az Nir-Az commented May 22, 2025

We have seen that several laptops consume high memory and even gets a memory leak when GLSL for processing feature in the RS viewer is ON.
This will disable it by default, user can still turn it on if he likes.
Tracked on [LRS-1266]

@Nir-Az Nir-Az force-pushed the glsl-default-off branch from b1fc90b to b2aa7ab Compare May 22, 2025 14:38
@Nir-Az Nir-Az requested a review from OhadMeir May 22, 2025 14:39
// while this can be worked-around, this will take more development time,
// so for now Macs should not use the GLSL stuff
config_file::instance().set_default(configurations::performance::glsl_for_processing, false);
//config_file::instance().set_default(configurations::performance::glsl_for_processing, false);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I comment out the placed that set it because it has special logic if it's MAC or not

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure about removing it or keep it commented out, thoughts?

Copy link
Contributor

@OhadMeir OhadMeir May 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove. It's an historical investigation we won't have time and resources to re-investigate if users will complain about again. I would even leave uncommented.

config_file::instance().set_nested_default(configurations::dds::enable_dds, false);
config_file::instance().set_nested_default(configurations::dds::domain_id, 0);

// Since we have seen on severan laptops models that using GLSL for processing cause a memory leak Decided to disable it by default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor. If doing other changes in the file. Typo "severan". "Decided" does not need capital letter.

@Nir-Az
Copy link
Collaborator Author

Nir-Az commented May 25, 2025

I changed the order and fix the typos, please re-review

@Nir-Az Nir-Az requested a review from OhadMeir May 25, 2025 07:34
@OhadMeir OhadMeir merged commit e9e0bb6 into IntelRealSense:development May 25, 2025
25 of 26 checks passed
Nir-Az pushed a commit to Nir-Az/librealsense that referenced this pull request May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants