The officially official Devuan Forum!

You are not logged in.

#1 2023-09-21 13:35:54

mr12345
Member
Registered: 2023-01-09
Posts: 10  

[SOLVED] Graphics does not come up after Ceres update/upgrade.

After todays update/upgrade of my Ceres setup the gui login page (SLiM) does not come up.Just the recovery console.
The upgrade list was huge... I did not save it, sorry. I do remember there were some Mesa upgrades.

After login to my user account and "X' command:

[   244.951] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   244.951] (II) FBDEV: driver for framebuffer: fbdev
[   244.951] (II) VESA: driver for VESA chipsets: vesa
[   244.951] (EE) 
Fatal server error:
[   244.953] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
[   244.953] (EE) 
[   244.954] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   244.956] (EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.0.log" for additional information.
[   244.956] (EE) 
[   244.957] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[   244.957] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[   244.957] (EE) Server terminated with error (1). Closing log file.

Under root:

[    43.730] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    43.730] (II) FBDEV: driver for framebuffer: fbdev
[    43.730] (II) VESA: driver for VESA chipsets: vesa
[    43.740] (WW) Falling back to old probe method for modesetting
[    43.741] (WW) Falling back to old probe method for fbdev
[    43.741] (II) Loading sub module "fbdevhw"
[    43.741] (II) LoadModule: "fbdevhw"
[    43.741] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    43.741] (II) Module fbdevhw: vendor="X.Org Foundation"
[    43.741] 	compiled for 1.21.1.8, module version = 0.0.2
[    43.741] 	ABI class: X.Org Video Driver, version 25.2
[    43.741] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    43.741] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    43.741] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    43.741] (==) AMDGPU(0): Default visual is TrueColor
[    43.741] (II) Applying OutputClass "AMDgpu" options to /dev/dri/card0
[    43.741] (==) AMDGPU(0): RGB weight 888
[    43.741] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    43.741] (--) AMDGPU(0): Chipset: "AMD Radeon RX 6700 XT" (ChipID = 0x73df)
[    43.741] (II) Loading sub module "fb"
[    43.741] (II) LoadModule: "fb"
[    43.742] (II) Module "fb" already built-in
[    43.742] (II) Loading sub module "dri2"
[    43.742] (II) LoadModule: "dri2"
[    43.742] (II) Module "dri2" already built-in
[    43.800] (II) Loading sub module "glamoregl"
[    43.800] (II) LoadModule: "glamoregl"
[    43.800] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    43.806] (II) Module glamoregl: vendor="X.Org Foundation"
[    43.806] 	compiled for 1.21.1.8, module version = 1.0.1
[    43.806] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    43.813] (EE) 
[    43.813] (EE) Backtrace:
[    43.813] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x14d) [0x55c4625151ed]
[    43.814] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x40) [0x7fdca3e5a510]
[    43.814] (EE) 2: /usr/local/lib/x86_64-linux-gnu/libglapi.so.0 (_glapi_add_dispatch+0x82) [0x7fdca3b152f2]
[    43.815] (EE) 3: /usr/local/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x7a0bb) [0x7fdca153229b]
[    43.815] (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (pthread_mutexattr_settype+0x107) [0x7fdca3eab267]
[    43.815] (EE) 5: /usr/local/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x1e97ca) [0x7fdca16a19aa]
[    43.815] (EE) 6: /usr/local/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xca31c) [0x7fdca15824fc]
[    43.816] (EE) 7: /usr/local/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x64fe) [0x7fdca14be6de]
[    43.816] (EE) 8: /usr/local/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xa02f) [0x7fdca14c220f]
[    43.816] (EE) 9: /usr/local/lib/x86_64-linux-gnu/libEGL.so.1 (dri2_create_context+0x2c4) [0x7fdc9a096c34]
[    43.816] (EE) 10: /usr/local/lib/x86_64-linux-gnu/libEGL.so.1 (eglCreateContext+0xc0) [0x7fdc9a08b6f0]
[    43.816] (EE) 11: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x2a9) [0x7fdca1301679]
[    43.817] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    43.817] (EE) 12: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7fdca39190b9]
[    43.817] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    43.817] (EE) 13: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7fdca390e25a]
[    43.817] (EE) 14: /usr/lib/xorg/Xorg (InitOutput+0x95a) [0x55c4623e38ba]
[    43.817] (EE) 15: /usr/lib/xorg/Xorg (InitFonts+0x1ce) [0x55c4623a3fce]
[    43.818] (EE) 16: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x8a) [0x7fdca3e456ca]
[    43.818] (EE) 17: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7fdca3e45785]
[    43.818] (EE) 18: /usr/lib/xorg/Xorg (_start+0x21) [0x55c46238d1e1]
[    43.818] (EE) 
[    43.818] (EE) Segmentation fault at address 0x0
[    43.818] (EE) 
Fatal server error:
[    43.819] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    43.819] (EE) 
[    43.819] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    43.819] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    43.819] (EE) 
[    43.846] (EE) Server terminated with error (1). Closing log file.

"nomodeset" kind of helps. Slim shows up as usual but I get all windows without window frames (xfwm4 instant crash and core dump) and some other numerous issues...

Any thoughts?

+ Actually I can show the upgrade history if its needed.
+ Adding "mate-desktop-environment" did resolve windows usabilty problem still I have to use "nomodeset".

Last edited by mr12345 (2023-09-21 17:49:21)


I am just a Linux beginner enthusiast smile

Offline

#2 2023-09-22 15:38:47

mr12345
Member
Registered: 2023-01-09
Posts: 10  

Re: [SOLVED] Graphics does not come up after Ceres update/upgrade.

Switched to excalibur and downgraded Mesa 23.2.0RC3 -> 23.1.7. Bunch of the installed apps were removed along with it. Now it seems to be work fine. I will  be checking the release number of Mesa next time before installing any updates. RCs are not so good I guess.


I am just a Linux beginner enthusiast smile

Offline

#3 2023-09-29 11:40:40

mr12345
Member
Registered: 2023-01-09
Posts: 10  

Re: [SOLVED] Graphics does not come up after Ceres update/upgrade.

Just a little add up.
Today I had tripped just the same way again! 🤡
  I tried to run an old OpenGL i386 game. The console thrown an error like “libgl.so.1 not found”. Not a big deal, I thought (my brain definitely was hanged up at that moment), and thrown back the “sudo apt install libgl1-mesa-dri:i386 libgl1:i386”. After that, the game performed fine, and then I thought about apt's recommendation to reboot… And guess what… 🤦 I literally had upgraded back to broken Mesa 23.2.0RC3-3 which is today on the Excalibur! The 23.1.7 is no longer available…
  Having in mind that the Ceres has got 23.2.0RC4-1 today, I thought it's worth of a try, switched back to it and upgraded. But no luck so far. Still nothing but the recovery console.
What did save the situation? I had built Mesa from the source. Acknowledgments to the great Mesa folks! I am using 23.2.1, and it works like a charm.

Last edited by mr12345 (2023-09-29 11:48:02)


I am just a Linux beginner enthusiast smile

Offline

Board footer