You are not logged in.

#1 2014-10-07 16:03:35

Learning
Member
Registered: 2014-04-12
Posts: 22

[SOLVED]startx + sound error after using pacmatic without care

Hey guys,

so i kinda lost my head, tired at early morning hours and thought it was a good idea to just run pacmatic to merge in 22 pacnew
files. and it did not go well after that. shadow, groups, passwd got moved to(as).old.

Solved that by moving the old ones back. (done).

At the time i thought that was only thing failing for me but HEY nope smile
Now startx returns with:
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error.

then i found out that it works to start my wm with xinit-> but that way might start the wm but it wont load, sound,
My guess is other things as well but I've only noticed the sound not working.

checked the xorg.conf it is not broken. checked the error logs does not show any problems & pacmatic should have generated a log with the merges.
However it did not so can not even really know for sure what merges was made.

checked via awk/grep the files to find out the ones that where changed in the time frame too trace that way and it did not return any information.
As too why my startx wont work and sound stopped working.

pacman -Q linux : linux 3.17-1
uname -r : 3.17.0-1-ARCH

Xorg.0.log:
http://sprunge.us/WON

xorg.0.log.old:
http://sprunge.us/aEU

pacman.log:
http://sprunge.us/YWa

so i now know what was merged::
/mnt/etc/profile.pacnew
/etc/ppp/ip-down.d/00-dns.sh.pacnew
/etc/ppp/ip-up.d/00-dns.sh.pacnew
/usr/share/config/kdm/kdmrc.pacnew
/etc/pacman.d/mirrorlist.pacnew
/boot/syslinux/syslinux.cfg.pacnew
/etc/X11/twm/system.twmrc.pacnew
/etc/ssh/sshd_config.pacnew
/etc/mkinitcpio.conf.pacnew
/etc/locale.gen.pacnew
/etc/passwd.pacnew
/etc/group.pacnew
/etc/shadow.pacnew
/etc/gshadow.pacnew
/etc/conf.d/fluidsynth.pacnew
/etc/locale.gen.pacnew
/etc/sudoers.pacnew
/etc/vnstat.conf.pacnew

but don't see them making startx stop working and sound.


Any ideas are welcome.
Many thanks in advance.

Last edited by Learning (2014-10-09 11:11:11)

Offline

#2 2014-10-07 17:59:12

Learning
Member
Registered: 2014-04-12
Posts: 22

Re: [SOLVED]startx + sound error after using pacmatic without care

pacman -Qii | awk '/^MODIFIED/ {print $2}'
got me the list of MODIFIED config

/etc/fstab
/etc/group
/etc/hosts
/etc/ld.so.conf
/etc/passwd
/etc/resolv.conf
/etc/shells
/etc/issue
/etc/profile.d/jre.sh
/etc/profile.d/jre.csh
/usr/share/config/kdm/kdmrc
/etc/cgconfig.conf
/etc/conf.d/netcfg
/etc/pacman.conf
/etc/pacman.d/mirrorlist
/etc/proxychains.conf
/boot/syslinux/syslinux.cfg
/etc/skel/.xinitrc
/etc/skel/.xsession
/etc/X11/xinit/xserverrc
/etc/X11/xinit/xinitrc

Last edited by Learning (2014-10-07 19:09:31)

Offline

#3 2014-10-07 18:15:16

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]startx + sound error after using pacmatic without care

How did you end up with 22 "pacnew" files?? That's a lot! tongue

Did you read all of the news on www.archlinux.org before updating?

Why do you have an "xorg.conf" file? In most cases they are unnecessary...

Please use the "startx" command and post the output of the X log here. (And please use [ CODE ] tags to make it pretty.) wink

Offline

#4 2014-10-07 19:24:03

Learning
Member
Registered: 2014-04-12
Posts: 22

Re: [SOLVED]startx + sound error after using pacmatic without care

it dawned on me that you hade to do something with them so they where old..

yes i did read all of the news on www.archlinux.org

i use xorg.conf cause thats how i learned how to add more screens etc.

and yes [ CODE ] got it !

