You are not logged in.

#2101 2010-07-09 15:51:14

saif
Member
Registered: 2010-05-21
Posts: 49

Re: The AMD/ATI Bar & Grill

Can someone give me a hand installing catalyst 10.6 on xorg 18 please? I am getting a freezing black screen.

I have followed the arch wiki as it's said. When booting fglrx module is not found. modprobe fglrx doesn't return anything.

Xorg -configure  command is broken since it does not manage fglrx. Using aticonfig --initial instead as usual.

In the troubleshooting section it is said that I should remove the /etc/ati/amdpcsdb but this doesn't help either

here my xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc/"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/OTF/"
    FontPath     "/usr/share/fonts/Type1/"
    FontPath     "/usr/share/fonts/100dpi/"
    FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    Load  "glx"
    Load  "extmod"
    Load  "record"
    Load  "dbe"
    Load  "dri"
    Load  "dri2"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

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

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

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

got a 4780HD. Thanks

Last edited by saif (2010-07-09 15:57:38)

Offline

#2102 2010-07-09 15:54:22

dcc24
Member
Registered: 2009-10-31
Posts: 723

Re: The AMD/ATI Bar & Grill

Did you disable KMS? There are two methods for doing that, see the wiki.


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#2103 2010-07-09 15:58:24

saif
Member
Registered: 2010-05-21
Posts: 49

Re: The AMD/ATI Bar & Grill

dcc24 wrote:

Did you disable KMS? There are two methods for doing that, see the wiki.

Sorry, what is KMS? if you mean the open source drivers. Only Vesa and video-ati work fine for me. and yes, I uninstalled them
Thx in advance

Last edited by saif (2010-07-09 16:01:37)

Offline

#2104 2010-07-09 16:00:21

dcc24
Member
Registered: 2009-10-31
Posts: 723

Re: The AMD/ATI Bar & Grill

KMS stands for "Kernel Mode Setting". Catalsyt is not - yet - compatible with KMS, so you need to disable it. Either add "nomodeset" to your "kernel" line in /boot/grub/menu.lst or add "!radeon" to your MODULES array in /etc/rc.conf

For a detailed explanation see the catalyst article in the wiki.

Last edited by dcc24 (2010-07-09 16:01:08)


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#2105 2010-07-09 16:02:21

saif
Member
Registered: 2010-05-21
Posts: 49

Re: The AMD/ATI Bar & Grill

dcc24 wrote:

KMS stands for "Kernel Mode Setting". Catalsyt is not - yet - compatible with KMS, so you need to disable it. Either add "nomodeset" to your "kernel" line in /boot/grub/menu.lst or add "!radeon" to your MODULES array in /etc/rc.conf

For a detailed explanation see the catalyst article in the wiki.

oohh thank you, I didnt read what was that for, but yes I did add nomodest in my kernel loader

What most concerncs me, I think, it is the fglrx in the loader, which says it is not recognized in the rc.d .. I dont remember that being normal.

My rc config is

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="America/Argentina/Buenos_Aires"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs fglrx crond alsa hal)

and my boot loader is

# (0) Arch Linux
title  Arch Linux
rootnoverify   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3 ro nomodest
initrd /boot/kernel26.img

Last edited by saif (2010-07-09 16:11:22)

Offline

#2106 2010-07-09 16:19:34

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 134
Website

Re: The AMD/ATI Bar & Grill

Hehe you added fglrx in the daemons array  instead of modules wink
That's why it's not loaded during boot. Do the change and reboot.
Also place hal after syslog-ng, not at the end.

Last edited by maevius (2010-07-09 16:23:29)

Offline

#2107 2010-07-09 16:22:03

saif
Member
Registered: 2010-05-21
Posts: 49

Re: The AMD/ATI Bar & Grill

maevius wrote:

Hehe you added fglrx in the daemons array  instead of modules wink
That's why it's not loaded during boot. Do the change and reboot.

lol, thank you! you wont believe me but I noticed that when I paste the rc.conf in the forum. I came here to give the report, and wola, you gave me the response heh.

It is working perfect now, It has been 3 days I was trying to fix this :

If I only asked earlier

