LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Mozilla and Mozilla Screen Problem (https://www.linuxquestions.org/questions/%2Absd-17/mozilla-and-mozilla-screen-problem-152113/)

satimis 03-01-2004 03:12 AM

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

LinuxBAH 04-07-2004 02:30 AM

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.

mrcheeks 04-07-2004 06:06 AM

where is DefaultDepth in your file

satimis 04-07-2004 07:09 AM

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

mrcheeks 04-07-2004 07:30 AM

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

satimis 04-07-2004 07:33 AM

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

satimis 04-07-2004 09:36 AM

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

Marble 04-07-2004 11:00 AM

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...

satimis 04-07-2004 12:05 PM

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

Marble 04-07-2004 09:02 PM

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.

mrcheeks 04-07-2004 09:52 PM

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.

satimis 04-08-2004 07:08 AM

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

LinuxBAH 04-11-2004 05:05 PM

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.


All times are GMT -5. The time now is 10:45 PM.