You are not logged in.

#1 2020-06-14 00:23:11

nemya9066
Member
Registered: 2020-06-13
Posts: 9

startx hangs after removing pulseaudio

Hi everyone after removing the pulseaudio,pulseaudio-also package from my system and rebooting I can no longer start my X session it just hangs.
my xinitrc:
setxkbmap dvorak
setxkbmap -option caps:swapescape
xset r rate 300 50
exec i3

my Xorg.log:

[   209.160] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   209.160] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[   209.161] Build Operating System: Linux Arch Linux
[   209.162] Current Operating System: Linux host 5.7.2-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 10 Jun 2020 20:36:27 +0000 x86_64
[   209.162] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-zen root=UUID=31d7f213-6f15-4103-88c1-1c6e1c359a15 rw loglevel=3 quiet
[   209.163] Build Date: 05 May 2020  05:08:17AM
[   209.164]  
[   209.165] Current version of pixman: 0.40.0
[   209.166] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   209.166] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   209.173] (==) Log file: "/home/nemya/.local/share/xorg/Xorg.0.log", Time: Sun Jun 14 00:45:00 2020
[   209.182] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   209.192] (==) No Layout section.  Using the first Screen section.
[   209.192] (==) No screen section available. Using defaults.
[   209.192] (**) |-->Screen "Default Screen Section" (0)
[   209.192] (**) |   |-->Monitor "<default monitor>"
[   209.192] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   209.192] (==) Automatically adding devices
[   209.192] (==) Automatically enabling devices
[   209.192] (==) Automatically adding GPU devices
[   209.192] (==) Automatically binding GPU devices
[   209.192] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   209.212] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   209.212] 	Entry deleted from font path.
[   209.219] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   209.219] 	Entry deleted from font path.
[   209.219] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   209.219] 	Entry deleted from font path.
[   209.219] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   209.219] 	Entry deleted from font path.
[   209.219] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   209.219] 	Entry deleted from font path.
[   209.219] (==) FontPath set to:
	/usr/share/fonts/TTF
[   209.219] (==) ModulePath set to "/usr/lib/xorg/modules"
[   209.219] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   209.219] (II) Module ABI versions:
[   209.219] 	X.Org ANSI C Emulation: 0.4
[   209.219] 	X.Org Video Driver: 24.1
[   209.219] 	X.Org XInput driver : 24.1
[   209.219] 	X.Org Server Extension : 10.0
[   209.220] (++) using VT number 1

