You are not logged in.

#1 2012-04-05 21:24:05

khuongduybui
Member
Registered: 2012-04-05
Posts: 5

[Solved] Please help with X11 config for dual graphic cards

Hi everyone,

I'm using an HP tm2t, which has an Intel VGA chipset and a dedicated Radeon 4500 graphic card. I read the wiki and tried everything and still couldn't get it working.
If I use Device "Radeon" instead of Device "Intel", the screen will be black when gdm loads. I can still load the console on the screen with Ctrl + Atl + F1.

Here is the output of `lspci | grep VGA`
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV710 [Mobility Radeon HD 4300/4500 Series]

Here is the list of daemons loaded in my /etc/rc.conf
DAEMONS=(hwclock syslog-ng acpid dbus dhcpd net-profiles @crond @alsa @sshd @httpd @mysqld @apache-solr gdm)

Here is my /etc/X11/xorg.conf.d/20-device.conf
http://pastebin.com/Ey5GH8Gr

Here is the /var/log/Xorg.0.log when I load the Intel device
http://pastebin.com/RSFxPC4i

Here is the /var/log/Xorg.0.log when I load the Radeon device
http://pastebin.com/nLnYMNr3

I'm desperate.

Last edited by khuongduybui (2012-04-10 00:13:53)

Offline

#2 2012-04-05 22:19:26

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [Solved] Please help with X11 config for dual graphic cards

What's "everything"? What have you tried and what happened?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2012-04-05 22:36:23

khuongduybui
Member
Registered: 2012-04-05
Posts: 5

Re: [Solved] Please help with X11 config for dual graphic cards

I googled around, and there're several tweaks mentioned like appending acpi=off, or nomodeset to the boot command. I tried that all.
All the settings that might have not been supported like AGPFastWrite or EXAVSync, I tried every possible combination of them on / off.

Nothing changed the outcome.

Last edited by khuongduybui (2012-04-05 22:36:48)

Offline

#4 2012-04-07 20:22:29

khuongduybui
Member
Registered: 2012-04-05
Posts: 5

Re: [Solved] Please help with X11 config for dual graphic cards

Could someone give me some advice? what should I try?

Offline

#5 2012-04-08 03:22:50

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [Solved] Please help with X11 config for dual graphic cards

So it works with Intel?

Try explaining what you've tried. People can't know what you've found googling or not found. Have you followed the wiki? What is your set up? Can you boot to runlevel 3?

You just aren't saying enough for people to have a clue.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2012-04-08 12:26:34

LoBo3268715
Member
From: WI, USA
Registered: 2012-02-23
Posts: 34

Re: [Solved] Please help with X11 config for dual graphic cards

Just gonna take a stab at what you want to do here but I assume you want to switch to the ATI card correct? using open source drivers? Google around for vgaswitcharoo. It can be a royal PITA but I got it working with my intel integrated card and ATI mobility 5650. Also there is a package in the AUR for this. https://aur.archlinux.org/packages.php?ID=51704

Last edited by LoBo3268715 (2012-04-08 12:29:02)


"Linux. A big, bad, scary computer operating system known only by people with neck beards."

Offline

#7 2012-04-08 16:25:50

khuongduybui
Member
Registered: 2012-04-05
Posts: 5

Re: [Solved] Please help with X11 config for dual graphic cards

LoBo3268715 wrote:

Just gonna take a stab at what you want to do here but I assume you want to switch to the ATI card correct? using open source drivers? Google around for vgaswitcharoo. It can be a royal PITA but I got it working with my intel integrated card and ATI mobility 5650. Also there is a package in the AUR for this. https://aur.archlinux.org/packages.php?ID=51704

Yes, that's exactly what I'm trying to achieve. Thanks for the advice, I will explore all the possibilities with vga_switcheroo

Offline

#8 2012-04-10 00:15:47

khuongduybui
Member
Registered: 2012-04-05
Posts: 5

Re: [Solved] Please help with X11 config for dual graphic cards

Thanks everyone for your help, especially Lobo.
I finally get it working by installing the package, restart, take gdm out of the rc.conf daemon arrays, restart, login as root in level 3, echo DIS > /sys/kernel/debug/vgaswitcheroo/switch, put gdm back in, restart, and voila big_smile

Offline

Board footer

Powered by FluxBB