[  1270.710] 
X.Org X Server 1.13.4
Release Date: 2013-04-17
[  1270.710] X Protocol Version 11, Revision 0
[  1270.710] Build Operating System: Linux 3.12.6-1-ARCH x86_64 
[  1270.710] Current Operating System: Linux spaceyarchy 3.17.0-1-ARCH #1 SMP PREEMPT Mon Oct 6 17:26:43 CEST 2014 x86_64
[  1270.710] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 ro nomodeset initrd=../initramfs-linux.img
[  1270.710] Build Date: 05 January 2014  01:07:18PM
[  1270.710]  
[  1270.711] Current version of pixman: 0.32.6
[  1270.711]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1270.711] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1270.711] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct  7 20:59:57 2014
[  1270.711] (==) Using config file: "/etc/X11/xorg.conf"
[  1270.711] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1270.712] (==) ServerLayout "aticonfig Layout"
[  1270.712] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[  1270.712] (**) |   |-->Monitor "<default monitor>"
[  1270.712] (**) |   |-->Device "aticonfig-Device[0]-0"
[  1270.712] (==) No monitor specified for screen "aticonfig-Screen[0]-0".
        Using a default monitor configuration.
[  1270.712] (**) Option "Xinerama" "off"
[  1270.712] (==) Automatically adding devices
[  1270.712] (==) Automatically enabling devices
[  1270.712] (==) Automatically adding GPU devices
[  1270.712] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1270.712]    Entry deleted from font path.
[  1270.712] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1270.712]    Entry deleted from font path.
[  1270.712]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1270.712] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1270.712]    Entry deleted from font path.
[  1270.712]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1270.712] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/Type1/
[  1270.712] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1270.712] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1270.712] (II) Loader magic: 0x7f8c20
[  1270.712] (II) Module ABI versions:
[  1270.712]    X.Org ANSI C Emulation: 0.4
[  1270.712]    X.Org Video Driver: 13.1
[  1270.712]    X.Org XInput driver : 18.0
[  1270.712]    X.Org Server Extension : 7.0
[  1270.713] (--) PCI:*(0:1:0:0) 1002:6718:1002:0b00 rev 0, Mem @ 0xd0000000/268435456, 0xfe4e0000/131072, I/O @ 0x0000a000/256, BIOS @ 0x????????/131072
[  1270.713] Initializing built-in extension Generic Event Extension
[  1270.713] Initializing built-in extension SHAPE
[  1270.713] Initializing built-in extension MIT-SHM
[  1270.713] Initializing built-in extension XInputExtension
[  1270.713] Initializing built-in extension XTEST
[  1270.713] Initializing built-in extension BIG-REQUESTS
[  1270.713] Initializing built-in extension SYNC
[  1270.713] Initializing built-in extension XKEYBOARD
[  1270.713] Initializing built-in extension XC-MISC
[  1270.714] Initializing built-in extension SECURITY
[  1270.714] Initializing built-in extension XINERAMA
[  1270.714] Initializing built-in extension XFIXES
[  1270.714] Initializing built-in extension RENDER
[  1270.715] Initializing built-in extension RANDR
[  1270.715] Initializing built-in extension COMPOSITE
[  1270.715] Initializing built-in extension DAMAGE
[  1270.715] Initializing built-in extension MIT-SCREEN-SAVER
[  1270.715] Initializing built-in extension DOUBLE-BUFFER
[  1270.715] Initializing built-in extension RECORD
[  1270.715] Initializing built-in extension DPMS
[  1270.715] Initializing built-in extension X-Resource
[  1270.715] Initializing built-in extension XVideo
[  1270.715] Initializing built-in extension XVideo-MotionCompensation
[  1270.715] Initializing built-in extension XFree86-VidModeExtension
[  1270.715] Initializing built-in extension XFree86-DGA
[  1270.715] Initializing built-in extension XFree86-DRI
[  1270.715] Initializing built-in extension DRI2
[  1270.715] (II) "glx" will be loaded by default.
[  1270.715] (II) LoadModule: "glx"
[  1270.715] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1270.716] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[  1270.716]    compiled for 6.9.0, module version = 1.0.0
[  1270.716] Loading extension GLX
[  1270.716] (II) LoadModule: "fglrx"
[  1270.716] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[  1270.728] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."





my xorg.conf:

Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "ServerFlags"
        Option      "Xinerama" "off"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Monitor"
        Identifier   "0-DFP11"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "TargetRefresh" "60"
        Option      "Position" "0 0"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
        Option      "PreferredMode" "1920x1080"
EndSection

