Arnova8G2 / Gcam_8.7.250.44

35 stars 4 forks source link

Samsung S21 FE snapdragon version #19

Open dimitridokuzovski opened 1 year ago

dimitridokuzovski commented 1 year ago

Samsung S21 FE snapdragon version freezing after few seconds. Please make it work on this wonderful phone ---- Device Info ----

ijassbirdi commented 1 year ago

https://drive.google.com/file/d/1T0qMa5F9yCBl-OL02SaP_aQBsa08FNyY/view?usp=drivesdk

Still the same bug ? in dev check "pck_large_yuv" in stream config use eisv2 or eisv3

Still freezing bro

ashiimashi commented 1 year ago

@Arnova8G2 still freezing 🙁

Can you make a log with shortcut and share log https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.2-Beta1

I tried and still get the freeze. I saved 2 logcats, hope it can be of some help. https://linksharing.samsungcloud.com/yIB8vMnAKmB6 If you want to see results of some specific settings combinations please let us know. Thank you very much

Arnova8G2 commented 1 year ago

@ashiimashi it's a good log, but if you can manage to make a capture in logcat mod it will create files on your APi2 of your device

tremor021 commented 1 year ago

I managed to make a logcat also, hope it helps Logs_2023-05-15_14-07-53.zip

Arnova8G2 commented 1 year ago

here is a test with these new options in dev camera.hdrplus_global_imagereader_ticket_limit = 50 images/stream in viewfinder camera.imagereader_format_image_jpeg camera.imagereader_sdk29_or_lower

50 is default , 7 is min and 54 is max for my device which does not have this BufferLost bug A test one by one can be confined

@dimitridokuzovski , @tremor021, @omaralwardian https://e.pcloud.link/publink/show?code=XZJWGjZWIk6QCn2pVHjXXqjYgNKeSX7xf8k

ashiimashi commented 1 year ago

@ashiimashi it's a good log, but if you can manage to make a capture in logcat mod it will create files on your APi2 of your device

I made logcat using the tananaev logcat app, it is a very large file, i hope I managed to capture it correctly. please check if it is useful for debugging the freeze issue, if I didn't do it correctly please write and I will do my best to capture a proper logcat

https://linksharing.samsungcloud.com/94H7r4G8eZHm

dimitridokuzovski commented 1 year ago

here is a test with these new options in dev camera.hdrplus_global_imagereader_ticket_limit = 50 images/stream in viewfinder camera.imagereader_format_image_jpeg camera.imagereader_sdk29_or_lower

50 is default , 7 is min and 54 is max for my device which does not have this BufferLost bug A test one by one can be confined

@dimitridokuzovski , @tremor021, @omaralwardian https://e.pcloud.link/publink/show?code=XZJWGjZWIk6QCn2pVHjXXqjYgNKeSX7xf8k

I have installed the app but it crashes on startup. I have cleared cache and data but it is the same

Arnova8G2 commented 1 year ago

I have installed the app but it crashes on startup. I have cleared cache and data but it is the same

use parameter shortcut is disabled camera.imagereader_format_image_jpeg I made a mistake to activate by default

dimitridokuzovski commented 1 year ago

I have installed the app but it crashes on startup. I have cleared cache and data but it is the same

use parameter shortcut is disabled camera.imagereader_format_image_jpeg I made a mistake to activate by default

I can not enter in the app and in dev options because it crashes immediately after launch.

Arnova8G2 commented 1 year ago

I can not enter in the app and in dev options because it crashes immediately after launch.

Screenshot_2023-05-15-22-27-02-107_app lawnchair debug-edit

dimitridokuzovski commented 1 year ago

This is my log file https://linksharing.samsungcloud.com/zN4RGJwJ7urS

Arnova8G2 commented 1 year ago

This is my log file https://linksharing.samsungcloud.com/zN4RGJwJ7urS

you use 54 , start with minimum, but that suppresses buffer lost errors image

Arnova8G2 commented 1 year ago

there is also this, if eisv2 or eisv3 does not work, activate "camera.eis_tr_supported" may be that it worked on your device image

dimitridokuzovski commented 1 year ago

There is another log file. Sorry if I don't understand the settings. I have never dive in this deep in GCam 🙂

https://linksharing.samsungcloud.com/kYfXlBZoVNxr

ijassbirdi commented 1 year ago

there is also this, if eisv2 or eisv3 does not work, activate "camera.eis_tr_supported" may be that it worked on your device image

Now only black screen appear when i open gcam

Querosayan commented 1 year ago

Settings -> Advanced -> Stream Config -> Enable OpMode Switch -> Set Sensor -> then tap back_logical and set up the configs like this. Then go through all back lenses including back_ultrawide, back_wide etc and set them all up like this screenshot.

Scan3d Samsung

Note: you will only have access to the one lens until Arnova added the input method to select the physical lens IDs.

But the one you will have will work and not freeze.

This works if your device is a Snapdragon processor.