Now I am getting those famouse black artifacts in Firefox, but i am thankful this even happens

Thx a lot!

Last edited by saif (2010-07-09 16:25:12)

Offline

#2108 2010-07-09 16:26:54

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 673

Re: The AMD/ATI Bar & Grill

saif wrote:
kernel /boot/vmlinuz26 root=/dev/sda3 ro nomodest
initrd /boot/kernel26.img

Interesting. There's a spell error since you wrote "nomodest" instead of "nomodeset", and you say it works anyway?

Offline

#2109 2010-07-09 16:38:49

saif
Member
Registered: 2010-05-21
Posts: 49

Re: The AMD/ATI Bar & Grill

snack wrote:
saif wrote:
kernel /boot/vmlinuz26 root=/dev/sda3 ro nomodest
initrd /boot/kernel26.img

Interesting. There's a spell error since you wrote "nomodest" instead of "nomodeset", and you say it works anyway?

well it seems its not my day for typos... and yes, it is working fine anyways, didn't even  notice any problem or error in the boot load

Offline

#2110 2010-07-10 15:13:56

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,306
Website

Re: The AMD/ATI Bar & Grill

Catalyst package lots of changes!

Lately i noticed existance of great catalyst package called catalyst-nostock created and maintained by Shen "dickeny" Miren. Shen's idea was to made catalyst package more flexible, more self-sufficient, and more independent from the kernel we are using atm. And he did it very well - he's catalyst can autorecompile whenever you are installing/updating kernel. He reached it with mkinitcpio's hook.
Unfortunately catalyst-nostock wasn't updated for some time. cyberpatrol decided to write email to Shen and ask him whats happening, and Shen replay to him that he orphaned package. So cyberpatrol decided to adopt the package and wrote me a preposition so maybe it could be pulled in into catalyst. After doing some tests and writing some code(that should remove unused fglrx modules) i decided to do it.

Sooo... heres new catalyst package! From now on it will be available on aur only, and after your successful tests (hope you will be so kind to let me know if its [not]working) i will put this into repo.

Actually new catalyst can not only autorecompile fglrx module whenever kernel is updated, but it's very good solution for people who are using more than one kernel. Cuz with it you can simply build fglrx module (and easily have more than just one fglrx module in system) for any kernel, even if you arent using this kernel right now, just with one simple command:

catalyst_build_module kernel_name
ie:
# catalyst_build_module 2.6.34-ARCH

Plus if you will leave it without option:

# catalyst_build_module

it will build fglrx module for kernel you are using now.

Ofcourse last command isn't so necessary cuz fglrx module for kernel you are using at the moment will be builded when you will install catalyst, although it can be useful.

Plus i modified original remove function:

# catalyst_build_module remove

so now it should remove fglrx module from /lib/modules/kernel_name whenever kernel_name looks unused. I did it by checking if directory /lib/modules/kernel_name/kernel still exist. If you know better way how to check that some kernel isnt actually existing - write about it please. (plus catalyst_build_module remove is called automatically by the hook whenever kernel is updated/installed)

Do you like it?  smile

Last edited by Vi0L0 (2010-07-10 15:30:09)

Offline

#2111 2010-07-10 16:21:32

ChemBro
Member
Registered: 2008-10-22
Posts: 679

Re: The AMD/ATI Bar & Grill

Does he use "dkms"? Because it sounds exactly like it. "dkms" (made by Dell) is used in Ubuntu to autorecompile the fglrx module after every kernel update.

Offline

#2112 2010-07-10 16:28:08

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,306
Website

Re: The AMD/ATI Bar & Grill

ChemBro wrote:

Does he use "dkms"? Because it sounds exactly like it. "dkms" (made by Dell) is used in Ubuntu to autorecompile the fglrx module after every kernel update.

Nope, its using mkinitcpio's hook: http://wiki.archlinux.org/index.php/Mkinitcpio#HOOKS

Last edited by Vi0L0 (2010-07-10 16:28:19)

Offline

#2113 2010-07-10 21:17:38

PaulStogov
Member
From: Saint-Petersburg, Russia
Registered: 2009-12-26
Posts: 25