Section "Monitor"
        Identifier   "0-DFP10"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "TargetRefresh" "60"
        Option      "Position" "1920 0"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
        Option      "PreferredMode" "1920x1080"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-1"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Monitor"
        Identifier   "0-DFP1"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "TargetRefresh" "60"
        Option      "Position" "1920 0"
        Option      "Rotate" "normal"
        Option      "Disable" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        Option      "TVOverscan" "off"
        Option      "DesktopSetup" "horizontal"
        Option      "Monitor-DFP1" "0-DFP1"
        Option      "Monitor-DFP11" "0-DFP11"
        Option      "Monitor-DFP10" "0-DFP10"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-1"
        Driver      "fglrx"
        Option      "Monitor-DFP1" "0-DFP1"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Virtual   3840 1920
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-1"
        Device     "aticonfig-Device[0]-1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Offline

#5 2014-10-07 19:35:30

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]startx + sound error after using pacmatic without care

Those kernel and xorg-server version numbers look very old.

What operating system are you running? Is it Arch Linux? If it is, is it up to date?

EDIT: I misread the Linux version number, but the xorg-server still looks old...

EDIT AGAIN: I looked through all of the logs you posted. I'm sorry, I'm not sure what the problem is. sad

Last edited by drcouzelis (2014-10-07 19:50:48)

Offline

#6 2014-10-07 20:04:44

Learning
Member
Registered: 2014-04-12
Posts: 22

Re: [SOLVED]startx + sound error after using pacmatic without care

yeah it's old but strange enough there is no update tried pacman and aur.
but when looking for the package there is an update but yeah hmm

Xorg -version

X.Org X Server 1.13.4
Release Date: 2013-04-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.12.6-1-ARCH x86_64 
Current Operating System: Linux spaceyarchy 3.17.0-1-ARCH #1 SMP PREEMPT Mon Oct 6 17:26:43 CEST 2014 x86_64
Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 ro nomodeset initrd=../initramfs-linux.img
Build Date: 05 January 2014  01:07:18PM

on a side-note about the sound:
Also it does not have a alsa-base.conf in modprobe it's also missing the sound card there where more before.

lspci -nn | grep -i audio
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6900 Series] [1002:aa80]

EDIT:
ALSO

aplay -l | awk -F \: '/,/{print $2}' | awk '{print $1}' | uniq
aplay: device_list:268: no soundcards found...

Last edited by Learning (2014-10-07 20:42:17)

Offline

#7 2014-10-08 19:33:45

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]startx + sound error after using pacmatic without care

Alright, let's see here...

Yeah, your "xorg-server" hasn't been updated since January. (Also, you have something called "xorg-server-xephyr" installed, but I don't know what that's all about...) I think having outdated packages is my biggest concern at the moment, and it should be super simple to fix.

What pacman mirror are you using? Are any packages set to "ignore" and blocked from being installed? Do you have any non-default repositories enabled?

Offline

#8 2014-10-09 11:08:58

Learning
Member
Registered: 2014-04-12
Posts: 22

Re: [SOLVED]startx + sound error after using pacmatic without care

the packages are old cause i have a set to xorg115 in pacman conf for catalyst drivers.
anyhow i solved the problem thanks!

Offline

#9 2014-10-09 11:42:36

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]startx + sound error after using pacmatic without care

Learning wrote:

the packages are old cause i have a set to xorg115 in pacman conf for catalyst drivers.

I see! Sounds like I was way off in the hunt for the bug. tongue

anyhow i solved the problem thanks!

How did you fix it?? Don't leave me hangin'!

Offline

#10 2014-10-09 15:19:15

Learning
Member
Registered: 2014-04-12
Posts: 22

Re: [SOLVED]startx + sound error after using pacmatic without care

So the way to fix it would be to first trace everything that has to do with sound and also find some way to check out a working machine to see what is missing.
so as at least i talked about in irc was that the alsamixer was still linked to pulseaudio even after removing it and and trying to change that made alsamixer not even start.
cause it was still linked then checking other places like vlc etc shows it was linked to dummy sound etc also the linking to list of cards where found when doing like aplay -l
But not in the list of alsamixer or any where else in a sense none of them where getting the cards and setting them so i removed everything that had with pulseaudio to revert back to
full alsa default state. still no dice. then i was looking for how they where set the cards does the config handle it etc. and with some modifications to the configs in short changing any config
that had links to pulse to alsa and such.. that made it work..

so in short: just follow the lines everywhere and look under every rock and try to find a working example to work out of..

Hope that answers it.

Thanks,
-Learning.

Offline

Board footer

Powered by FluxBB