You are not logged in.

#1 2011-09-22 19:09:30

rubdos
Member
Registered: 2011-09-22
Posts: 61

X blacks out... ATI HD3450 with FOSS driver

Hi everyone!

I'm a formal Ubuntu user (was LOTS better that M$ **), I've installed Arch linux now. I'm booting fine (through ubuntu grub2, I'll 'fix' that later on), I love it. It's a clean OS, I'm planning LXDE.
I've two users: myself and root. Installed xorg-server, init etc,

Output of pacman -Qqs xorg at http://paste.pocoo.org/show/480698/
Do I miss something?

Output of Xorg.0.log at http://paste.pocoo.org/show/480702/

If I run startx through my reg. user account, I get a black screen. Just black, no cursor, no terminal, all pixels set to #000000. Though, if I run
# sleep 30 && reboot
# startx
fast enough, the system reboots after 30 seconds. I can't get ctrl_alt_bksp working.

.xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi
exec xterm
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

I can't do Alt-F1/CTRL-ALT-F1 to get back in tty...

Help?

Ruben De Smet

Last edited by rubdos (2011-09-22 19:16:57)

Offline

#2 2011-09-22 19:13:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: X blacks out... ATI HD3450 with FOSS driver

What's in your .xinitrc?
Can you go back to the console (Ctrl+Alt+F1) and quit X from there?

Last edited by karol (2011-09-22 19:14:05)

Offline

#3 2011-09-22 19:15:11

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

Quick reply, nice forum ^^

.xinitrc added to starttopic, copy here:
it's the default skel one, with exec xterm added. It doesn't make any difference.

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi
exec xterm
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

I'm in a chroot on a ubuntu system now, so I can do things while surfing in X tongue

Can't get back in tty with (ctrl-)alt-f1

Last edited by rubdos (2011-09-22 19:17:26)

Offline

#4 2011-09-22 19:27:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: X blacks out... ATI HD3450 with FOSS driver

Are you using early or late start KMS https://wiki.archlinux.org/index.php/Ati#Enabling_KMS ?

About that chroot - I suppose you're using it to get the logs etc. and you did try running X while booting straight to Arch, right?

Offline

#5 2011-09-22 19:30:35

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

karol wrote:

Are you using early or late start KMS https://wiki.archlinux.org/index.php/Ati#Enabling_KMS ?

Eh, none of both. if I boot after
Add radeon to MODULES array in /etc/mkinitcpio.conf. And;
Re-generate your initramfs: # mkinitcpio -p linux
The stuff blocks after starting udevd. Don't know why, any ideas?

karol wrote:

About that chroot - I suppose you're using it to get the logs etc. and you did try running X while booting straight to Arch, right?

Yep, and to install pacmans. I booted straight to Arch to test x.

Offline

#6 2011-09-22 19:47:06

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: X blacks out... ATI HD3450 with FOSS driver

post your xorg log and the output from startx &> foo.log


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2011-09-22 19:53:54

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

xorg log in pastebin (see start post)
I'll boot into arch and run your startx &> log.log ;-)

Offline

#8 2011-09-22 20:12:56

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

Okay, posting from Lynx, the startx output:
http://paste.pocoo.org/show/480745/
The X.org log is viewable in first post (should I post updated one?)

Ruben

Last edited by rubdos (2011-09-23 14:10:43)

Offline

#9 2011-09-22 20:14:04

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

Lynx post of startx | wgetpaste:
http//paste.pocoo.org/show/480745/

Yeh, doublepost... Just learning how to use Lynx wink

Last edited by rubdos (2011-09-23 13:58:13)

Offline

#10 2011-09-22 20:26:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: X blacks out... ATI HD3450 with FOSS driver

http://paste.pocoo.org/show/480745
Install net-tools to get hostname.

Why does it say

(II) [KMS] drm report modesetting isn't supported.

is beyond me.

Offline

#11 2011-09-23 13:57:22

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

karol wrote:

http://paste.pocoo.org/show/480745
Install net-tools to get hostname.

Why does it say

(II) [KMS] drm report modesetting isn't supported.

is beyond me.

I'll install net-tools... Is this the reason?