Re: The AMD/ATI Bar & Grill

Hi Vi0L0!

You are awesome supporting catalyst package. Greetings to you.
Now I switched to 2.6.34-BFS kernel and upgrading to "aur/catalyst 10.6.3" package was easy and smooth. But when trying

catalyst_build_module 2.6.34-ARCH

I got:

[paulstogov@sauron ~]$ catalyst_build_module 2.6.34-ARCH
Building fglrx module ...
+ cp /usr/share/ati/build_mod /tmp/catalyst.x28W0v -R
+ cd /tmp/catalyst.x28W0v
+ patch_files
+ file_patch=2.6.34.patch
+ [[ -f 2.6.34.patch ]]
+ patch -Np6 -i 2.6.34.patch
patching file kcl_wait.c
++ pwd
+ make -C /lib/modules/2.6.34-ARCH/build SUBDIRS=/tmp/catalyst.x28W0v ARCH=i386 modules
+ install -m755 -d /lib/modules/2.6.34-ARCH/video/
install: cannot change permissions of `/lib/modules/2.6.34-ARCH/video/': No such file or directory
+ install -m644 fglrx.ko /lib/modules/2.6.34-ARCH/video/
install: target `/lib/modules/2.6.34-ARCH/video/' is not a directory: No such file or directory
+ return 1
+ echo 'Failed!!'
Failed!!
[paulstogov@sauron ~]$ ls /lib/modules/2.6.34-
2.6.34-ARCH/ 2.6.34-bfs/  
[paulstogov@sauron ~]$ ls /lib/modules/2.6.34-ARCH/
build/               modules.ccwmap       modules.order
kernel/              modules.dep          modules.pcimap
misc/                modules.dep.bin      modules.seriomap
modules.alias        modules.ieee1394map  modules.symbols
modules.alias.bin    modules.inputmap     modules.symbols.bin
modules.builtin      modules.isapnpmap    modules.usbmap
modules.builtin.bin  modules.ofmap

Actually I didn't get any deeper, I shall try to figure it out tomorrow. Now this is only some kind of a report about first burned pancake.


Asus N61J/ATi Radeon HD5730
Toshiba A200/ATi Radeon HD2600

Offline

#2114 2010-07-10 21:54:40

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 134
Website

Re: The AMD/ATI Bar & Grill

What bfs stands for? Is it a custom kernel? What if you tried

catalyst_build_module 2.6.34-BFS

???

Offline

#2115 2010-07-10 23:24:01

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,306
Website

Re: The AMD/ATI Bar & Grill