Hi, I would like to collaborate to this thread because I own an s21 fe snapdragon too. In dimitridokuzovski gcam version streamconfig don't even seem to exist so I don't know how he could even test this. Hope someone clears that. In freetime I will follow every other suggestion and try to help on solving this viewfinder freeze issue.

mibzar88 commented 1 year ago

Algún avance con esta gcam?

Arnova8G2 commented 1 year ago

Algún avance con esta gcam?

Test last version : https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.2

mibzar88 commented 1 year ago

¿Algún avance con esta gcam?

Pruebe la última versión: https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.2

I installed it on my s21 fe snapdragon and it doesn't work

Arnova8G2 commented 1 year ago

I installed it on my s21 fe snapdragon and it doesn't work

I will share with you a test version that will force use of sessionConfiguration on EISV3

mibzar88 commented 1 year ago

Lo instalé en mi s21 fe snapdragon y no funciona

Compartiré con ustedes una versión de prueba que forzará el uso de sessionConfiguration en EISV3

Please

ashiimashi commented 1 year ago

@Arnova8G2 Thank you for not giving up on this, Please let us know how we can help you with bugfixing to get it working with whatever means possible

Arnova8G2 commented 1 year ago

@Arnova8G2 Thank you for not giving up on this, Please let us know how we can help you with bugfixing to get it working with whatever means possible

To help me understand this bug: 1 ) for each new test version clean app cache after installation 2 ) use stream config setting with EISV3 3 ) test settings that will be indicated for these test versions 4 ) after testing, check if bug is still present 5 ) close gcam and use logcat mode to switch between all modes and make captures to share log zip file with me.

Arnova8G2 commented 1 year ago

To help me understand this bug: 1 ) for each new test version clean app cache after installation 2 ) use stream config setting with EISV3 3 ) test settings that will be indicated for these test versions 4 ) after testing, check if bug is still present 5 ) close gcam and use logcat mode to switch between all modes and make captures to share log zip file with me.

@dimitridokuzovski , @tremor021 , @omaralwardian , @mibzar88 , @ashiimashi https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.3

ijassbirdi commented 1 year ago

To help me understand this bug: 1 ) for each new test version clean app cache after installation 2 ) use stream config setting with EISV3 3 ) test settings that will be indicated for these test versions 4 ) after testing, check if bug is still present 5 ) close gcam and use logcat mode to switch between all modes and make captures to share log zip file with me.

@dimitridokuzovski , @tremor021 , @omaralwardian , @mibzar88 , @ashiimashi https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.3

In this gcam after selecting eisv3 telephoto and ultrawide working but not saving the photo, after zooming little bit it saves the photo and noise is too much, for wide angle it still the same, freezing after few seconds.

Arnova8G2 commented 1 year ago

In this gcam after selecting eisv3 telephoto and ultrawide working but not saving the photo, after zooming little bit it saves the photo and noise is too much, for wide angle it still the same, freezing after few seconds.

If you can start in logcat mode (shortcut)

ijassbirdi commented 1 year ago

In this gcam after selecting eisv3 telephoto and ultrawide working but not saving the photo, after zooming little bit it saves the photo and noise is too much, for wide angle it still the same, freezing after few seconds.

If you can start in logcat mode (shortcut)

  • make a capture with ultrawide
  • switch between modes on main camera
  • force close gcam
  • reopen to compress logs to share them with me

Here it is

https://drive.google.com/file/d/1vUTEw8oH2SqNlUDiNiyKX3KqTfT0SLD-/view?usp=drivesdk

ijassbirdi commented 1 year ago

https://drive.google.com/file/d/1vy2x6SG0Xxugp70mdjWUKCLHS6fQPIDO/view?usp=drivesdk

ashiimashi commented 1 year ago

On the latest version I changed stream config setting to EISV3 for all lenses, the main camera freeze is still present for main camera (1x), but even after freezing when I press shutter button it captures a picture (the frozen state of the viewfinder is saved as far as I can tell, moving the camera doesn't have any effect, it saves the frozen frame every time). On ultrawide (.5) and telephoto (2.9) it doesn't freeze, but when I capture a photo, as soon as the animation showing the new image thumbnail popping up on the corner is over, the app crashes and exits, and it doesn't save the captured pictures. I tried saving some logcats, please check if they contain anything useful. Thank you

https://quickshare.samsungcloud.com/5hpkDOeHj6XE

ijassbirdi commented 1 year ago

@Arnova8G2 any update brother ?

Arnova8G2 commented 1 year ago

@dimitridokuzovski , @tremor021 , @omaralwardian , @mibzar88 , @ashiimashi , @ijassbirdi

test this : https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.4-Beta1

tremor021 commented 1 year ago

@dimitridokuzovski , @tremor021 , @omaralwardian , @mibzar88 , @ashiimashi , @ijassbirdi

test this : https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.4-Beta1

Do we need to make specific settings or just test the lenses?

Arnova8G2 commented 1 year ago

Do we need to make specific settings or just test the lenses?

test viewfinder freeze

If bug is still there 1 ) for each new test version clean app cache after installation 2 ) use stream config setting with EISV3 3 ) test settings that will be indicated for these test versions 4 ) after testing, check if bug is still present 5 ) close gcam and use logcat mode to switch between all modes and make captures to share log zip file with me.