Offline

#12 2011-09-23 14:01:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: X blacks out... ATI HD3450 with FOSS driver

rubdos wrote:

I'll install net-tools... Is this the reason?

No, I can still start X w/o hostname. It prints the error / warning but runs fine.

Have you tried catalyst driver?

Offline

#13 2011-09-23 14:04:02

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

karol wrote:
rubdos wrote:

I'll install net-tools... Is this the reason?

No, I can still start X w/o hostname. It prints the error / warning but runs fine.

Have you tried catalyst driver?

No, should I test it out? I'm new to Arch, I thought of testing AUR out after xorg... So I could do enough research...
But the opensource driver should do it, right?

Offline

#14 2011-09-23 14:09:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: X blacks out... ATI HD3450 with FOSS driver

rubdos wrote:
karol wrote:
rubdos wrote:

I'll install net-tools... Is this the reason?

No, I can still start X w/o hostname. It prints the error / warning but runs fine.

Have you tried catalyst driver?

No, should I test it out? I'm new to Arch, I thought of testing AUR out after xorg... So I could do enough research...
But the opensource driver should do it, right?

It should work, but I'm not an ATI guy and I may simply lack the knowledge to fix it.


BTW, are you sure that the link in https://bbs.archlinux.org/viewtopic.php … 68#p994168 is correct?

Offline

#15 2011-09-23 14:11:59

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

karol wrote:
rubdos wrote:
karol wrote:

No, I can still start X w/o hostname. It prints the error / warning but runs fine.

Have you tried catalyst driver?

No, should I test it out? I'm new to Arch, I thought of testing AUR out after xorg... So I could do enough research...
But the opensource driver should do it, right?

It should work, but I'm not an ATI guy and I may simply lack the knowledge to fix it.

Mmm, are there ATI people in here?

karol wrote:

BTW, are you sure that the link in https://bbs.archlinux.org/viewtopic.php … 68#p994168 is correct?

No :-) I typed it over by hand, switching 4 and 5... fixed

Offline

#16 2011-09-23 14:17:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: X blacks out... ATI HD3450 with FOSS driver

Check e.g. https://bbs.archlinux.org/viewtopic.php?id=57084 or wait until somebody comes here.
Post the output of 'lspci | grep -i vga'
Have you run 'aticonfig'?
It seems things went from bad to worse when you tried to setup KMS, can you post the files you edited?


Edit: Have you tried https://wiki.archlinux.org/index.php/Fg … _or_startx ?

Last edited by karol (2011-09-23 14:18:52)

Offline

#17 2011-09-23 14:24:54

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

karol wrote:

Post the output of 'lspci | grep -i vga'

# lspci | grep -i vga
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200 Graphics
02:00.0 VGA compatible controller: ATI Technologies Inc RV620 LE [Radeon HD 3450]

Have you run 'aticonfig'?

no, I'll have a look

bash: aticonfig: command not found

aticonfig is for prop. drivers

It seems things went from bad to worse when you tried to setup KMS, can you post the files you edited?

I edited modprobe, but I reset it when the system failed to start. Didn't change anything else after the reïnstallation (I first installed Arch, messed it up with KMS and reïnstalled)

it's for fglrx, the commercial/prop. driver. Didn't try that yet...

EDIT: Okay, I threw my pc open to check whether I've pci graphics or AGP graphics. Stupid me. I thought I had PCI!!

For AGP support, it is necessary to add intel_agp (or ali_agp, ati_agp, amd_agp, amd64_agp etc.) before the radeon module.

I hope this will work. I'll report if it does.

EDIT2: How do I know what I need? I've 64bit Arch on a amd motherboard (Phenom X3 cpu). So amd64? How do I install this module (what's the pkg name?)

EDIT3: Mobo manual tells me about 2 pci slots and 2 pci-e... I've to wash my eyes with soap. No AGP on the mobo...

Last edited by rubdos (2011-09-23 15:30:07)

Offline

#18 2011-10-03 15:50:10

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

Okay, still same problem; one light at the end of the tunnel: I reïnstalled my brothers laptop. HP nc6220. I love arch. LXDE, Compiz and Arch. WTF!

