For exemple if you try one ATI Overclocking command this seems pretty
obvious ,,,

Under my user :

gfarme...@gnu-box:~$ aticonfig --od-enable
ATI Overdrive(TM) enabled

Using sudo :

gfarme...@gnu-box:~$ sudo aticonfig --od-enable
ATI Overdrive(TM) enabled

Under root :

r...@gnu-box:~# aticonfig --od-enable
ATI Overdrive(TM) enabled

and when sshing localhost :

gfarme...@gnu-box:~$ ssh localhost

Linux GNU-BoX 2.6.35-19-generic #28-Ubuntu SMP Sun Aug 29 06:34:38 UTC 2010 
x86_64 GNU/Linux
Ubuntu maverick (development branch)

gfarme...@gnu-box:~$ aticonfig --od-enable
aticonfig: This program must be run as root when no X server is active

r...@gnu-box:/home/gfarmerfr# aticonfig --od-enable
ATI Overdrive(TM) enabled

>> OK, then we need  something in the install to ask if it's going to
run on a server w/o a GUI (leave as is) or in a normal desktop
environment with gdm running (set the boinc user to be the installing
user ID). Maybe? Comments, ideas??

We can try to ping the upstream packing in debian about this issue and give 
your thoughts (and maybe a packging patch) :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588976

I know that you can ask interactive questions via debconf.
We canproceed like this :
"Is this computer intended to use GPU capabilities ? (a running graphical 
session is required)"
Yes/No

No : Will follow the basic debian installation with the "boinc" user.
Does not change rcX.d links.

Yes : "Please enter user capable of running a graphical session (default
current user) : "

Then change the /var/lib/boinc-client directory ownership to the specified user.
Change the BOINC_USER in /etc/default/boinc-client for the specified user.
Also create rcX.d links with a starting order after gdm/kdm/whateverdm.
This would prevent messing with the sleep 5 in boinc init script and would also 
fix LP#414244.

Would be great to have a report of the Nvidia guys out there because it
seems that for nvidia cards you have just to delay boinc start after gdm
and not mess with directory / user permissions.

Or wa can wait for AMD/ATI to fix their drivers :) ... or dream of
OpenCL support in opensource drivers / boinc apps.

** Bug watch added: Debian Bug tracker #588976
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588976

-- 
No GPU found
https://bugs.launchpad.net/bugs/587426
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to