tremor021 commented 1 year ago

https://drive.google.com/file/d/19lsABPzs3NhElJM4KrtQoEVvRZBq3RVI/view?usp=drive_link

Here are my logs with the latest beta

Arnova8G2 commented 1 year ago

Here are my logs with the latest beta

ask for permission, but here you can share zip/txt files Screenshot_2023-06-13-15-17-05-198_com android chrome

tremor021 commented 1 year ago

try now log.zip

ashiimashi commented 1 year ago

@dimitridokuzovski , @tremor021 , @omaralwardian , @mibzar88 , @ashiimashi , @ijassbirdi

test this : https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.4-Beta1

I set all modes to EISV3 and tested all of them and captured the logs. (removed all the raw DNG files to reduce the size) log20230617.zip Here are some of my observations:

  1. back tele camera is not detected (see screenshot)
  2. freeze is still there in main camera mode after few seconds, but it captures the frozen image when pressing shutter button.
  3. on panorama mode main cam feed doesn't freeze, it works and stitches together and saves the panorama image
  4. video mode doesn't work with EISV3 just shows a black viewfinder.
  5. on the ultrawide 0.5, the camera doesn't freeze and captures the images but after that the app itself crashes

If you need anything else for testing please explain and I will do it.

Thanks for your time spent on debugging for the S21 FE snapdragon version!

photo_2023-06-17_06-19-34

Arnova8G2 commented 1 year ago

@ashiimashi Thanks for this good log, for AUX it is beta version without samsung package name.

Arnova8G2 commented 1 year ago

@ashiimashi test this https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.4-Beta2

Arnova8G2 commented 1 year ago

@ashiimashi

This is how the viewfinder can be used Format can be changed but it depends on your device List of formats https://developer.android.com/reference/android/graphics/ImageFormat Samsung may use other formats. Frames your device has a min of 7 and a max of 30

Screenshot_2023-06-17-22-40-34-727_com google android GoogleCamera

ashiimashi commented 1 year ago

@ashiimashi test this https://github.com/Arnova8G2/Gcam_8.7.250.44/releases/tag/V8.4-Beta2

I did some tests with this version but didn't notice a big change, maybe the ultrawide took longer to crash...

you want me to test with any specific settings? log20230617-2.zip

Arnova8G2 commented 1 year ago

you want me to test with any specific settings? log20230617-2.zip

On log no frame modification like this https://github.com/Arnova8G2/Gcam_8.7.250.44/issues/19#issuecomment-1595857532

ashiimashi commented 1 year ago

you want me to test with any specific settings? log20230617-2.zip

On log no frame modification like this #19 (comment)

Here are the logs with exactly the same settings as your screenshot : log20230618.zip

Some observations: Freeze issue is still there the video recording now works, but not on slow motion.

unimportant extra: I couldn't type in the search bar inside developer settings for some reason

I hope these logs are helping.If you want me to test something else please let me know. Thanks

Arnova8G2 commented 1 year ago

@ashiimashi in "camera.pixel.format_viewfinder_stream" can you replace 34 by 35 in developer there is a bug since Gboard update

ashiimashi commented 1 year ago

@ashiimashi in "camera.pixel.format_viewfinder_stream" can you replace 34 by 35 in developer there is a bug since Gboard update

Changed it to 35, viewfinder colors changed, yellows turned to blue but the freeze still there. The raw images and raw files have the normal color though.

Here is the log: log20230618-2.zip

Arnova8G2 commented 1 year ago

Changed it to 35, viewfinder colors changed, yellows turned to blue but the freeze still there. The raw images and raw files have the normal color though.

Ok, thanks now I understand that bug does not come from format/frame of viewfinder, but more about an eis management used on viewfinders.

Arnova8G2 commented 1 year ago

Here is the format 35 to display the error image

AbdullahAlNakib commented 1 year ago

Changed it to 35, viewfinder colors changed, yellows turned to blue but the freeze still there. The raw images and raw files have the normal color though.

Ok, thanks now I understand that bug does not come from format/frame of viewfinder, but more about an eis management used on viewfinders.

Any update? Can this be fixed?

Arnova8G2 commented 1 year ago

@ashiimashi , @AbdullahAlNakib test version https://e.pcloud.link/publink/show?code=XZLDBfZ9d6K0b2pXnmrJlVebNi0M4AR3qGk

AbdullahAlNakib commented 1 year ago

@ashiimashi , @AbdullahAlNakib test version https://e.pcloud.link/publink/show?code=XZLDBfZ9d6K0b2pXnmrJlVebNi0M4AR3qGk

Still freezing. I haven't made any changes. Let me know if you want the log file.