I'd really like to use the free driver. Don't like commercial stuff on my pc. (You never know what AMD does to your pc...) I'm currently running Ubuntu 11.04 with proprietary driver installed. The Live cd has no prop software aboard, and it DOES work. So why? Should I search the live cd for a xorg conf file?

Ruben

Offline

#19 2011-10-03 16:05:22

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: X blacks out... ATI HD3450 with FOSS driver

i use ati here, here's my /etc/xorg.conf.d/, Xorg doesn't need a /etc/X11/xorg.conf anymore.

10-monitor.conf (if you're planning to use previously installed xf86-video-radeon, change fglrx to radeon)

Section "Device"
    Identifier     "Device0"
    Driver         "fglrx"
    Screen         0
EndSection

10-keyboard.conf

Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option                 "XkbLayout" "pt"
EndSection

works for me, just disable KMS at bootloader (with fglrx+KMS, i can't get into X, so in kernel arguments, add 'nomodeset'); i don't know about xf86-video-radeon, haven't used it in a while, but i assume that with radeon you need KMS on. if X blacks out again, remove KMS, see how that works out for you.

lspci | grep -e VGA

01:00.0 VGA compatible controller: ATI Technologies Inc Cedar PRO [Radeon HD 5450]

Last edited by s3kt0r (2011-10-03 16:07:29)


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#20 2011-10-03 16:07:25

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

I don't have a xorg conf O.o
I'll look at nomodeset...

Offline

#21 2011-10-03 16:08:54

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: X blacks out... ATI HD3450 with FOSS driver

rubdos wrote:

I don't have a xorg conf O.o
I'll look at nomodeset...

just create /etc/X11/xorg.conf.d/10-monitor.conf like this:

Section "Device"
    Identifier     "Device0"
    Driver         "radeon"
    Screen         0
EndSection

save file, enter X again.


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#22 2011-10-03 16:11:37

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: X blacks out... ATI HD3450 with FOSS driver

I edited modprobe, but I reset it when the system failed to start. Didn't change anything else after the reïnstallation (I first installed Arch, messed it up with KMS and reïnstalled)

did you re-run mkinitcpio -p linux after editing /etc/modprobe.d/modprobe.conf?


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#23 2011-10-03 16:12:08

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

Okay, quick update: Ubuntu actually HAS nomodeset in kernel line. I'll try that in Arch. This is gonna work, I can feel it big_smile
I actually don't want to try creating xorgconf, because X can live without...


s3kt0r wrote:

I edited modprobe, but I reset it when the system failed to start. Didn't change anything else after the reïnstallation (I first installed Arch, messed it up with KMS and reïnstalled)

did you re-run mkinitcpio -p linux after editing /etc/modprobe.d/modprobe.conf?


Always mate!

Last edited by rubdos (2011-10-03 16:12:44)

Offline

#24 2011-10-03 16:14:18

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: X blacks out... ATI HD3450 with FOSS driver

rubdos wrote:

Okay, quick update: Ubuntu actually HAS nomodeset in kernel line. I'll try that in Arch. This is gonna work, I can feel it big_smile
I actually don't want to try creating xorgconf, because X can live without...


s3kt0r wrote:

I edited modprobe, but I reset it when the system failed to start. Didn't change anything else after the reïnstallation (I first installed Arch, messed it up with KMS and reïnstalled)

did you re-run mkinitcpio -p linux after editing /etc/modprobe.d/modprobe.conf?


Always mate!

Good. Try nomodeset then, report back.

edit: oh yeah, i forgot, /etc/modprobe.d/modprobe.conf has to be in /etc/mkinitcpio.conf, so that modules (in this case KMS) get built into initramfs (i think).

Last edited by s3kt0r (2011-10-03 16:22:32)


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#25 2011-10-03 17:00:05

rubdos
Member
Registered: 2011-09-22
Posts: 61

Re: X blacks out... ATI HD3450 with FOSS driver

I don't get the last one?
BTW: When I boot, it didn't find the kernel anymore :s
I'll try something out...

Ruben

Offline

Board footer

Powered by FluxBB