You are not logged in.
A related post by someone else, with no answers: https://dev1galaxy.org/viewtopic.php?id=6540
Basically, there are some programs I use / would like to use that are not working properly on my system.
I don't recall when exactly the issue started; I'm thinking it may have been when I upgraded to daedalus, but that may not be accurate. The weird thing is, it was working correctly for a while somewhat recently, but now has gone wrong again. I don't use the affected programs often enough to pinpoint what has changed - that is, there are several kernel upgrades and possibly video driver updates in between.
The issue: when I open some programs, the main window is blank. I've had to start from a terminal to see any kind of error. The main programs I've noticed this affecting are midori and xiphos. There were some other webkit browsers I recently tried that were all affected also.
Here's a sample output from the terminal:
$ xiphos
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 995x836: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 398x158: Permission denied
$ midori
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 1440x780: Permission denied
The windows get created. midori shows the tab title "speed dial" and other buttons for the ui, but the main window is blank. xiphos shows the main ui elements, open tabs, etc, but again the main text window is blank. I found something on an ubuntu forum that suggested updating the video driver. I use the driver from nvidia.com. I had been using NVIDIA-Linux-x86_64-550.107.02, and have now updated it to NVIDIA-Linux-x86_64-550.135 but that didn't help.
Any suggestions?
further system information:
Linux hostname 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux
desktop: xfce
video card: geforce gtx 1050 ti
i have 3 monitors in case that matters
all installed packages up-to-date
if it matters, I boot into text mode, using startx to start x. Xorg runs as my user, not as root.
After initially posting this, I also tried the same programs under a different user account. That did not help (the same errors showed).
Any help would be most appreciated.
Last edited by rbit (2024-12-09 17:06:36)
Offline
Have a look here - https://github.com/DioxusLabs/dioxus/issues/1909
Offline
along with the webpage LinuxMan references, please review this one also:
Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!
Offline
Very promising information, thank you both.
Today I updated to kernel 6.11.10+bpo-amd64 6.11.10-1~bpo12+1 and also updated the nvidia driver to NVIDIA-Linux-x86_64-550.142.run - and it still wasn't working.
Following the suggestions on the linked pages, I tried statring midori as follows:
$ env WEBKIT_DISABLE_COMPOSITING_MODE=1 midori
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)
Those errors were still in the console, but this time the error "KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied" wasn't present, and the window frame correctly showed the information.
I've now added the file /etc/modprobe.d/nvidia_drm.conf with the contents options nvidia_drm modeset=1 as suggested in the first link; I'll reboot in a little while and see if that fixes the issue without needing to set an env variable.
Last edited by rbit (Today 03:48:22)
Offline
well that didn't work so well.
screen went black during boot (instead of showing scrolling text and eventually login prompt). I waited until a login prompt should have been there, then logged in, attempted startx. eventually the screen came back, X did not start. some errors in Xorg.0.log:
[ 81.998] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
[ 81.998] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 81.998] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 81.998] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 81.998] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 81.998] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
[ 81.999] (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.
[ 81.999] (EE) NVIDIA(0): Failing initialization of X screen
[ 82.000] (EE) Screen(s) found, but none have a usable configuration.
[ 82.000] (EE)
Fatal server error:
[ 82.000] (EE) no screens found(EE)
[ 82.000] (EE)
So... I removed the /etc/modprobe.d/nvidia_drm.conf file, rebooted, and put export WEBKIT_DISABLE_COMPOSITING_MODE=1 in my .profile. good enough, it's working at least. Not going to worry about the modesetting thing. Thanks again :-)
Offline