LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-01-2004, 03:12 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,672

Rep: Reputation: 55
Mozilla and Mozilla Screen Problem


Hi all folks,

FreeBSD 5.2
Installed from CD1
Graphic card - Creative Graphic RIVA-TNT
16MB RAM

I just have 'Mozilla 1.5' and 'Mozilla mail' started. Their screen are completely not clear looking like selecting wrong screen resolution on desktop. But 'Konqueror' and 'Kmail' have no problem. KDE desktop has no vision problem. Hereinunder is the settings of;

/etc/X11/XF86Config

Code:
Section "Monitor"
#       DisplaySize       300   230
        Identifier   "Monitor0"
        VendorName   "NEC"
        ModelName    "NEC LCD1560NX"
#       HorizSync    30-107
#       VertRefresh  48-120

EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV4 [RIVA TNT]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
       ....
	.....
        SubSection "Display"
                Depth     24
                modes     "1024x768"
        EndSubSection
EndSection
Kindly advise how to fix it.

TIA

B.R.
satimis
 
Old 04-07-2004, 02:30 AM   #2
LinuxBAH
Member
 
Registered: Jun 2003
Distribution: FreeBSD
Posts: 119

Rep: Reputation: 15
First I'd upgrade your ports tree and then install the nvidia driver port. It should be under /usr/ports/x11/nvidia-driver. Follow the instructions in the README, it can be found in your docs directory or on the nvidia site. After that I'd upgrade mozilla to either the 1.6 release or move over to firefox 0.8. I like firefox better. It's slightly quicker and uses less memory. On my 256mb of ram rig that's a good thing. After that if the problem persist, reply here and we'll see what we can do from there.
 
Old 04-07-2004, 06:06 AM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 51
where is DefaultDepth in your file
 
Old 04-07-2004, 07:09 AM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,672

Original Poster
Rep: Reputation: 55
Quote:
Originally posted by mrcheeks
where is DefaultDepth in your file
Hi,

$ cat /etc/X11/XFConfig
Code:
......
 Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
                modes     "1024x768"
        EndSubSection
B.R.
satimis
 
Old 04-07-2004, 07:30 AM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 51
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"

# ADD THIS HERE #
DefaultDepth 24

SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
modes "1024x768"
EndSubSection
 
Old 04-07-2004, 07:33 AM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,672

Original Poster
Rep: Reputation: 55
Quote:
Originally posted by LinuxBAH
First I'd upgrade your ports tree and then install the nvidia driver port. It should be under /usr/ports/x11/nvidia-driver. Follow the instructions in the README, it can be found in your docs directory or on the nvidia site. After that I'd upgrade mozilla to either the 1.6 release or move over to firefox 0.8. I like firefox better. It's slightly quicker and uses less memory. On my 256mb of ram rig that's a good thing. After that if the problem persist, reply here and we'll see what we can do from there.
Hi,

Tks for your advice.

It is also my interest to upgrade all packages installed. But I am testing FreeBSD 5.2 on a slow machine. Upgrading ports tree and mozilla will take lengthy time. Therefore I expect to solve the problem first, if possible. Besides I am new to FreeBSC and am in worry whether after upgrade the FreeBSD box can't start with all configure files renewed automatically.

I will try to find the mentioned document first.

Tks.

B.R.
satimis
 
Old 04-07-2004, 09:36 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,672

Original Poster
Rep: Reputation: 55
Quote:
Originally posted by mrcheeks
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"

# ADD THIS HERE #
DefaultDepth 24

SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
modes "1024x768"
EndSubSection
Hi mrcheeks,

Your advice works. Problem is now solved.

Tks

B.R.
satimis
 
Old 04-07-2004, 11:00 AM   #8
Marble
Member
 
Registered: Feb 2003
Distribution: FreeBSD 5.2
Posts: 113

Rep: Reputation: 15
After a new install you should always update the ports tree using cvsup. Until you portupgrade your installed ports you won't alter anything other than the ports in /usr/ports .... But you will have a better BSD experience if you do. Security updates will be taken care of, dependencies will be up to date, etc.... After I install BSD, I install cvsup and portupgrade, cvsup the source, then wipe out the ports, build a new kernel, then cvsup a new ports tree, then rebuild the pkgdb and index and upgrade the current installed ports. I do all this before I start installing applications. Then I know that my installed applications are up to date. Just my 2 cents worth...
 
Old 04-07-2004, 12:05 PM   #9
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,672

Original Poster
Rep: Reputation: 55
Quote:
Originally posted by Marble
After a new install you should always update the ports tree using cvsup. Until you portupgrade your installed ports you won't alter anything other than the ports in /usr/ports .... But you will have a better BSD experience if you do. Security updates will be taken care of, dependencies will be up to date, etc.... After I install BSD, I install cvsup and portupgrade, cvsup the source, then wipe out the ports, build a new kernel, then cvsup a new ports tree, then rebuild the pkgdb and index and upgrade the current installed ports. I do all this before I start installing applications. Then I know that my installed applications are up to date. Just my 2 cents worth...
Hi Marble,

FreeBSD 5.2
==========

Tks for your advice.

I have 'portupgrade' installed and running on my OS

Code:
$ pkg_info | grep portupgrade
portupgrade-20030723 FreeBSD ports/packages administration and management tool s
Code:
$ pkg_info | grep cvsup
cvsup-16.1h         General network file distribution system optimized for CVS
Is it 'cvsup' also running?

Code:
$ cd /usr/ports
$ make search name=cvsup
Port:   cvsup-16.1h
Path:   /usr/ports/net/cvsup
Info:   General network file distribution system optimized for CVS (GUI version)
Maint:  jdp@FreeBSD.org
Index:  net devel
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 ezm3-1.1 fontconfig-2.2.90_3 freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_15 pkgconfig-0.15.0
R-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_15 pkgconfig-0.15.0

Port:   cvsup-mirror-1.2_1
Path:   /usr/ports/net/cvsup-mirror
Info:   A kit for easily setting up a FreeBSD mirror site using CVSup
Maint:  jdp@FreeBSD.org
Index:  net
B-deps:
R-deps: cvsup-without-gui-16.1h

Port:   cvsup-without-gui-16.1h
Path:   /usr/ports/net/cvsup-without-gui
Info:   General network file distribution system optimized for CVS (non-GUI version)
Maint:  jdp@FreeBSD.org
Index:  net devel
B-deps: ezm3-1.1
R-deps:

Port:   fastest_cvsup-0.2.8
Path:   /usr/ports/sysutils/fastest_cvsup
Info:   Finds fastest CVSup server
Maint:  ports@FreeBSD.org
Index:  sysutils
B-deps: perl-5.6.1_15
R-deps: p5-Time-HiRes-1.51,1 perl-5.6.1_15
Kindly advise which additional packages are needed

google search brought me following link
http://freebsd.ntu.edu.tw/bsd/6/3/3/18/4/3.html

16.3.2.4. Running CVSup
illustrating some examples of its operation. The document has been there for sometimes. Can any folk advise me of newer documents

TIA

B.R.
satimis
 
Old 04-07-2004, 09:02 PM   #10
Marble
Member
 
Registered: Feb 2003
Distribution: FreeBSD 5.2
Posts: 113

Rep: Reputation: 15
Example Files:
/usr/share/examples

cvsup example files:
/usr/share/examples/cvsup

I split them up into 2 cvsup files: Ports and Src. Copy the example ports and src supfiles to a new location. (I store it in a place at root - /root/admin ) Open this file and edit the lines for the cvsup host - www.freebsd.org will list mirror sites, but essentially in the US there is cvsup1.Freebsd.org etc... cvsup2.... cvsup3.... there are others but the one in Canada for some reason I have problems using so I stick to the US ones.)

For the src I change the *default tag=RELENG_5_2 and I leave the base and prefix default (which is explained in the FreeBSD handbook on their site)

I am using 5.2.1 so the RELENG_5_2 would be 5.2.1 with security updates.

and I leave it as src=all

Now for the ports supfile I leave it as tag=. and the prefix and base as /usr and I use a cvsup mirror site in the US.

But I am a hobby BSD user and have picked these up from reading online. But the method I use is I install, then install the cvsup without gui port, (* update src, edit MYKERNEL, edit make.conf, makeworld, etc... until new kernel is showing under uname -a *) Now at this point I cvsup a new ports tree, install portupgrade, run pkgdb -F, upgrade any ports.

Reason I do it this way is I get everything where I want it to be, then when I install a new app I don't have to spend hours waiting for it to update any installed applications and I find a lot less dependency issues. Sometimes there will be a bug or two ( one with the new version of gettext 0.13.* which is well talked about over at bsdforums.com/forums ).

Like I said I am "playing" with FreeBSD (and OpenBSD real soon), and in no way am an expert or claim to be... so if chort or another bsd user has a more recommended method then listen to them =), but I do read a lot from the manual and over at bsdforums.com.
 
Old 04-07-2004, 09:52 PM   #11
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 51
it's all in the handbook, read it to make sure your understand what you are doing and how to do it properly and everythink should be ok.
 
Old 04-08-2004, 07:08 AM   #12
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,672

Original Poster
Rep: Reputation: 55
Quote:
Originally posted by mrcheeks
it's all in the handbook, read it to make sure your understand what you are doing and how to do it properly and everythink should be ok.
Hi mrcheeks,

You meant
III. Appendices
A. Obtaining FreeBSD
A.5 Using CVSup
'Sub-section A.5.4 Running CVSup' of the handbook in following URL;
http://www.freebsd.org/doc/en_US.ISO...ook/cvsup.html

it looks similar to
http://freebsd.ntu.edu.tw/bsd/6/3/3/18/4/3.html

satimis
 
Old 04-11-2004, 05:05 PM   #13
LinuxBAH
Member
 
Registered: Jun 2003
Distribution: FreeBSD
Posts: 119

Rep: Reputation: 15
That link you provided is similar but it's for FBSD 2.1*. LOL. That version is slightly outdated. Always refer to the handbook first when you need answers before seeking them elseware 'for the handbook has most of the answers you may need. Also aside from that link to Chapt. 5 of the handbook also checkout Chapt 21. If you have any more issues to start a new thread or post em here, we'll be happy to help. You can also try freebsdforums.org <-- official *BSD forums.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
flash problem in mozilla can't find /usr/lib/mozilla ejbest Linux - Software 6 01-12-2010 09:48 AM
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 01:33 AM
Java for Mozilla and Mozilla-firebird Problem, Please help londonboi Linux - General 5 01-08-2004 05:07 AM
Problem re Mozilla hanging on screen satimis Linux - Newbie 4 09-12-2003 11:06 AM
Problem upgrading mozilla-1.0.1 to mozilla 1.3.1 k0ljat Linux - Software 8 07-04-2003 01:18 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration