Frenzy - FreeBSD-based LiveCD

Guest 

  how do I change screen resolution?

section "Software" >>

vees
(vineyard saker)
21.12.2005 (21:22)

Hi, dobryi den,

Frenzy seems to default into a very low resolution on my machine. Is there a utilty to change the resolution to something close to 1024x768x75?

Many thanks,

VS

vees
(vineyard saker)
21.12.2005 (22:50)

I should add that I did look at the Xfree86.conf file but I have no idea how to edit it :-(

any pointers would be very much appreciated!

VS

techniX
(Mozhaisky Sergei)
22.12.2005 (00:12)

I need additional info.
1) Which video card is in your PC? It seems that it detected incorrectly or not detected at all.
2) What was written to /etc/X11/XF86Config in "Device" section, option "Driver"?

vees
(vineyard saker)
22.12.2005 (01:30)

Card: I have a Mach64 Rage XL AGP

File: I did not find a file /etc/X11/XF86Config but here is my comlete XF86Config.default:

-----
# XFree86 configuration file for Frenzy 0.3

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"

FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/illinoy/"
# FontPath "/usr/X11R6/lib/X11/fonts/webfonts/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
EndSection

Section "Module"
# Load "record"
Load "ddc"
Load "dri"
Load "dbe"
Load "extmod"
Load "glx"
Load "xtrap"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:ctrl_shift_toggle,ctrl:ctrl_aa,grp_led:scroll"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# DefaultDepth 16
SubSection "Display"
Depth 1
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

---

Also, I looked into the hwinfo file under tmp and it was empty. I ran the script myself, and it returned an error. When I use hwinfo with my Debian-Sarge it returns a huge amount of very detailed info. There seems to be something wrong with the hardware detection. The mouse works just fine though.

Many thanks in advance, privet,

VS

techniX
(Mozhaisky Sergei)
22.12.2005 (08:58)

XF86Config.default is used as a template for 'xautoconf' tool. The actual config file /etc/X11/XF86Config will be created after you run 'startx' first time. Or you can just run 'xautoconf' to generate it. Then look at /etc/X11/XF86Config and tell me what device driver was written to it (this section will be at the end of file).

The 'hwinfo' script was written entirely by me and not heavily tested, so in some cases it doesn't work (Linux hwinfo tool can't be ported, because it takes hardware information from procfs). Give me the exact error message, I'll try to fix this problem.

vees
(vineyard saker)
22.12.2005 (15:50)

Good morning techniX,

Thanks for the follow-up. Here is my /etc/X11/XF86Config:


-------
# XFree86 configuration file for Frenzy 0.3

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"

FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/illinoy/"
# FontPath "/usr/X11R6/lib/X11/fonts/webfonts/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
EndSection

Section "Module"
# Load "record"
Load "ddc"
Load "dri"
Load "dbe"
Load "extmod"
Load "glx"
Load "xtrap"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:ctrl_shift_toggle,ctrl:ctrl_aa,grp_led:scroll"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# DefaultDepth 16
SubSection "Display"
Depth 1
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "accel" # []
#Option "crt_display" # []
#Option "composite_sync" # []
#Option "hw_cursor" # []
#Option "linear" # []
#Option "mmio_cache" # []
#Option "test_mmio_cache" # []
#Option "panel_display" # []
#Option "probe_clocks" # []
#Option "reference_clock" #
#Option "shadow_fb" # []
#Option "sw_cursor" # []
Identifier "Card0"
Driver "ati"
VendorName "ATI"
BoardName "Rage XL AGP 2X"
ChipSet "ati"
ChipId 0x474d
ChipRev 0x65
BusID "PCI:1:5:0"
EndSection

-------

Looks to me like Frenzy *correctly* identified my Rage XL AGP. When Knoppix gets the same result, it offers 1024x768x75 (the best screen resolution I could get, but not with Knoppix, is 1280x1024x75).

Also - I tried the dial-up script and it asked me for a domain. What do I enter here? How can a dialling-up machine have a domain? Mine would be localdomain. What am I missing here?!

Many thanks again and big "BRAVO!" for the fantastic CD you made.

VS

PS: I will come back with the hwinfo error later. I tried to re-direct the error with hwinfo 2> error.text but that did not work. How is error re-direction done in BSD?

techniX
(Mozhaisky Sergei)
22.12.2005 (16:38)

Try to uncomment this line
# DefaultDepth 16
then start X again. If this does not work, try
DefaultDepth 15

The dialup script (ppp-config) is very buggy at the moment (no PAP/CHAP supported), use 'xisp' if you wish to setup dial-up connection.

The error redirection is correct. Maybe, you trying to redirect to file on read-only part of CD? try 'hwinfo 2> /root/error.txt'

vees
(vineyard saker)
22.12.2005 (18:28)

the error message I get when executing hwinfo is:

-------
[root@frenzycd] /root# hwinfo
Unmatched ( before HERE mark in regex m/( << HERE cd0:/ at /usr/local/bin/hwinfo line 411.
[root@frenzycd] /root
-------

I tried uncommenting # DefaultDepth 16 with no better result. Then I replaced 16 with 15. No better result. But than I noticed that the terminal displayed, among many other messages, "glubina tsveta 15" and "glubina tsveta 16" (depending on which was set in /etc/X11/XF86Config) which shows that it was reading it fine but that something other was overriding that. Any ideas?

Also - I tried xisp which, exactly as the other dial-up script, seemed to connect and then immidiately dropped the connection. I try fiddling around with the account but got the same results.

Not my day today :-(

Thanks for your efforts though!

Cheers,

VS

vees
(vineyard saker)
22.12.2005 (19:57)

A couple of more things:

I tried to do this with the screen secntion of the file:

-------
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

-------

And even that did not work - the machine went to 600x800 or even worse.

Could it be fluxbox or some other app over-riding /etc/X11/XF86Config?

Also, is it possble to add strace or ltrace to Frenzy? If yes, I could try to debug the hwinfo script to see what is going on.

Cheers!

VS

vees
(vineyard saker)
22.12.2005 (20:18)

I almost forgot: is there a way to change screen resolution in *BSD by a combination of keys like, for example, ctrl+alt+(+) or ctrl+alt+(-)? [Knoppix, for example, found three modes (640x480, 800x600 and 1024x768) for my maching and I can rotate through them by pressing these combination of key]

privet i poklon,

VS

  [ 1-10 of 18 ]
 
  1 2   >> 

m-forum v0.85d


Rambler's Top100