X-Server Crash

Hello, I don’t know if this is the right place to put this but I hope if not you’ll give me an hint about where ask for help.

I used to work with Cinema4D R15 through Wine on my Linux laptop. Everything always worked well as long as I stick to the Driver version 390.

Unfortunately, every time tried to upgrade and switched to a newer version of the driver for Linux (Ubuntu) the whole X server crashes every time I activate the “magnet” tool bringing me back to the login screen.

In order to reproduce the problem you need Wine-Staging and a copy of Cinema4D R15.
Create a cube and make id editable with the “c” key. Then select the points-edit mode and from the mesh menu select “transform tools->Magnet”.
As soon as you select that menu item the whole X-Server crashes… every time with every release above 390.

Here’s the dump of my Xorg.0.log:

I hope you can help me to find a way to fix it.
Thanks in advance.

I suspect you uploaded the wrong file, it shows a crash of the modesetting driver right on Xorg start while the 390 driver was used.
You can attach files directly to your post.
Please run nvidia-bug-report.sh as root after the issue happened and attach the resulting nvidia-bug-report.log.gz file to your post. You will have to rename the file ending to something else since the forum software doesn’t accept .gz files (nifty!).

Hello,
Thanks for the reply, I did exactly as you asked, here’s the report: nvidia-bug-report.log.gz.log (248.1 KB)

(I added the extra “.log” extension in order to make it upload here)

PS: I ran the nvidia-bug-report.sh script soon after the crash that I caused by doing the procedure I described in my previous message.

Thanks in advance for the help.

This rather looks like a bug in the modesetting driver which comes with the Xserver. Please check if upgrading to Xorg 1.20 fixes it:
sudo apt-get install --install-recommends xserver-xorg-hwe-18.04

2 Likes

Oh my god! 😲
I can’t believe it… I was struggling with this issue from months…
…and you solved my problem in the blink of an eye! I should have come here sooner. 😅
Now my Cinema4D Works flawlessly with the last nvidia driver! 🎉

Thank you so much generix!!! 🙏

PS: just out of curiosity, is it too complicate to explain how did you figure it out?

The backtrace in the xorg log had the modesetting_drv as last module mentioned before the crash.

1 Like

Yes I noticed it,
though, as much as I searched on google, I did not find any hint that pointed me to the xserver-xorg-hwe.

Thanks again, you made my day. 😊

Doing a quick google search showed me a TMI problem. The relevant info being hard to find though quite simple. The modesetting driver is provided with the xorg server so having problems with it often requires updating the xorg-server package.

1 Like

Oh, I see!
I didn’t know it, I thought it was part of the nvidia driver because it was by changing the driver that I got the problem. 🤔

See you around. 👍

Hello,
I’m here again… same issue… but this time the hwe driver is already installed.
Here’s the dump of the nvidia-report. :(
nvidia-bug-report.log.gz (298.7 KB)

In order to reproduce the problem you need Wine-Staging and a copy of Cinema4D R15.
Create a cube and make id editable with the “c” key. Then select the points-edit mode and from the mesh menu select “transform tools->Magnet”.

Any hint about how can I fix it this time?

Thanks in advance.

Never mind,
I upgraded from release 440 to 450.57 and the issue disappeared. :)

Sorry for bothering.