You are not logged in.

#1 2024-08-20 20:51:06

hene
Member
Registered: 2024-08-20
Posts: 4

StartX results in black screen with a cursor

Hi!

So I just installed arch for the first time and I was installing some sort of desktop environment. I tried LXDE and my original goal was i3. Looking at the logs for the i3 I saw that it recognized my mod key presses and it started the setup wizard based on ps aux output.

So to the problem: I only see a black screen with a cursor. Based on googling it is most likely an issue with graphics drivers. I'm using mesa-amber due to the little older hardware I'm playing with.

What logs should I provide and how should I start to approach the issue?

I copied the default xinitrc and changed the last exec line to exec i3 and later to exec startlxde after those I always just ran the startx command.

Offline

#2 2024-08-20 21:16:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,826

Re: StartX results in black screen with a cursor

That's pretty much what an unconfigured i3 wll look like.
Do you have xterm installed?

Online

#3 2024-08-20 21:32:33

hene
Member
Registered: 2024-08-20
Posts: 4

Re: StartX results in black screen with a cursor

I didn't but I installed it and no help. I have used i3 before and if I remember correct alt + enter should bring up terminal. But nothing happens.

This is the log from last attempt: http://0x0.st/XJIL.bin

Edit: I tried with the totally stock xinitrc which launches xterm if I'm correct? If I type exit and press enter the X session ends. So it seems like the xterm starts. It's just that the screen is black... well except the cursor.

Last edited by hene (2024-08-20 21:40:18)

Offline

#4 2024-08-20 21:39:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,826

Re: StartX results in black screen with a cursor

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General and your current xinitrc
Do you have any fonts installed? In doubt try https://archlinux.org/packages/extra/any/ttf-dejavu/

Online

#5 2024-08-20 21:46:11

hene
Member
Registered: 2024-08-20
Posts: 4

Re: StartX results in black screen with a cursor

Xinitrc: https://0x0.st/XJI4.sh
Xorg log: https://0x0.st/XJIy.txt

I also tried with the totally stock xinitrc which launches xterm if I'm correct? If I type exit and press enter the X session ends. So it seems like the xterm starts. It's just that the screen is black... well except the cursor.

Offline

#6 2024-08-20 21:56:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,826

Re: StartX results in black screen with a cursor

[   976.052] (EE) glamor0: GL error: GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_R8)
[   976.052] (EE) 
[   976.052] (EE) Backtrace:
[   976.054] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   976.054] (EE) 0: /usr/lib/xorg/modules/libglamoregl.so (?+0x0) [0xa7624554]
[   976.054] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   976.054] (EE) 1: /usr/lib/dri/i915_dri.so (?+0x0) [0xa6617cc6]
[   976.055] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   976.055] (EE) 2: /usr/lib/dri/i915_dri.so (?+0x0) [0xa666c5dc]
[   976.056] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   976.056] (EE) 3: /usr/lib/dri/i915_dri.so (?+0x0) [0xa6730e8d]
[   976.056] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   976.056] (EE) 4: /usr/lib/dri/i915_dri.so (?+0x0) [0xa67343f6]

You're on an Intel Mobile 915GM/GMS/910GML … - next to mesa-amber, please install xf86-video-intel, see whether that improves the situation.

Online

#7 2024-08-21 18:16:47

hene
Member
Registered: 2024-08-20
Posts: 4

Re: StartX results in black screen with a cursor

I can't believe I forgot I had to install 2D driver. It clearly lists it in the wiki. I'm dumb.

Thank you so much for help! It now works.

Offline

#8 2024-08-21 21:49:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,826

Re: StartX results in black screen with a cursor

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB