Openb3d Segmentation fault, core dumped

Started by William, May 26, 2023, 19:25:37

Previous topic - Next topic

William

so, x.org x server nouveau display driver does have 3d acceleration.. but on openb3d blitz it causes a segmentation fault and i do not know why. switching to nvidia driver now.. im not sure if it is a error on my OS as i have been having unexplainable fatal errors on ubuntu 22.04.2.. i believe those were related to stealing space from windows partition as they would happen after logging into windows.

I've had this problem in the past where switching to the official linux nvidia driver seemed to resolve this segmentation fault but i would like to use the open source x.org server display driver.

Quick edit: after looking at the x.org site maybe i dont know what their display driver is,  the site says it is an x window system
im still interested in oldschool app/gamedev

markcwm

#1
Hi William,

you could try installing official Minib3d for comparison and run a simple example (but not maxgui) to check if the segfault happens with that.

Another thing to try is just run a Max2d sample, firepaint is what I always use. If it segfaults with that then either your gfx driver isn't working or you may be missing a Blitzmax dependency library.

William

#2
Quote from: markcwm on May 27, 2023, 22:15:22Hi William,

you could try installing official Minib3d for comparison and run a simple example (but not maxgui) to check if the segfault happens with that.

Another thing to try is just run a Max2d sample, firepaint is what I always use. If it segfaults with that then either your gfx driver isn't working or you may be missing a Blitzmax dependency library.
Hi mark. So X.org Nouveau doesnt have 3d acceleration and i dont think it can play video games/doesnt utilize the card for 3d.

sorry about the fuss. on ubuntu 18 i can run the latest proprietary nvidia driver and it runs perfectly.
im still interested in oldschool app/gamedev

angros47

I am using nouveau on Ubuntu 22, and I have had no problem, actually.

William

#4
Quote from: angros47 on May 30, 2023, 04:36:17I am using nouveau on Ubuntu 22, and I have had no problem, actually.
but wben did your hardware come out? its a new laptop model i think at least the gpu is.
im still interested in oldschool app/gamedev

markcwm

Hi William,

yes Nouveau is the default graphics driver in Ubuntu 22 and doesn't support hardware acceleration but it still works in what I think is called software acceleration mode. I used this mode for years in earlier Ubuntu and it was a bit slow but not too bad. 

What you want to do is follow a guide to install the proper graphics driver either by Terminal or there is a GUI option, I recommend the Terminal. In the first guide note the first step, to make sure there are no drivers already installed.
https://www.linuxcapable.com/install-nvidia-drivers-on-ubuntu-linux/
Also see: https://linuxhint.com/install-nvidia-drivers-on-ubuntu/

William

#6
Quote from: markcwm on May 31, 2023, 20:04:39Hi William,

yes Nouveau is the default graphics driver in Ubuntu 22 and doesn't support hardware acceleration but it still works in what I think is called software acceleration mode. I used this mode for years in earlier Ubuntu and it was a bit slow but not too bad.

What you want to do is follow a guide to install the proper graphics driver either by Terminal or there is a GUI option, I recommend the Terminal. In the first guide note the first step, to make sure there are no drivers already installed.
https://www.linuxcapable.com/install-nvidia-drivers-on-ubuntu-linux/
Also see: https://linuxhint.com/install-nvidia-drivers-on-ubuntu/
so my GPU was released last year, nouveau i suppose isnt up to date? anyhow the proprietary driver were developed for Ubuntu 18 so maybe in a new release? i am not sure why it works flawlessly on 18 and not 22 i assume thats on ubuntus end but over there they blame proprietary software. i do not blame Ubuntu  gotta move things forward, i am really fond that i may use nvidia with ubuntu.
im still interested in oldschool app/gamedev

angros47

My hardware is from 2010, so not recent 

markcwm

Perhaps William's laptop is so recent that Linux hasn't put out a good graphics driver for it yet.

angros47

Quote from: William on May 26, 2023, 19:25:37I've had this problem in the past where switching to the official linux nvidia driver seemed to resolve this segmentation fault but i would like to use the open source x.org server display driver.
If the only reason you have to use Nouveau is that it's open source, I just want to remind you that NVIDIA drivers are open source, too, nowadays:

https://developer.nvidia.com/blog/nvidia-releases-open-source-gpu-kernel-modules/
https://github.com/NVIDIA/open-gpu-kernel-modules