'2022/06/27'에 해당되는 글 4건

  1. 2022.06.27 libwayland debug 메시지
  2. 2022.06.27 libwayland
  3. 2022.06.27 rufus - symbol 'grub_register_command_lockdown' not found
  4. 2022.06.27 페북이 시비를 걸어왔다(?) 4
프로그램 사용/wayland2022. 6. 27. 17:24

export WAYLAND_DEBUG=1 하면 libwayland*.so 들의 디버그 메시지가 출력되는데

대~~~애충 아래와 같은 포맷

[1492172.627] wl_surface@17.leave(wl_output@16)
[1492172.707]  -> wl_surface@17.set_buffer_scale(1)
[1492172.745]  -> wl_surface@17.frame(new id wl_callback@27)
[1492192.837]  -> wl_surface@17.attach(wl_buffer@26, 0, 0)
[1492192.934]  -> wl_surface@17.damage(0, 0, 806, 606)
[1492192.973]  -> wl_surface@17.commit()
[1492208.877] wl_display@1.delete_id(27)
[1492208.938] wl_buffer@26.release()
[1492208.957] wl_callback@27.done(22885913)

 

send와 discard는 상위에서 보내주는 대로 설정되는거고, 해당 내용에 따라 출력이 되는 듯.

@00 식으로 나오는건 인자에 따라 출력되는 값인데.. 함수 인자가 어떤걸 의미하는진 따로 찾아봐야 할 듯..

void wl_closure_print(struct wl_closure *closure, struct wl_object *target,
 int send, int discarded, uint32_t (*n_parse)(union wl_argument *arg))
{
// ...
fprintf(f, "[%7u.%03u] %s%s%s@%u.%s(",
time / 1000, time % 1000,
discarded ? "discarded " : "",
send ? " -> " : "",
target->interface->name, target->id,
closure->message->name);

[링크 : https://gitlab.freedesktop.org/wayland/wayland/-/blob/main/src/connection.c#L1286]

[링크 : https://gitlab.freedesktop.org/wayland/wayland]

'프로그램 사용 > wayland' 카테고리의 다른 글

weston redraw 취소하기  (0) 2022.07.07
weston drm debug  (0) 2022.06.29
libwayland  (0) 2022.06.27
weston desktop-shell output destory  (0) 2022.06.08
weston debug message  (0) 2022.03.18
Posted by 구차니
프로그램 사용/wayland2022. 6. 27. 17:07

도대체.. 넌 또 머냐 -_-

 

[링크 : https://gitlab.freedesktop.org/wayland/wayland]

 

wayland_debug 라고 했듯.. libwayland의  디버깅이지 weston의 디버깅이 아니었나..

To get the logs of the wayland protocol messages, set this environment variable:

 export WAYLAND_DEBUG=1

[링크 : https://wiki.st.com/stm32mpu/wiki/How_to_debug_Weston]

'프로그램 사용 > wayland' 카테고리의 다른 글

weston drm debug  (0) 2022.06.29
libwayland debug 메시지  (0) 2022.06.27
weston desktop-shell output destory  (0) 2022.06.08
weston debug message  (0) 2022.03.18
weston drm atomic  (0) 2022.03.17
Posted by 구차니
파일방2022. 6. 27. 12:11

3.13p 버전을 사용중이었는데

ubuntu 21.10 을 설치용 USB로 만드려고 했더니

아래와 같이 grub 에서 ubuntu로 부팅하려고 하면 에러가 발생했다.

error: symbol 'grub_register_command_lockdown' not found

Press any key to continue...

 

간단하게는.. rufus 버전을 3.14 이후 버전으로 하라고..

Short answer:
  • If using Rufus, you will need to download Rufus 3.14 or later to create your media, which you can download here.
  • If installing your own GRUB bootloader, you need to apply this patch on top of the GRUB 2.04 source, so that the missing symbol is defined.

[링크 : https://askubuntu.com/questions/1333512]

'파일방' 카테고리의 다른 글

fsn (fusion) - file system navigator  (0) 2022.08.26
tsdb influxdb  (0) 2022.07.05
codesys  (0) 2022.05.18
debian noroot 와 userland  (0) 2022.05.02
ansi to html  (0) 2022.03.31
Posted by 구차니

오랫만에 메일을 확인하는데 페북에서 그런걸 보냈다.

Posted by 구차니