Auto vga driver installation

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
Kriss
Samurai
Samurai
Posts: 135
Joined: 06 Jul 2011, 07:07
Location: Russia

Re: Auto vga driver installation

Post#31 by Kriss » 09 Nov 2011, 13:27

Hi all!
vga-detect works for Radeon HD 4650 but doesn't work for my notebook since its videocard requires legacy drivers (or driver v9.3 and below):
http://support.amd.com/us/gpudownload/l ... linux.aspx
lspci: ATI Technologies Inc RS482 [Radeon Xpress 200M] [1002:5975]
Actually lspci information is probably not entirely correct, since it's Radeon x1100 mobile (there's no Radeon 200M on notebook Acer Aspire 5100)
http://lists.x.org/archives/xorg-driver ... 03491.html

I think users of older nVidia cards have similar situation.
May I suggest 2 more options for legacy drivers (one for nVidia and one for ATi)?
Suggestions/corrections/additions are always welcome.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Auto vga driver installation

Post#32 by fanthom » 09 Nov 2011, 14:19

Amd dropped support for legacy ati cards with Catalyst-9.3 release. i dont think 9.3 will compile against latest kernels so Amd legacy users must stick to opensource drivers (which are working very good from what i know)

'vga-detect' cheatcode wont be able to recognize which nVidia GPU is legacy and which is not.
in case of AMD its easier as all HD cards have 'Radeon HD' string in the pci.id description (that's how linuxrc recognizes them).

Anyway - we could add legacy nvidia drivers to the repo but someone must create them first (to compile nvidia driver you must have the hardware - i dont have any nVidia around).

@beny and others
will you be able to compile nVidia legacy on your hardware? if yes then please post it as usual.

Cheers
Please add [Solved] to your thread title if the solution was found.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Auto vga driver installation

Post#33 by beny » 09 Nov 2011, 15:39

hi fanthom i can try, but i have a geforce 6 series,i do a clean installation of 32 bit and try in, so if something fails,no problem,just a try

User avatar
oranus
Contributor
Contributor
Posts: 69
Joined: 25 Aug 2011, 13:46
Location: Turkey

Re: Auto vga driver installation

Post#34 by oranus » 09 Feb 2012, 07:16

Hi fanthom,

I encounter some problem on vga-detect cheatcode. As you know some vga does not appropriate, and get error " Starting up X11 session manager".
So how can we solve the problem? I suppose that we add some script to get this error message than
1. deactivate ati or nVidia*.xzm
2. startx

Do u think is it solution for this problem?
Any Idea?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Auto vga driver installation

Post#35 by fanthom » 10 Feb 2012, 23:44

hmmm... this issue will be hard to sort out but i'll try to do something in rc.4.
will update this post with new code for testing.

Posted after 15 hours 50 minutes 4 seconds:
good news, i have found a list of supported pci ids for the legacy drivers:
http://www.nvidia.com/object/IO_32667.html
so full autodetection will be implemented in linuxrc.

for next porteus version beny will have to create 3 drivers for each arch:
a) current
b) 173.14.xx
c) 96.43
(i think we can skip 71.86 series - i dont know if it even compile on latest kernel)

and there should be no more xrog failures :)
just place all 3 nVidia drivers and ati-fglrx in /optional, use vga-detect cheat and linuxrc will do all the job.
ofc there will be errors if users wont use vga-detect and put wrong driver in /modules.
Please add [Solved] to your thread title if the solution was found.

User avatar
oranus
Contributor
Contributor
Posts: 69
Joined: 25 Aug 2011, 13:46
Location: Turkey

Re: Auto vga driver installation

Post#36 by oranus » 13 Feb 2012, 08:54

Thanks fanthom and Beny for nVidia drivers but some ati vga makes error on fglrx driver. So ati*.xzm on /optional folder does not work correctly on all ati vga. I come up with "Starting up X11 session manager" error on ati vga laptops.
How can we deal with ati-vga problem?

Cheers..

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Auto vga driver installation

Post#37 by fanthom » 13 Feb 2012, 15:18

hi oranus,

please post output of 'lspci | grep VGA' command for each PC failing with vga-detect cheatcode.
please also write which driver was activated by linuxrc.

(i may have to update list of pciids manually if the data is incorrect)
Please add [Solved] to your thread title if the solution was found.

User avatar
oranus
Contributor
Contributor
Posts: 69
Joined: 25 Aug 2011, 13:46
Location: Turkey

Re: Auto vga driver installation

Post#38 by oranus » 15 Feb 2012, 16:04

Hi fanthom,

I'll give VGA spec which has problem. But I suppose that you should add control on rc.4 because we can't grab all VGA product id. And we can't predict all vga esp new ones. So If you add control it will solve problem whatever vga product.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Auto vga driver installation

Post#39 by fanthom » 16 Feb 2012, 17:04

@oranus

you are right (but please post pci ids anyway). i have added 'proprietary-watcher' process which sniffs /var/log/Xorg.0.log for errors and unload nVidia|ati-fglrx drivers when Xorg fails at startup.
tested here and seems to be ok. i'll push it to porteus-1.2-rc1 for wider testing.

thanks for forcing me to do the job correctly :)
Please add [Solved] to your thread title if the solution was found.

User avatar
oranus
Contributor
Contributor
Posts: 69
Joined: 25 Aug 2011, 13:46
Location: Turkey

Re: Auto vga driver installation

Post#40 by oranus » 21 Feb 2012, 12:03

@fanthom

lspci |grep VGA: 01:05.0 VGA * [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series]

sory for late response. If I found another vga-detect problem laptop I'll give output.

Regards

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Auto vga driver installation

Post#41 by fanthom » 21 Feb 2012, 12:26

@oranus

this card is present in the pciid database so i guess it's fglrx driver fault unless it's double GPU notebook.
for your next reports please use following command:

Code: Select all

lspci -n | grep 0300:
which gonna tell me much more.

thanks
Please add [Solved] to your thread title if the solution was found.

User avatar
oranus
Contributor
Contributor
Posts: 69
Joined: 25 Aug 2011, 13:46
Location: Turkey

Re: Auto vga driver installation

Post#42 by oranus » 21 Feb 2012, 14:51

01:05.0 0300: 1002:9712

Posted after 2 hours 17 minutes 16 seconds:
I test P.1.2 rc1 on VGA: 01:05.0 VGA * [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series].
Here is output:
Fatal server error:
unloading ati-fglrx*
Starting up X11 session manager loop

regards....

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Auto vga driver installation

Post#43 by fanthom » 22 Feb 2012, 11:15

hi oranus,

please try following options on 'Radeon HD 4200 Series' notebook
1) boot porteus with 'autoexec=xconf' cheatcode, if that still wont work then please post /var/log/Xorg.0.log and try second advice
2) there is a chance that fglrx driver provided in the repo wont work for certain ati GPU's or this is an upstream issue. let's check it: please boot porteus on 'Radeon HD 4200 Series' notebook in 'always fresh' mode with open source driver then try to build fglrx with script from this page:
http://porteus.org/info/docs/46-video/7 ... river.html
when driver builds successfully please move it to /porteus/modules and reboot.
if that helped then please upload your driver somewhere and i'll add it to the repo.

good luck!
Please add [Solved] to your thread title if the solution was found.

Post Reply