kdj0c / panic_report

MIT License
13 stars 2 forks source link

Test sample #1

Open kdj0c opened 4 months ago

kdj0c commented 4 months ago

This is a test sample to show what kind of data can be put in a drm_panic qr code, and decoded with this web project.

dmr_panic_qr_code_demo

kdj0c commented 2 months ago

A new test sample with V40 QR code DrmPanic_QR_V40

kdj0c commented 2 months ago

Test sample with uncompressed kmsg.

drm_panic_QR_V40_raw

qwertychouskie commented 2 months ago

Test sample with uncompressed kmsg.

drm_panic_QR_V40_raw

This one I can't scan with my phone.

kdj0c commented 2 months ago

This one I can't scan with my phone.

Sometime it also depends on the app you're using. The first app I used on my Android phone was only able to scan the first screenshot (with ascii Tux), bigger QR-code never worked. I'm now using the app from gamma play, and it scan all three.

qwertychouskie commented 2 months ago

Some quick testing with the 2 troublesome QR codes:

Might be worth investigating what's different between these, maybe there's some sort of subtle bug in the QR code that makes it not work on all apps, or maybe some of these apps have some sort of bug with large codes.

OptikITLik commented 2 months ago

How do you upload data if there is no internet connection?

tq-steina commented 2 months ago

I can't scan the last one (Test sample with uncompressed kmsg) with my Android phone

NikitaBeloglazov commented 2 months ago

Test sample with uncompressed kmsg scans normally with Samsung Camera

lucmann commented 2 months ago

I can't scan the last one (Test sample with uncompressed kmsg) with my Android phone

I can also scan that normally with my Android phone (Redmi Note 11T Pro), using WeChat app.

microhobby commented 1 month ago

This remember me of this: https://www.youtube.com/watch?v=KriAX7FxhZw

Andy3153 commented 1 month ago

Test sample with uncompressed kmsg.

drm_panic_QR_V40_raw

It scans normally for me. I'm on LineageOS and I'm using the default camera app.

g0t4 commented 5 days ago

@kdj0c what are you using to generate the QR codes above?

I've got panic screen working. And I've compiled the kernel with DRM_PANIC_SCREEN_QR_CODE=y and booted it, but I still get the panic screen w/o QR codes. Is resolution a factor? IIAC the QR codes require a rather high resolution display to fit?

kdj0c commented 5 days ago

@g0t4 You also need to set DRM_PANIC_SCREEN=qr_code (or at runtime, as root:) echo -n "qr_code" > /sys/module/drm/parameters/panic_screen

g0t4 commented 4 days ago

@kdj0c you just made my day (actually my weekend)! THANK YOU

g0t4 commented 4 days ago

here's a blue version, triggered via DRM_PANIC_DEBUG

image