[05/11/2010] Fedora 14 / Ubuntu 10.10 already with vgaswitcheroo!!
Good news!
From now on, if you want to use the vgaswitcheroo module you just have to install (or test from a Live CD/USB) Fedora 14 or Ubuntu 10.10 (sure, other distributions may also do the trick) and go directly to point "(2) Run the new kernel and test:" from previous post. That's all! I personally have installed in my laptop both Fedora and Ubuntu and they both work perfectly well although there are some differences in the scripts (when I have some time I'll make a specific HowTo for each of the new systems; in the meantime, please write me if you have any doubts). Good luck and I hope you enjoy your hybrid graphics on GNU/Linux!
So just download Fedora 14 or Ubuntu 10.10 and try it for yourself:
Fedora 14
Your writing is very clear and exhaustive; unluckily I am not been able to find in Ubuntu 10.10 the directory (sys/kernel/debug/) "none". Could you help me?
ReplyDeleteniky
Last time I tested Ubuntu 10.10 Beta it worked fine with my computer (ASUSM51ta) and the /sys/kernel/debug/ was mounted automatically... Now I'm using a bad internet connection, but as soon as I can download the final release I'll test it and post my results. Anyway, in what computer you are testing?
ReplyDelete@Anonymous: I have just tried Ubuntu 10.10 (final release) and it works like charm! (at least with the ASUSM51ta hybrid graphic configuration: HD3650/HD3200).
ReplyDeleteI ran it from an USB, and from the terminal:
> sudo su
> cd /sys/kernel/debug/vgaswitcheroo/ # it was already mounted
> cat switch
0:+:Pwr:0000:01:05.0
1: :Pwr:0000:02:00.0
> echo OFF > switch
> cat switch
0:+:Pwr:0000:01:05.0
1: :Off:0000:02:00.0
Hi Roberto,
ReplyDeleteFirst of all, thanks for all your work on this -- including the part about documentation!
I just got a new laptop today, and it's got integrated Intel i915 graphics and an ATI HD 5650. I've installed Ubuntu 10.10 and the fglrx driver, and both drivers (i915 and fglrx) are loaded, but vgaswitcheroo is nowhere to be found in /sys/kernel/debug.
Do you have any clues as to what to do next?
Currently I'll try compiling my own kernel, but if that doesn't change anything... Hmm.
-Rune
Alright, so far so good. I got it working, I just had to realize that you have to load only the i915 and radeon modules, then vgaswitcheroo will show up in /sys/kernel/debug/.
ReplyDeleteNow I'm stuck in a different place. The whole reason I wanted to use the switcheroo was to use the fglrx driver.
After loading radeon, switching graphics cards and loading fglrx, I'm unable to start Xorg with Driver "fglrx" in the Device section. Xorg fails with the following errors:
[ 10195.420] (II) fglrx(0): AC Adapter is used
[ 10195.424] (II) fglrx(0): Primary V_BIOS segment is: 0xc000
[ 10195.424] (II) fglrx(0): Invalid ATI BIOS from int10, the adapter is not VGA-enabled
[ 10195.425] (EE) fglrx(0): Invalid video BIOS signature!
[ 10195.425] (EE) fglrx(0): GetBIOSParameter failed
[ 10195.425] (EE) fglrx(0): PreInitAdapter failed
[ 10195.425] (EE) fglrx(0): PreInit failed
[ 10195.425] (II) fglrx(0): === [xdl_x760_atiddxPreInit] === end
To top it off, this laptop doesn't even have a BIOS setting for switching between graphics cards...
@Rune: I'm sorry to tell you I'm stuck exactly in your same place... I cannot use vga_swircheroo to be able to use fglrx with the discrete card. So now just using plain open source ati drivers and vga_switcheroo. I'm sorry to tell you, but my simple strategy is just wait till open source drivers become more efficient. With open source friendly companies as Intl or ATI and good developers this will come sooner or later.
ReplyDelete@Roberto: Dang, was hoping you had the ultimate solution to my problem. I guess we'll just have to wait.
ReplyDeleteThanks for this blog!
-Rune
even workink for my X360 Notebook with nvidia 310M Hybrid ?
ReplyDeleteHi, did try with Asus N53JN, Ubuntu 10.10 with kernel 2.6.36, graphic intel/nvidia gt 335m. The discrete card do not power on, error occurs: sh switch_between_cards.sh
ReplyDelete[: 120: :+:Pwr:: unexpected operator
[: 120: :+:Pwr:: unexpected operator
[: 120: :+:Pwr:: unexpected operator
[: 120: :+:Pwr:: unexpected operator
Did everything as You write, except that file rc.local is located at /etc/rc.local in Ubuntu. Cards were detected properly and the menu shows, but after choosing an option this errors occurs. Can You help me?
@AMartin
ReplyDeleteTry to do it manually.
See current status:
"cat /sys/kernel/debug/vgaswitcheroo/switch"
Turn off currently unused graphics card:
"echo OFF | sudo tee /sys/kernel/debug/vgaswitcheroo/switch"
@Rune
ReplyDeleteTried this a moment ago, nothing changes with OFF and ON, status of the /sys.../switch stays the same, game extremetuxracer shows only 30fps which is like in intel card, not the nvidia. Hmm, I realy want to use nvidia card, please share with me any ideas, I will test them all.
Hi guys, I have found something. By doing manualy "echo OFF | sudo tee /sys/kernel/debug/vgaswitcheroo/switch" as Rune adviced I can disable and enable (with ON) the second card. Still the "+" is only with the first one. But the problem is that I want to disable the first one which I belive is intel card, and leave the second one enabled (nvidia). Tried to do it manualy in the file but cannot write it (even with sudo command). Can You guide me how to do that?
ReplyDeleteSomebody has found one solution? Please i have the same problem and i can't activate nvidia card! I'm getting crazy!
ReplyDeleteIt was very nice article and it is very useful to Linux learners.We also provide Linux online training
ReplyDeleteNice Post...
ReplyDeleteLinux Training in Chennai
mungkin saja game ke-3 anda juga akan memperoleh kiu kiu atau minimum kartu 8. Kesempatan kemenangan dapat menjangkau 90 %.
ReplyDeleteasikqq
dewaqq
sumoqq
interqq
pionpoker
bandar ceme terbaik
hobiqq
paito warna
forum prediksi
Useful post, thanks for sharing.
ReplyDeleteDevOps Online Training
paito china
ReplyDeletedata sydney
datahk
syair sydney
syairsgp
datasgp
paito warna
http://warungsgp.com/
live hk 6d
live sydney
Know your or others Facebook account Password. Simple hack to recover or find others
ReplyDeletefacebook account password.
Hack Facebook Account
This is certainly a tremendous program manufactured, simply for the reason that My partner and i a rapid urgent this ocurred along with As i recognized precious time had not been about the section to carry out this report. https://imgur.com/a/wdtCV8k https://imgur.com/a/NeW1EW6 https://imgur.com/a/nPXowAk https://imgur.com/a/iuKkXry https://imgur.com/a/48persT http://ojm4ia9igd.dip.jp https://imgur.com/a/EYA2dPV
ReplyDeleteCod Benzeri Oyunlar
ReplyDeleteTerraria Benzeri Oyunlar
Escape Benzeri Oyunlar
Ark Benzeri Oyunlar
Max Payne Benzeri Oyunlar
1RCW5