[   209.223] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   209.225] (II) xfree86: Adding drm device (/dev/dri/card0)
[   209.226] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   209.229] (--) PCI:*(0@0:2:0) 8086:0166:144d:c708 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[   209.229] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   209.229] (II) LoadModule: "glx"
[   209.230] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   209.278] (II) Module glx: vendor="X.Org Foundation"
[   209.278] 	compiled for 1.20.8, module version = 1.0.0
[   209.278] 	ABI class: X.Org Server Extension, version 10.0
[   209.278] (==) Matched intel as autoconfigured driver 0
[   209.278] (==) Matched modesetting as autoconfigured driver 1
[   209.278] (==) Matched fbdev as autoconfigured driver 2
[   209.278] (==) Matched vesa as autoconfigured driver 3
[   209.278] (==) Assigned the driver to the xf86ConfigLayout
[   209.278] (II) LoadModule: "intel"
[   209.278] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   209.313] (II) Module intel: vendor="X.Org Foundation"
[   209.313] 	compiled for 1.20.8, module version = 2.99.917
[   209.313] 	Module class: X.Org Video Driver
[   209.313] 	ABI class: X.Org Video Driver, version 24.1
[   209.313] (II) LoadModule: "modesetting"
[   209.313] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   209.332] (II) Module modesetting: vendor="X.Org Foundation"
[   209.332] 	compiled for 1.20.8, module version = 1.20.8
[   209.332] 	Module class: X.Org Video Driver
[   209.332] 	ABI class: X.Org Video Driver, version 24.1
[   209.332] (II) LoadModule: "fbdev"
[   209.332] (WW) Warning, couldn't open module fbdev
[   209.332] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   209.332] (II) LoadModule: "vesa"
[   209.333] (WW) Warning, couldn't open module vesa
[   209.333] (EE) Failed to load module "vesa" (module does not exist, 0)
[   209.333] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   209.333] (II) intel: Driver for Intel(R) HD Graphics
[   209.333] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   209.333] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   209.333] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   215.676] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   215.698] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20200313
[   215.698] (II) intel(0): SNA compiled from 2.99.917-908-g7181c5a4
[   215.712] (WW) Falling back to old probe method for modesetting
[   215.712] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   215.724] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[   215.724] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx; using a maximum of 2 threads
[   215.724] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   215.724] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   215.724] (==) intel(0): RGB weight 888
[   215.724] (==) intel(0): Default visual is TrueColor
[   215.935] (II) intel(0): Output LVDS1 has no monitor section
[   215.936] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output LVDS1
[   215.936] (II) intel(0): Enabled output LVDS1
[   215.936] (II) intel(0): Output VGA1 has no monitor section
[   215.936] (II) intel(0): Enabled output VGA1
[   215.937] (II) intel(0): Output HDMI1 has no monitor section
[   215.937] (II) intel(0): Enabled output HDMI1
[   215.937] (II) intel(0): Output DP1 has no monitor section
[   215.937] (II) intel(0): Enabled output DP1
[   215.937] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[   215.938] (II) intel(0): Output VIRTUAL1 has no monitor section
[   215.938] (II) intel(0): Enabled output VIRTUAL1
[   215.938] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 0
[   215.938] (==) intel(0): TearFree disabled
[   215.938] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[   215.938] (==) intel(0): DPI set to (96, 96)
[   215.938] (II) Loading sub module "dri3"
[   215.938] (II) LoadModule: "dri3"
[   215.938] (II) Module "dri3" already built-in
[   215.938] (II) Loading sub module "dri2"
[   215.938] (II) LoadModule: "dri2"
[   215.938] (II) Module "dri2" already built-in
[   215.938] (II) Loading sub module "present"
[   215.938] (II) LoadModule: "present"
[   215.938] (II) Module "present" already built-in
[   215.938] (II) UnloadModule: "modesetting"
[   215.938] (II) Unloading modesetting

I tried reinstalling xorg-server and xorg-xinit but the problem is still there I also don't have anything special in my Xorg config just the default.
I also reinstalled pulseaudio to see if it would fix things but it didn't.
Can someone please help me figure what exactly is going on I don't wanna go through the pain of reinstalling again...

Last edited by nemya9066 (2020-06-14 01:00:57)

Offline

#2 2020-06-14 00:38:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: startx hangs after removing pulseaudio

For a start, your xinitrc is incomplete. Read the xinit page on the wiki and fix that.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-06-14 00:59:39

nemya9066
Member
Registered: 2020-06-13
Posts: 9

Re: startx hangs after removing pulseaudio

I changed my xinitrc but nothing startx just freezes

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec i3

I don't think the issue is my xinitrc though the one I posted above was running just fine than 2 hours ago I removed pulseaudio I'm new to arch and already had this exact problem once before so I rebooted to see if my system is still okay and now startx freezes again...
I than reinstalled pulseaudio but it didn't fix anything

Offline

#4 2020-06-14 01:03:47

loqs
Member
Registered: 2014-03-06
Posts: 19,062

Re: startx hangs after removing pulseaudio

What if you exec xterm instead of i3?  (Assumes the xterm package is installed.)

Offline

#5 2020-06-14 01:20:52

nemya9066
Member
Registered: 2020-06-13
Posts: 9

Re: startx hangs after removing pulseaudio

Same problem I think I will just reinstall again.
I just wanted to understand what went wrong why is it so easy for X to break in arch

Offline

#6 2020-06-14 02:34:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: startx hangs after removing pulseaudio

nemya9066 wrote:

I just wanted to understand what went wrong why is it so easy for X to break in arch

It's not. Paste yoyur full pacman.log


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2020-06-14 06:19:12

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

Re: startx hangs after removing pulseaudio

after removing the pulseaudio,pulseaudio-also package from my system and rebooting I can no longer start my X session

I also reinstalled pulseaudio to see if it would fix things but it didn't.

I'm gonna say you did more than just removing PA - suspiciously, your kernel was updated during the last 3 days…
Next to #6, elaborate on the nature of the "freeze", see https://bbs.archlinux.org/viewtopic.php … 5#p1909935 and I'd also try to drop xf86-video-intel.

Offline

Board footer

Powered by FluxBB