Re: dual nvidia problems
i have two pci-e x16 slots and the motherboard supports nvidia-SLI i see only the 8400. if i swap the cards, i see only the 8600. i have a bios option which should start the second card or the first card but it seems to have no effects. On Tue, May 25, 2010 at 8:17 AM, Michael Shiloh michaelshiloh1...@gmail.com wrote: My first check would be to make sure you can see the 8600 at all. If you remove the 8400GS, does the 8600 work properly? On 05/24/2010 10:02 PM, Erez D wrote: hi i have a computer running linux (centos 5.5), with attached two NVIDIAs display adapters, one 8400 and one 8600. (both pci-e) i want to run two X servers. my first problem - lspci sees only one card - the 8400GS. any idea ? thanks, erez. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Sent from my ASR-33 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: dual nvidia problems
ok, it was a problem of jumpers on the motherboard. i am now able to start an X-server on the left card using X -layout LeftMonitor , then i start an x-server on the right monitor using X :1 -layout RightMonitor the problem is: if i press ctrl-alt-f7 i see only the left monitor. if i press ctrl-alt-f8 i see only the right monitor. is there a way to make them both work at the same time ? On Tue, May 25, 2010 at 9:10 AM, Erez D erez0...@gmail.com wrote: i have two pci-e x16 slots and the motherboard supports nvidia-SLI i see only the 8400. if i swap the cards, i see only the 8600. i have a bios option which should start the second card or the first card but it seems to have no effects. On Tue, May 25, 2010 at 8:17 AM, Michael Shiloh michaelshiloh1...@gmail.com wrote: My first check would be to make sure you can see the 8600 at all. If you remove the 8400GS, does the 8600 work properly? On 05/24/2010 10:02 PM, Erez D wrote: hi i have a computer running linux (centos 5.5), with attached two NVIDIAs display adapters, one 8400 and one 8600. (both pci-e) i want to run two X servers. my first problem - lspci sees only one card - the 8400GS. any idea ? thanks, erez. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Sent from my ASR-33 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: dual nvidia problems
Hi, If you use the binary-only driver, then run: nvidia-settings Hetz 2010/5/25 Erez D erez0...@gmail.com ok, it was a problem of jumpers on the motherboard. i am now able to start an X-server on the left card using X -layout LeftMonitor , then i start an x-server on the right monitor using X :1 -layout RightMonitor the problem is: if i press ctrl-alt-f7 i see only the left monitor. if i press ctrl-alt-f8 i see only the right monitor. is there a way to make them both work at the same time ? On Tue, May 25, 2010 at 9:10 AM, Erez D erez0...@gmail.com wrote: i have two pci-e x16 slots and the motherboard supports nvidia-SLI i see only the 8400. if i swap the cards, i see only the 8600. i have a bios option which should start the second card or the first card but it seems to have no effects. On Tue, May 25, 2010 at 8:17 AM, Michael Shiloh michaelshiloh1...@gmail.com wrote: My first check would be to make sure you can see the 8600 at all. If you remove the 8400GS, does the 8600 work properly? On 05/24/2010 10:02 PM, Erez D wrote: hi i have a computer running linux (centos 5.5), with attached two NVIDIAs display adapters, one 8400 and one 8600. (both pci-e) i want to run two X servers. my first problem - lspci sees only one card - the 8400GS. any idea ? thanks, erez. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Sent from my ASR-33 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- my blog (hebrew): http://benhamo.org Skype: heunique MSN: hetz-b...@benhamo.org ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: dual nvidia problems
On Tue, May 25, 2010 at 10:14 AM, Hetz Ben Hamo het...@gmail.com wrote: Hi, If you use the binary-only driver, then run: nvidia-settings doesn't help however, adding -novtswitch -sharevtts to the X cmdline does the trick so its solved thanks. Hetz 2010/5/25 Erez D erez0...@gmail.com ok, it was a problem of jumpers on the motherboard. i am now able to start an X-server on the left card using X -layout LeftMonitor , then i start an x-server on the right monitor using X :1 -layout RightMonitor the problem is: if i press ctrl-alt-f7 i see only the left monitor. if i press ctrl-alt-f8 i see only the right monitor. is there a way to make them both work at the same time ? On Tue, May 25, 2010 at 9:10 AM, Erez D erez0...@gmail.com wrote: i have two pci-e x16 slots and the motherboard supports nvidia-SLI i see only the 8400. if i swap the cards, i see only the 8600. i have a bios option which should start the second card or the first card but it seems to have no effects. On Tue, May 25, 2010 at 8:17 AM, Michael Shiloh michaelshiloh1...@gmail.com wrote: My first check would be to make sure you can see the 8600 at all. If you remove the 8400GS, does the 8600 work properly? On 05/24/2010 10:02 PM, Erez D wrote: hi i have a computer running linux (centos 5.5), with attached two NVIDIAs display adapters, one 8400 and one 8600. (both pci-e) i want to run two X servers. my first problem - lspci sees only one card - the 8400GS. any idea ? thanks, erez. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Sent from my ASR-33 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- my blog (hebrew): http://benhamo.org Skype: heunique MSN: hetz-b...@benhamo.org ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
RE: Hebrew calendar software creators: can you notify this list when updating the calendar?
I intend to file the following report. Any comments? Package: bsdmainutils Version: 8.0.11 Severity: normal Tags: patch calendar.judaic was last updated in 2007. Due to the nature of the Jewish calendar, it renders the file unusable. To address the difficulties facing the maintaner, a python script is included. This script offers the maintainer a way to create the file as required. The script is not limited to a single year. Just enter the desired year as an argument in the command line. I suggest to keep this script in the Debian directory of the source package. $ cat calendarJudaic.py #! /usr/bin/python # Filename: calendarJudaic.py # # License: no warranty close + no license (public domain) # # Creates a calendar.judaic file, which is suitable for inclusion # in Debian's bsdmainutils package. Up to the introductory of # this script the calendar.judaic file was not updated regulary. # Probably because updating it is time consuming. This python # script let anyone create that file, for any year. Its output is # written to stdout. It requires the libhdate-python package. # A small part of the holidays might require manual editing # because the state of Israel modifies the actual date by a few # days due to various considerations. # References: # http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg58169.html # http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg58321.html # http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg58451.html from string import Template import hdate, optparse, sys, time def main(): description = '''Description: Creates a calendar.judaic file, which is suitable for inclusion in Debian's bsdmainutils package. Up to the introductory of this script the calendar.judaic file was not updated regulary. Probably because updating it is time consuming. This python script let anyone create that file, for any year. Its output is written to stdout. It requires the libhdate-python package. A small part of the holidays might require manual editing because the state of Israel modifies the actual date by a few days due to various considerations. ''' usage = Usage: %prog [year]\n\ \n\ Example: %prog 2099 version = 29-May-2010 parser = optparse.OptionParser(description=description, usage=usage, version=version) (options, args) = parser.parse_args() if len(args) 1: parser.error(\n + str(len(args)) + arguments were given. At most 1, an integer represnting a year, is expected. ) elif len(args) == 1: # An integer represnting a year is expected. try: year = int(args[0]) except ValueError: parser.error(\n Could not convert the argument + args[0] + , which should represent a year, to an integer. ) else: # len(args) == 0, no args were given. Use the current year. year = time.localtime().tm_year h = hdate.Hdate() template_for_header = '''/* * Judaic Calendar. Created by calendar.judaic.py. * Collaboratively authored by linux...@cs.huji.ac.il. * * $$Debian GNU\Linux$$ * */ /* * $$Id: calendarJudaic.py,v ${PLACE_HOLDER_FOR_VERSION}$$ */ #ifndef _calendar_judaic_ #define _calendar_judaic_ LANG=UTF-8 /* * Jewish calendar for the CE year ${PLACE_HOLDER_FOR_THR_CE_YEAR} * ${PLACE_HOLDER_FOR_THE_JEWISH_START_OF_THE_CE_YEAR} - ${PLACE_HOLDER_FOR_THE_JEWISH_END_OF_THE_CE_YEAR} */ ''' footer = ''' #endif /* !_calendar_judaic_ */''' substitutions_for_header = { 'PLACE_HOLDER_FOR_VERSION' : version, 'PLACE_HOLDER_FOR_THR_CE_YEAR' : str(year) } h.set_gdate(1, 1, year) substitutions_for_header[ 'PLACE_HOLDER_FOR_THE_JEWISH_START_OF_THE_CE_YEAR'] = \ h.get_format_date(h.get_julian()) + ' ' + \ h.get_hebrew_year_string() h.set_gdate(31, 12, year) substitutions_for_header[ 'PLACE_HOLDER_FOR_THE_JEWISH_END_OF_THE_CE_YEAR'] = \ h.get_format_date(h.get_julian()) + ' ' + \ h.get_hebrew_year_string() header = Template(template_for_header).substitute( substitutions_for_header) print header h.set_gdate(1, 1, year) julian = h.get_julian() for i in range(0, 365): h.set_jd(julian) julian += 1 day = h.get_gday() month = h.get_gmonth() holyday = h.get_holyday_string(1) if holyday: print %02d/%02d* %s % (day, month, holyday) parasha = h.get_parasha_string(julian) if parasha != 'none': print %02d/%02d* Parshat %s % (day, month, parasha) print footer sys.exit() if __name__ == __main__: main() else: # The following is useful from within an interactive Python #
Re: Hebrew calendar software creators: can you notify this list when updating the calendar?
At 15:27:10 on Tuesday Tuesday 25 May 2010, Ron Varburg linux...@hotmail.com wrote: I intend to file the following report. Any comments? Package: bsdmainutils Version: 8.0.11 Severity: normal Tags: patch calendar.judaic was last updated in 2007. Due to the nature of the Jewish calendar, it renders the file unusable. To address the difficulties facing the maintaner, a python script is included. This script offers the maintainer a way to create the file as required. The script is not limited to a single year. Just enter the desired year as an argument in the command line. I suggest to keep this script in the Debian directory of the source package. In what way is the Jewish calaendar unstable? Here is a link to a website containing a list of very well-known articels and books describing calculations for calculating dates. I do not mean to imply by posting this link that it will be an innovation to anyone is is interested in the subject; I post it for the convenience of those who haven't considered these calculations previously. (I have lots of other references.) http://emr.cs.uiuc.edu/~reingold/calendars.shtml $ cat calendarJudaic.py #! /usr/bin/python # Filename: calendarJudaic.py # # License: no warranty close + no license (public domain) # # Creates a calendar.judaic file, which is suitable for inclusion # in Debian's bsdmainutils package. Up to the introductory of # this script the calendar.judaic file was not updated regulary. # Probably because updating it is time consuming. This python # script let anyone create that file, for any year. Its output is # written to stdout. It requires the libhdate-python package. # A small part of the holidays might require manual editing # because the state of Israel modifies the actual date by a few # days due to various considerations. # References: # http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg58169.html # http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg58321.html # http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg58451.html from string import Template import hdate, optparse, sys, time def main(): description = '''Description: Creates a calendar.judaic file, which is suitable for inclusion in Debian's bsdmainutils package. Up to the introductory of this script the calendar.judaic file was not updated regulary. Probably because updating it is time consuming. This python script let anyone create that file, for any year. Its output is written to stdout. It requires the libhdate-python package. A small part of the holidays might require manual editing because the state of Israel modifies the actual date by a few days due to various considerations. ''' usage = Usage: %prog [year]\n\ \n\ Example: %prog 2099 version = 29-May-2010 parser = optparse.OptionParser(description=description, usage=usage, version=version) (options, args) = parser.parse_args() if len(args) 1: parser.error(\n + str(len(args)) + arguments were given. At most 1, an integer represnting a year, is expected. ) elif len(args) == 1: # An integer represnting a year is expected. try: year = int(args[0]) except ValueError: parser.error(\n Could not convert the argument + args[0] + , which should represent a year, to an integer. ) else: # len(args) == 0, no args were given. Use the current year. year = time.localtime().tm_year h = hdate.Hdate() template_for_header = '''/* * Judaic Calendar. Created by calendar.judaic.py. * Collaboratively authored by linux...@cs.huji.ac.il. * * $$Debian GNU\Linux$$ * */ /* * $$Id: calendarJudaic.py,v ${PLACE_HOLDER_FOR_VERSION}$$ */ #ifndef _calendar_judaic_ #define _calendar_judaic_ LANG=UTF-8 /* * Jewish calendar for the CE year ${PLACE_HOLDER_FOR_THR_CE_YEAR} * ${PLACE_HOLDER_FOR_THE_JEWISH_START_OF_THE_CE_YEAR} - ${PLACE_HOLDER_FOR_THE_JEWISH_END_OF_THE_CE_YEAR} */ ''' footer = ''' #endif /* !_calendar_judaic_ */''' substitutions_for_header = { 'PLACE_HOLDER_FOR_VERSION' : version, 'PLACE_HOLDER_FOR_THR_CE_YEAR' : str(year) } h.set_gdate(1, 1, year) substitutions_for_header[ 'PLACE_HOLDER_FOR_THE_JEWISH_START_OF_THE_CE_YEAR'] = \ h.get_format_date(h.get_julian()) + ' ' + \ h.get_hebrew_year_string() h.set_gdate(31, 12, year) substitutions_for_header[ 'PLACE_HOLDER_FOR_THE_JEWISH_END_OF_THE_CE_YEAR'] = \ h.get_format_date(h.get_julian()) + ' ' + \ h.get_hebrew_year_string() header = Template(template_for_header).substitute( substitutions_for_header)
Re: Hebrew calendar software creators: can you notify this list when updating the calendar?
On Tue, May 25, 2010, Ron Varburg wrote about RE: Hebrew calendar software creators: can you notify this list when updating the calendar?: I intend to file the following report. Any comments? I still believe that the whole approach of having holidays of a single year (it doesn't matter if 2007 or 2010) is wrong. It not only means that the distro needs to update this list every year, it also means that you can't find out when next year's holidays are (and sometimes next year could be next month). So I'd look for a way to somehow use a calendar.judaic file which contains holidays for multiple years (I have no idea if that's possible). If you absolutely can't, I have another idea: Instead of putting a fixed file for 2010 in the distro, and have the distro update it in 2011, why not have the distro include the *script*, which will be run automatically once a year via a cron job? (which would make it the rarest-running cron-job in history ;-)). Nadav. -- Nadav Har'El| Tuesday, May 25 2010, 13 Sivan 5770 n...@math.technion.ac.il |- Phone +972-523-790466, ICQ 13349191 |The two most common elements in the http://nadav.harel.org.il |universe are hydrogen and stupidity. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
RE: Hebrew calendar software creators: can you notify this list when updating the calendar?
From: stan.good...@hashkedim.com To: linux-il@cs.huji.ac.il Subject: Re: Hebrew calendar software creators: can you notify this list when updating the calendar? Date: Tue, 25 May 2010 18:12:21 +0300 At 15:27:10 on Tuesday Tuesday 25 May 2010, Ron Varburg wrote: I intend to file the following report. Any comments? In what way is the Jewish calaendar unstable? I was not trying to imply instability. I was only trying to: 1) Figure out why Debian ships an out of date file 2) To address those difficulties Here is a link to a website containing a list of very well-known articels and books describing calculations for calculating dates. I do not mean to imply by posting this link that it will be an innovation to anyone is is interested in the subject; I post it for the convenience of those who haven't considered these calculations previously. (I have lots of other references.) _ Hotmail: שירות דואר אלקטרוני מהימן ועשיר המסופק בחינם. https://signup.live.com/signup.aspx?id=60969 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Hebrew calendar software creators: can you notify this list when updating the calendar?
Nadav Har'El n...@math.technion.ac.il writes: I still believe that the whole approach of having holidays of a single year (it doesn't matter if 2007 or 2010) is wrong. It not only means that the distro needs to update this list every year, it also means that you can't find out when next year's holidays are (and sometimes next year could be next month). So I'd look for a way to somehow use a calendar.judaic file which contains holidays for multiple years (I have no idea if that's possible). It must be. I am not an expert on Hebrew calendar, but I use XEmacs calendar and I have never had any problem finding out holiday dates and stuff for any year, not just the current one. A quick check shows that the solution is in /usr/share/xemacs/xemacs-packages/lisp/calendar/cal-hebrew.el (there is a corresponding GNU emacs file), which says ;;; ;;; cal-hebrew.el --- calendar functions for the Hebrew calendar ;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007 ;; Free Software Foundation, Inc. ;; Author: Nachum Dershowitz nac...@cs.uiuc.edu ;; Edward M. Reingold reing...@cs.uiuc.edu ;; Maintainer: Glenn Morris r...@gnu.org ;; Keywords: calendar ;; Human-Keywords: Hebrew calendar, calendar, diary GNU license stuff snipped - OG ;;; Synched up with: FSF Emacs 22 CVS 2007-03-30 ;;; Commentary: ;; This collection of functions implements the features of calendar.el and ;; diary.el that deal with the Hebrew calendar. ;; Technical details of all the calendrical calculations can be found in ;; ``Calendrical Calculations: The Millennium Edition'' by Edward M. Reingold ;; and Nachum Dershowitz, Cambridge University Press (2001). ;; Comments, corrections, and improvements should be sent to ;; Edward M. Reingold Department of Computer Science ;; (217) 333-6733 University of Illinois at Urbana-Champaign ;; reing...@cs.uiuc.edu 1304 West Springfield Avenue ;; Urbana, Illinois 61801 ;; So, the people who implemented it for X?Emacs wrote a book on how to do it - easy to find on Amazon as http://www.amazon.com/Calendrical-Calculations-Nachum-Dershowitz/dp/0521702380/ref=dp_ob_title_bk?ie=UTF8qid=1274819022sr=1-1 - and I do not see anything in the code that would limit it to a particular year. Without any further research, I have to agree with Nadav - anybody who does anything year-specific does something wrong. By the way, the code seems to give the right parasha name - another question that I recall was asked on this forum relatively recently. -- Oleg Goldshmidt | p...@goldshmidt.org ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Hebrew calendar software creators: can you notify this list when updating the calendar?
At 23:29:06 on Tuesday Tuesday 25 May 2010, Oleg Goldshmidt p...@goldshmidt.org wrote: Nadav Har'El n...@math.technion.ac.il writes: I still believe that the whole approach of having holidays of a single year (it doesn't matter if 2007 or 2010) is wrong. It not only means that the distro needs to update this list every year, it also means that you can't find out when next year's holidays are (and sometimes next year could be next month). So I'd look for a way to somehow use a calendar.judaic file which contains holidays for multiple years (I have no idea if that's possible). It must be. I am not an expert on Hebrew calendar, but I use XEmacs calendar and I have never had any problem finding out holiday dates and stuff for any year, not just the current one. A quick check shows that the solution is in /usr/share/xemacs/xemacs-packages/lisp/calendar/cal-hebrew.el (there is a corresponding GNU emacs file), which says ;;; ;;; cal-hebrew.el --- calendar functions for the Hebrew calendar ;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007 ;; Free Software Foundation, Inc. ;; Author: Nachum Dershowitz nac...@cs.uiuc.edu ;; Edward M. Reingold reing...@cs.uiuc.edu ;; Maintainer: Glenn Morris r...@gnu.org ;; Keywords: calendar ;; Human-Keywords: Hebrew calendar, calendar, diary GNU license stuff snipped - OG ;;; Synched up with: FSF Emacs 22 CVS 2007-03-30 ;;; Commentary: ;; This collection of functions implements the features of calendar.el and ;; diary.el that deal with the Hebrew calendar. ;; Technical details of all the calendrical calculations can be found in ;; ``Calendrical Calculations: The Millennium Edition'' by Edward M. Reingold ;; and Nachum Dershowitz, Cambridge University Press (2001). ;; Comments, corrections, and improvements should be sent to ;; Edward M. Reingold Department of Computer Science ;; (217) 333-6733 University of Illinois at Urbana-Champaign ;; reing...@cs.uiuc.edu 1304 West Springfield Avenue ;; Urbana, Illinois 61801 ;; So, the people who implemented it for X?Emacs wrote a book on how to do it - easy to find on Amazon as http://www.amazon.com/Calendrical-Calculations-Nachum-Dershowitz/dp/052 1702380/ref=dp_ob_title_bk?ie=UTF8qid=1274819022sr=1-1 - and I do not see anything in the code that would limit it to a particular year. Without any further research, I have to agree with Nadav - anybody who does anything year-specific does something wrong. By the way, the code seems to give the right parasha name - another question that I recall was asked on this forum relatively recently. But parahot are not always the same in Israel and in the Diaspora. -- Stan Goodman Qiryat Tiv'on Israel ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il