Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation fault on arm64 linux device with X11, system x264 libs ,no monitor and only VNC monitor #270

Open
fish4terrisa-MSDSM opened this issue Jun 12, 2024 · 0 comments

Comments

@fish4terrisa-MSDSM
Copy link

fish4terrisa-MSDSM commented Jun 12, 2024

I got a segmentation fault while running weylus on my arm64 device. It first seems to be the bug of x264 libs, so I changed to use the system x264 lib, but nothing changed.
And, it uses system ffmpeg.
As I dont have the root access on this device, uinput support is disabled.
That's the log:

2024-06-12T02:48:59.135735Z DEBUG hyper::proto::h1::io: flushed 3967 bytes
2024-06-12T02:48:59.135957Z DEBUG hyper::proto::h1::io: parsed 13 headers                         2024-06-12T02:48:59.135989Z DEBUG hyper::proto::h1::conn: incoming body is empty                  2024-06-12T02:48:59.136029Z DEBUG weylus::web: Got request: Request { method: GET, uri: /lib.js, version: HTTP/1.1, headers: {"host": "127.0.0.1:1701", "connection": "keep-alive", "sec-ch-ua": "\"
Microsoft Edge\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\"", "sec-ch-ua-mobile":
"?0", "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome
/111.0.0.0 Safari/537.36 Edg/111.0.1633.0", "sec-ch-ua-platform": "\"Linux\"", "accept": "*/*", "s
ec-fetch-site": "same-origin", "sec-fetch-mode": "no-cors", "sec-fetch-dest": "script", "referer":
 "http://127.0.0.1:1701/", "accept-encoding": "gzip, deflate, br", "accept-language": "zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7"}, body: Body(Empty) }
2024-06-12T02:48:59.136250Z DEBUG hyper::proto::h1::io: flushed 32099 bytes                       
2024-06-12T02:48:59.238758Z  INFO weylus::websocket: Client connected. address=127.0.0.1:58122
2024-06-12T02:48:59.243371Z DEBUG weylus::websocket: Got message from client. client_message="GetCapturableList" address=127.0.0.1:58122
2024-06-12T02:48:59.257716Z DEBUG weylus::websocket: Got message from client. client_message={"Config":{"capturable_id":0,"uinput_support":false,"capture_cursor":false,"max_width":4410,"max_height
":5949}} address=127.0.0.1:58122                                                                  
2024-06-12T02:48:59.386477Z  INFO weylus::log: using cpu capabilities: ARMv8 NEON
2024-06-12T02:48:59.413497Z  INFO weylus::log: profile Constrained Baseline, level 6.2, 4:2:0, 8-bit                                                                                                
2024-06-12T02:48:59.413616Z  INFO weylus::log: 264 - core 164 r3108M 31e19f9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=8 lookahead_threads=8 sliced
_threads=1 slices=8 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 wei
ghtp=0 keyint=12 keyint_min=1 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin
=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
zsh: segmentation fault  ./target/debug/weylus --no-gui 2>&1
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

No branches or pull requests

1 participant