@PaulStogov:
i think it's simply cuz you don't have permission to write to /lib/modules/*
run catalyst_build_module only as a root :-)

Offline

#2116 2010-07-11 14:09:02

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,306
Website

Re: The AMD/ATI Bar & Grill

To all those using catalyst repository:
because of today's downgrade of libva package (in extra repo) i downgraded packages mplayer-vaapi (switching back to mplayer-vaapi-20100602-4) and xvba-video (switching back to xvba-video-0.6.11-1) at catalyst repo.
So please install it with:
# pacman -Sy
# pacman -Suu

OR:
pacman -Sy
pacman -S mplayer-vaapi
pacman -S xvba-video

Offline

#2117 2010-07-13 19:47:27

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,306
Website

Re: The AMD/ATI Bar & Grill

[catalyst] repo update: catalyst 10.6 package was updated, now it has automatic re-compilation of fglrx module whenever kernel is installed/updated functionality and multi-kernel support.
More info about that features can be found  at wiki

Offline

#2118 2010-07-14 00:11:54

gbj13
Member
Registered: 2010-05-06
Posts: 109

Re: The AMD/ATI Bar & Grill

Running in to a bit of a trouble here with the new catalyst 10.6.4.  Using kernel 2.6.34-ARCH and when I rebooted the system I got this message

Could not open '/lib/modules/2.6.34-ARCH/video/fglrx.ko': No such file or directory

When I try to modprobe fglrx I get the same message hmm  Does anyone know how to fix this problem?  Any help would be appreciated.

Offline

#2119 2010-07-14 00:54:57

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,306
Website

Re: The AMD/ATI Bar & Grill

@gbj13:
as root run:
# catalyst_build_module
What's the output if its failed?

Although this shouldn't happened... Is 2.6.34-ARCH the only kernel you are using?
Does anybody else experienced such strange behavior?

Last edited by Vi0L0 (2010-07-14 01:35:14)

Offline

#2120 2010-07-14 06:14:52

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 134
Website

Re: The AMD/ATI Bar & Grill

Feedback time! Here are the steps:
I was with kernel .33, removed catalyst 10.6-1, installed catalyst 10.6-4, installed kernel .34, rebooted and during bootcheck it said fglrx module not found. When I entered into openbox I did a modprobe fglrx but again it said module not found. I ran fglrx_build_module with no errors, then again modprobe fglrx, restarted X and it worked wink

Last edited by maevius (2010-07-14 06:15:19)

Offline

#2121 2010-07-14 09:36:24

Apollo Costa
Member
From: German
Registered: 2010-01-27
Posts: 27

Re: The AMD/ATI Bar & Grill

Hi,

i have installed the last packed of catalyst driver (10.6-4). The rest of the system is up to date..

I have a litte strange Bug:

594ea9be9c1e.jpg


Have someone a solution for this?

Offline

#2122 2010-07-14 09:42:23

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 134
Website

Re: The AMD/ATI Bar & Grill

@ Apollo Costa

From the catalyst.install file:

If experiencing problems with white/gray/black_artifacts you can [as root] kill Xserver and use this command:

# aticonfig --set-pcs-str=DDX,ForceXAA,TRUE

Last edited by maevius (2010-07-14 11:49:28)

Offline

#2123 2010-07-14 10:26:42

gbj13
Member
Registered: 2010-05-06
Posts: 109

Re: The AMD/ATI Bar & Grill

@ViOLO

This is what happens when I try to run the catalyst_build_module as root

Building fglrx module ...
+ cp /usr/share/ati/build_mod /tmp/catalyst.QOZ3Cm -R
+ cd /tmp/catalyst.QOZ3Cm
+ patch_files
+ file_patch=2.6.34.patch
+ [[ -f 2.6.34.patch ]]
+ patch -Np6 -i 2.6.34.patch
/usr/bin/catalyst_build_module: line 10: patch: command not found
+ return 1
++ pwd
+ make -C /lib/modules/2.6.34-ARCH/build SUBDIRS=/tmp/catalyst.QOZ3Cm ARCH=x86_64 modules
+ return 1
+ echo 'Failed!!'
Failed!!

Stupid mistake on my part...did not have patch installed neutral

Offline

#2124 2010-07-14 13:33:45

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,306
Website

Re: The AMD/ATI Bar & Grill

gbj13 wrote:

did not have patch installed neutral

Good point! I just added patch to depends array.

Last edited by Vi0L0 (2010-07-14 13:33:56)

Offline

#2125 2010-07-14 13:34:28

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,306
Website

Re: The AMD/ATI Bar & Grill

maevius wrote:

Feedback time! Here are the steps:
I was with kernel .33, removed catalyst 10.6-1, installed catalyst 10.6-4, installed kernel .34, rebooted and during bootcheck it said fglrx module not found. When I entered into openbox I did a modprobe fglrx but again it said module not found. I ran fglrx_build_module with no errors, then again modprobe fglrx, restarted X and it worked wink

So basically fglrx module was created for 2.6.33-ARCH kernel when installing catalyst 10.6-4.
Then when you were upgrading to kernel 2.6.34-ARCH fglrx hook didn't work because (i believe) package kernel26-headers was installed after kernel26 installation - so there was no /lib/modules/2.6.34-ARCH/build directory and fglrx module couln't been build by fglrx hook.
Important Note:
I guess that this situation could happen more often - so its good to run

# catalyst_build_module new_kernel_version

just after some main (i mean ie. 2.6.33->2.6.34, not 2.6.34.1->2.6.34.2) kernel26 update.

Last edited by Vi0L0 (2010-07-14 14:27:58)

Offline

Board footer

Powered by FluxBB