Issue
I'm using Eclipse 2023-09 (4.29.0)
and have recently noticed that my hover/mouseover dialog over classes / variables is empty. The text seems to be in the box because I can select and copy paste it (selection is still invisible). Hover boxes with Dead Code warnings are still looking fine. I'm not sure what caused the issue.
I can provide the following facts:
- Happens my Debian Linux (Trixie) system with Fluxbox and Nvidia GPU
- Issue also happens with older Eclipse versions (Tested also versions of 2022)
- Issue is unaffected by GTK theme changes
- Issue is unaffected by different Eclipse Theme
- Changing the color in Java -> Editor (Appearance color options) does not affect the box color
- Box is complete white when changing to a light theme
I see the following error in the logs when I try to hover over a field / variable.
src/nv_gbm.c:100: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
I think the problem might be related to my Nvidia driver or something that invokes the driver in a dedicated way.
Any pointers would be welcome since this issue basically renders my Eclipse IDE almost not usable.
Solution
I was able to workaround the issue by starting eclipse via:
__NV_PRIME_RENDER_OFFLOAD=1 /opt/ide/eclipse/eclipse
I can't provide any further info on this. I found this thread and tested the environment variable. I have a two GPU system. Maybe that is confusing the window creation.
Answered By - Jotschi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.