DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 6th April 2010
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by bmk1st View Post
mfaridi, did you try what ocicat suggested? You can try to run X windows without using xorg.conf. OpenBSD now can auto-configure X without xorg.conf.

You should try to move xorg.conf out of /etc/X11 and then start X. Try it and see what happens.
I do that , before memory test system hang again
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 6th April 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

So as suggested before, bring back xorg.conf and use "vesa", beyond fiddling with s3virge driver options and getting lucky.. there really isn't anything else we can do for you.

Try the mailing lists, or a snapshot.
Reply With Quote
Old 6th April 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,902
Thanked 190 Times in 160 Posts
Default

mfaridi, the purpose of quoting previous posts is to point out to readers what specific point(s) are being addressed in your response. Simply quoting the entire message leads to confusion (What was cut out, or why include the whole thing?) & ultimately is nothing more than noise.
Reply With Quote
Old 6th April 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,902
Thanked 190 Times in 160 Posts
Default

mfaridi, if you have truly tried X's vesa driver (as originally suggested by BSDfan666...), & this has not worked, there is little else anyone will be able to suggest.

However, I do have questions, some which have been raised by others, & I will mention these again. Whether you want to experiment further is up to you as none of us are there to observe firsthand this hardware or what you have done.
  • I would assume you find this system unusable without X. If so, I would make one more attempt if I were you by reinstalling from the beginning. You already have issues with your current partition sizes, so fix them now. Likewise, test X immediately after installation. Don't install hordes of applications, & then wonder why X doesn't work.
  • If X works on a pristine installation, install your most important application next, then test X again. Watch df(1) usage while you continue installation & configuration. Repeat until all applications have been installed.
  • IdOp raised the question which was never answered -- why is /usr filling up? By watching installation/configuration more closely, maybe you will be able to answer that question to yourself. For whatever reason, it is not clear in any of our minds what you have been doing.
As I mentioned early in this thread, it does not appear that you are very systematic in your approach to installation as you get to the end & then have no idea why nothing works. When confronted with situations which aren't working, there are three questions you need to both ask & answer yourself:
  • What is it that isn't working, & how did I get here?
  • What is the most minimal configuration which will generate this same problem?
  • What can I do in the future to avoid this problem?
To answer these questions may mean that you install many times. Yes, this takes time, but the result is that you can critique your own style & learn from your mistakes. This is what will make you a better engineer. Don't get distracted by other things when installing. Focus on the task at hand. If this means turning off the radio & sequestering yourself from other distractions, do it. Missing significant early signs simply compounds themselves with other messes later on. Missing early signs results in the sloppy mess you have right now.

Can this old system be used for OpenBSD? It appears that you have enough disk space & the memory is good. Before writing off the entire experience as a failure, I personally would install again, but this time be smart about the process.
Reply With Quote
Old 6th April 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,902
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by mfaridi View Post
I do this
first ssh to OpenBSD from another system and run this
Code:
tail -f /var/log/Xorg.0.log
and go to OpenBSD system and run
Code:
startx
and system hang...
So let me ask this question -- where were you trying to start X via startx? Locally on the Pentium I system itself or remotely from another system?

Following my theme of simplicity, you should verify that X works locally first where you have a monitor, keyboard, & mouse attached. Then start startx here.

It's starting to look like you were trying to tunnel X through SSH to a remote system without doing any configuration. It doesn't work that way.

Has a monitor, keyboard, & mouse always been connected to this Pentium I system?
Reply With Quote
Old 7th April 2010
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
So as suggested before, bring back xorg.conf and use "vesa", beyond fiddling with s3virge driver options and getting lucky.. there really isn't anything else we can do for you.

Try the mailing lists, or a snapshot.
Is this enough I remove s3virge from xorg.conf and put vesa in it ,
Is this good I replace s3virge with vesa ?
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 7th April 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

You can set the Driver option in the Device section to "vesa", this will be an unaccelerated framebuffer.

If you do this, VendorName/BoardName/BusID and most other options can be commented out or removed.. except for Identifier & Driver, of course.

Other choices like trying a snapshot have been given before, have you considered doing that?
Reply With Quote
Old 7th April 2010
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Thanks
All guys
I replace s3virge with vesa in xorg.conf
and reboot system after that I run this command
Code:
echo "exec fluxbox" >.xinitrc
and run startx
and after that I have fluxbox . but
I have some problem
1-I read this link
http://www.openbsd.org/faq/faq11.html#amd64i386
and do everything I see in this page, but resolution of monitor is not good and I do not have good resolution
2- I install many package like opera and thunderbird but I do have them in main menu
how add new packages to main menu and use them

it is my first experience with fluxbox , all time I use Gnome and KDE.
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 7th April 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

VESA capabilities are fairly limited, there is a select list of predefined modes in the video BIOS, X may default at lower resolution (800x600).. you can try choosing another by one listed in xrandr output, i.e: xrandr -s 1024x768.

Based on the Xorg.0.log output on the first page, replacing your Monitor section with the following MIGHT help if no other modes are listed in xrandr output.
Code:
Section "Monitor"
	Identifier "FLATRON 775FT"
	DisplaySize 310 230
	VertRefresh 50-160
	HorizSync 30-70
	Modeline "1024x768"  78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync
	Modeline "1152x864"  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync
EndSection
As for fluxbox, configuration is done inside text files, they're in ~/.fluxbox/ and the website has some fairly good documentation.

