You are not logged in.
I'm trying to install Arch on a friend's Notebook(Aspire Timeline) which uses a ATI Mobility Radeon HD 5650 graphic chip. According to what I found on the net this isn't an easy card with Linux but it should work somehow. Ubuntu got it to work somehow but then after the installation did randomly strange things thats why I now try Arch on his Laptop too(under Arch it either works or it doesn't).
I needed to disable KMS via modeset=0 in the bootline because otherwise I get a black screen when booting. I tried the xf86-video-ati driver but it apparently failed to work correctly as it only showed a blank screen with some strange points on it, with or without an xorg.conf generated by Xorg -configure.
So I went for the Catalyst driver but same here. What I do get though is the error log
(WW) fglrx: No matching Device section for instance(BusID PCI:0@1:0:1) found
(EE) fglrx(0): GetBIOSParameter failed
(EE) fglrx(0):PreInitAdapter failed
(EE) fglrx(0):PreInit failed
(EE) Screens found, but none have a usable configuration.
Fatal server error:
no screens found
At the moment I don't know which driver is more promising to get the card working and what to do next. Probably some of the more graphically experienced users here can give me a hint what might work?
Offline
Delete any xorg.conf created file and run
aticonfig --initial
and try again.
Offline
I did that with the catalyst driver, that produced the output shown above.
Offline
Got one of those laptops with both an ati and intel chip in them?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Aspire Timeline 4820TG
It uses an Intel Core i5 processor, do you mean the processor with intel chip?
Offline
"The CPUs of the Intel "i" series have control over an integrated graphics chip, named the GMA HD, so the user can choose to switch between the integrated GMA HD graphics and the installed graphics card"
So it seems you've got an integrated Intel graphic chip togheterer with the ATi Mobility
" On default, the ATI HD 5650 is used when you are plugged in.
On default, the Intel GMA HD is used when you are on battery."
Last edited by Mannex (2010-08-26 21:20:39)
Offline
Ok sounds pretty difficult. ATM I'm only plugged in and it doesn't work^^.
Any good solution for that under Linux?
Offline
Good luck with a hybrid solution. The catalyst driver seems to only work if the integrated, e.g. Intel, chip is disabled in the BIOS. If your laptop has that BIOS option, you should be good to go. Unfortunately, mine does not, so I'm stuck using the Intel chip and disabling the ATI card using vga_switcheroo in the kernel.
See also: http://linux-hybrid-graphics.blogspot.com/ and http://asusm51ta-with-linux.blogspot.com/
Offline
Mhh ok disableling the the ATI sounds like the best option to me since the Laptop is also used under Windows so I don't want to disable a card in the BIOS.
Does the vga_switcheroo option require me to manually compile the kernel or is this included in a kernel? Any good info on that?
edit:I got X working by chosing dGPU instead of Hybrid in the BIOS. I would prefer a different solution though because its dual boot with Windows where the hybrid setting may be good.
Last edited by Isildur (2010-08-27 10:55:28)
Offline
Does the vga_switcheroo option require me to manually compile the kernel or is this included in a kernel? Any good info on that?
It's already in the kernel. Here's how I got it working:
add
debugfs /sys/kernel/debug debugfs defaults 0 0
to /etc/fstab (this makes the appropriate vgaswitcheroo directory appear)
Then I have a script in my ~/.kde4/Autostart directory called ati-off.sh:
#!/bin/bash
sudo modprobe radeon
sudo sh -c "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch"
And a script ati-on.sh in my ~/.kde4/shutdown directory:
#!/bin/bash
sudo sh -c "echo ON > /sys/kernel/debug/vgaswitcheroo/switch"
sudo rmmod radeon
I originally just had the radeon driver in my modules array and added the echo OFF ... command to /etc/rc.local, but it sometimes caused problems on boot and shutdown, so I did it this way and everything seems to be working fine.
Offline
Good luck with a hybrid solution. The catalyst driver seems to only work if the integrated, e.g. Intel, chip is disabled in the BIOS. If your laptop has that BIOS option, you should be good to go. Unfortunately, mine does not, so I'm stuck using the Intel chip and disabling the ATI card using vga_switcheroo in the kernel.
See also: http://linux-hybrid-graphics.blogspot.com/ and http://asusm51ta-with-linux.blogspot.com/
Wow! I'm not sure to understand you well. Do you think it is possible to have i5 graphic chip working even if the bios doesn't support it ? It possible with linux kernel ? So, I have a ATI hd4670 and a i5-520m with a PM55 motherboard which has not mobile i5 graphic support (yet). Is it possible to get it work ?
Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900
Offline
Wow! I'm not sure to understand you well. Do you think it is possible to have i5 graphic chip working even if the bios doesn't support it ? It possible with linux kernel ? So, I have a ATI hd4670 and a i5-520m with a PM55 motherboard which has not mobile i5 graphic support (yet). Is it possible to get it work ?
The i5 chip works fine. So does the ATI, as long as you use the radeon driver (which doesn't yet have great support for the hd5xxx series that I have, but may for the hd4xxxx). The problem is when you try to use the ATI Catalyst driver with hybrid graphics. If your BIOS does not have an option to disable the Intel graphics, the Catalyst driver won't load, and even leaves a friendly message in the X log saying that you need to disable the onboard chip.
Offline
I understand that but you don't answer my question: is it possible, with my config, to run with intel chip ?
Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900
Offline
Yes, the Intel chip is always enabled, as far as I know. The difficulty is trying to use both the Intel and the ATI. I'm using only the Intel chip on my i5.
Offline
Isildur wrote:Does the vga_switcheroo option require me to manually compile the kernel or is this included in a kernel? Any good info on that?
It's already in the kernel. Here's how I got it working:
add
debugfs /sys/kernel/debug debugfs defaults 0 0
to /etc/fstab (this makes the appropriate vgaswitcheroo directory appear)
Then I have a script in my ~/.kde4/Autostart directory called ati-off.sh:
#!/bin/bash sudo modprobe radeon sudo sh -c "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch"
And a script ati-on.sh in my ~/.kde4/shutdown directory:
#!/bin/bash sudo sh -c "echo ON > /sys/kernel/debug/vgaswitcheroo/switch" sudo rmmod radeon
I originally just had the radeon driver in my modules array and added the echo OFF ... command to /etc/rc.local, but it sometimes caused problems on boot and shutdown, so I did it this way and everything seems to be working fine.
Thanks for your solution. You added the commands to your sudoers list to run them without password?
Now I only need to find a way to run a script on shutdown with Gnome.
Offline
Yes, the Intel chip is always enabled, as far as I know. The difficulty is trying to use both the Intel and the ATI. I'm using only the Intel chip on my i5.
wow great news ! Can you tell me where to find a way to activate it ?
Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900
Offline
I have 2 questions:
[gillian@myhost ~]$ sudo mount -t debugfs none /sys/kernel/debug
[gillian@myhost ~]$ cd /sys/kernel/debug/vgaswitcheroo
bash: cd: /sys/kernel/debug/vgaswitcheroo: Aucun fichier ou dossier de ce type
[gillian@myhost ~]$ cd /sys/kernel/debug/
bdi/ bluetooth/ dri/ hid/ ieee80211/ mce/ mmc0/ tracing/ usb/ x86/
You sure it is enabled by default in the kernel ?? I have 2.6.35 from extra
And what am I supposed to do with this :
[gillian@myhost ~]$ sudo pacman -S xf86-video-intel
Résolution des dépendances...
Recherche des conflits possibles entre paquets...
:: libgl et catalyst sont en conflit. Supprimer catalyst ? [o/N]
Erreur: un conflit de paquets impossible à résoudre a été détecté
Erreur: la préparation de la transaction a échoué (conflit de dépendances)
:: libgl et catalyst sont en conflit
How can I have catalyst and intel video driver installed ??
Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900
Offline
I have 2 questions:
[gillian@myhost ~]$ sudo mount -t debugfs none /sys/kernel/debug
[gillian@myhost ~]$ cd /sys/kernel/debug/vgaswitcheroo
bash: cd: /sys/kernel/debug/vgaswitcheroo: Aucun fichier ou dossier de ce type
[gillian@myhost ~]$ cd /sys/kernel/debug/
bdi/ bluetooth/ dri/ hid/ ieee80211/ mce/ mmc0/ tracing/ usb/ x86/You sure it is enabled by default in the kernel ?? I have 2.6.35 from extra
Yes, but AFAIK you have to have the radeon module loaded for the vgaswitcheroo directory to appear. That's why I have the modprobe in my ati-off script.
And what am I supposed to do with this :
[gillian@myhost ~]$ sudo pacman -S xf86-video-intel
Résolution des dépendances...
Recherche des conflits possibles entre paquets...
:: libgl et catalyst sont en conflit. Supprimer catalyst ? [o/N]
Erreur: un conflit de paquets impossible à résoudre a été détecté
Erreur: la préparation de la transaction a échoué (conflit de dépendances)
:: libgl et catalyst sont en conflitHow can I have catalyst and intel video driver installed ??
catalyst provides libgl, so what I did is install xf86-video-intel first, then
pacman -Rd libgl
pacman -S catalyst
Offline
ok. But I have to use radeon driver in every case because of vgaswitheroo ?
Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900
Offline
[gillian@myhost ~]$ sudo modprobe radeon
[gillian@myhost ~]$ sudo mount -t debugfs none /sys/kernel/debug
[gillian@myhost ~]$ cd /sys/kernel/debug/
bdi/ bluetooth/ dri/ hid/ ieee80211/ mce/ mmc0/ tracing/ usb/ x86/
no vgaswitcheroo. . . help ^^
Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900
Offline
Not sure why that is happening. Like I mentioned before, I get the vgaswitcheroo directory as soon as I load the radeon module. I don't know what else affects it.
Offline
an dyou sure it is loaded in kernel26 from extra repo ?
Is there a way to be sure of this ?
thank you for your help
Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900
Offline
kernel26 from core is what I have installed, so it's definitely there. The only thing that I can think is to try and mount the debugfs *before* loading the radeon module. Maybe the order has some effect.
Last edited by grassmonk (2010-08-30 19:48:40)
Offline
doesn't work. But, to be sure, I just have catalyst and intel driver installed. Don't I have to install something more in order to modprobe radeon ?
Dell Studio XPS 1647 | i5-560m | 4go ddr3 | ATI radeon mobility 4670HD 1go gddr3 | Seagate Momentus 7200.4 G-force | wled 1600x900
Offline
I think radeon is included in the kernel. I just have xf86-video-intel installed.
Offline