Good luck.
Reply With Quote
Old 7th April 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,795
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by mfaridi View Post
...I do not have good resolution ...
Here is a link to a VESA 1024x768, 24-bit color, 8MB video RAM xorg.conf:

http://www.daemonforums.org/showpost...41&postcount=2

Note the very first line in that xorg.conf file. It mentions a program you can use to create your own xorg.conf files.
Quote:
..how add new packages to main menu and use them...
Use the fluxbox-generate_menu shell command, and then manually edit ~/.fluxbox/menu if necessary.
Reply With Quote
Old 7th April 2010
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by jggimi View Post
Here is a link to a VESA 1024x768, 24-bit color, 8MB video RAM xorg.conf:

http://www.daemonforums.org/showpost...41&postcount=2

Note the very first line in that xorg.conf file. It mentions a program you can use to create your own xorg.conf files.
Use the fluxbox-generate_menu shell command, and then manually edit ~/.fluxbox/menu if necessary.
DO you recoommand I use this xorg.conf and delete my xorg and use this xorg ?
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 7th April 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,795
Thanked 214 Times in 189 Posts
Default

No. Don't delete something until you know its replacement works.

I recommend you save your current xorg.conf, and then try this one.

WARNING: If your video RAM is less than 8MB, alter the xorg.conf or create a new one.
Reply With Quote
Old 7th April 2010
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by jggimi View Post
No. Don't delete something until you know its replacement works.

I recommend you save your current xorg.conf, and then try this one.

WARNING: If your video RAM is less than 8MB, alter the xorg.conf or create a new one.
your Xorg.conf dose not solve this problem and resolution is terrible
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 7th April 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,795
Thanked 214 Times in 189 Posts
Default

Feel free to use xorgconfig(1) and build your own.
Reply With Quote
Old 7th April 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

Your screen is a "FLATRON 775FT" according to xorg.log, which is a 17" CRT screen according to google.

For most 17" CRT (4:3 ratio) screens 1280x1024 @ 60 hertz is the highest supported resulotion, although 1024x768 should also work fine (In fact, many people prefer this).
You can try replacing "1024x768" with "1280x1024" and see if that works better.

You may need to manually adjust the stretch/location with the controls on your screen though. CRT screens are not able to do this automatically as LCD screens can (Because it's an analogue electron stream and not digital pixels).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 7th April 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,795
Thanked 214 Times in 189 Posts
Default

According to wikipedia, the S3 ViRGE is capable of "1600x1200 with 16.7M colors at 80 Hz refresh (VX), 1280x1024 with 256 colors at 75 Hz refresh, 1024x768 with 64K colors at 75 Hz refresh, 800x600 16.7M colors at 75 Hz refresh."

According to this specification I found online at a store for the LG Flatron 775FT:
Code:
Max: 1280 x 1024 @ 60 Hz
Recommended: 1024 x 768 @ 85 Hz
Dot Pitch     0.24 MM Stripe Pitch
Misc. Features     ~ Horizontal Scan Range 30 - 70 kHz, Vertical Scan Range 50 - 160 Hz
~ 110 Mhz Video Input Bandwidth
I believe that mfaridi now has sufficient information to either use xorgconfig, or to give up.
Reply With Quote
Old 7th April 2010
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by jggimi View Post
According to wikipedia, the S3 ViRGE is capable of "1600x1200 with 16.7M colors at 80 Hz refresh (VX), 1280x1024 with 256 colors at 75 Hz refresh, 1024x768 with 64K colors at 75 Hz refresh, 800x600 16.7M colors at 75 Hz refresh."

According to this specification I found online at a store for the LG Flatron 775FT:
Code:
Max: 1280 x 1024 @ 60 Hz
Recommended: 1024 x 768 @ 85 Hz
Dot Pitch     0.24 MM Stripe Pitch
Misc. Features     ~ Horizontal Scan Range 30 - 70 kHz, Vertical Scan Range 50 - 160 Hz
~ 110 Mhz Video Input Bandwidth
I believe that mfaridi now has sufficient information to either use xorgconfig, or to give up.
Sorry my english is not very good .can you translate last line or this
Code:
I believe that mfaridi now has sufficient information to either use xorgconfig, or to give up
in very simple English
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 7th April 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,795
Thanked 214 Times in 189 Posts
Default

Option #1:

Use xorgconfig. This is a text-based tool that asks you questions, and creates an xorg.conf based on your answers.

Option #2:

Use different hardware, or a different OS.
Reply With Quote
Old 7th April 2010
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by jggimi View Post
Option #1:

Use xorgconfig. This is a text-based tool that asks you questions, and creates an xorg.conf based on your answers.

Option #2:

Use different hardware, or a different OS.
I will try this hardware because I do no have another hardware in here and I will succeed
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 7th April 2010
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

What happens when you run xrandr -s 1024x768?

What do mean by "resolution not good"?
1) All the text looks big (low resolution, probably 800x600)
or
2) Screen flickers because Vesa supports only 60hz refresh rate
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox don't start Artur FreeBSD General 4 3rd September 2009 01:04 PM
fluxbox crash? HELP bsdnewbie999 OpenBSD General 9 2nd April 2009 04:35 AM
HOWTO: Fluxbox from GIT vermaden Guides 6 3rd November 2008 12:13 PM
OpenBSD 4.3, XDM + FluxBox WeakSauceIII General software and network 2 19th May 2008 08:34 PM
gtk themes for fluxbox rex FreeBSD General 0 18th May 2008 03:24 AM


All times are GMT. The time now is 07:22 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick