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
  #1   (View Single Post)  
Old 22nd June 2022
harrollld harrollld is offline
Fdisk Soldier
 
Join Date: Jan 2022
Posts: 56
Default my long quest to the puffy : openbsd questions, part2(or3..4..)

hello,

here one time more Im requesting a bit for online help

here are the things :

a. I have the following 8440p ultra-heat-laptop whom obsd installed, but doesnt works with screen/xorg : with the following link, is it possible to enable X on it?
https://bsd-hardware.info/?probe=25d5a77b59
I already did a fw_update + isotop attempt, but X start failed (no screen found)
how could I solve it?
ty

b. does broadcom wifi chipset (such as Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)) could in the future being supported, or just not planned of being?

c. is it possible to start openbsd in "failsafe mode" with the / and /usr slices "writable"? In case I do a mistake in /etc conf files, whom I could repair it?

d. I learned about using the pkg_info -Q searched-package ; Id like to know if it's possible to know two key things (for me, those are important information) : 1. the number of "dependencies required" (eg for firefox, obviously it's not only one package downloaded) 2. the total size amount (eg in MB) taken by all going to be installed packages? for example, "vlc package and deps are going to take 150MB"?

I thank you vm, I might have lot of others questions soon..
Reply With Quote
  #2   (View Single Post)  
Old 22nd June 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,717
Default

Quote:
Originally Posted by harrollld View Post
hello,

here one time more Im requesting a bit for online help

here are the things :

a. I have the following 8440p ultra-heat-laptop whom obsd installed, but doesnt works with screen/xorg : with the following link, is it possible to enable X on it?
https://bsd-hardware.info/?probe=25d5a77b59
I already did a fw_update + isotop attempt, but X start failed (no screen found)
how could I solve it?
ty
Your NVIDIA graphics card is an NVS 3100M. This is listed among the cards supported by the nv(4) driver in its descriptive output in your xorg log but it appears that there is an issue with automatic configuration of the display:
Code:
[    29.363] (EE) NV(0): No valid initial configuration found
[    29.364] (II) UnloadModule: "nv" 
[    29.364] (II) UnloadSubModule: "int10" 
[    29.364] (II) Unloading int10 
[    29.364] (EE) Screen(s) found, but none have a usable configuration.
It isn't clear to me how to resolve this, other than possibly forcing the use of the generic VESA driver -- which isn't very useful as it has no 2D or 3D acceleration.

Quote:
b. does broadcom wifi chipset (such as Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)) could in the future being supported, or just not planned of being?
Generally, to support a new piece of hardware, a developer needs:
  1. interest in the hardware
  2. one or more samples of the hardware.
If you have an extra NIC available to ship to a developer, you could certainly ask on the Project's misc@ mailing list if there is an interested developer.


Quote:
c. is it possible to start openbsd in "failsafe mode" with the / and /usr slices "writable"? In case I do a mistake in /etc conf files, whom I could repair it?
Yes. You start by booting into single-user mode (single-user boot varies by architecture, see the boot(8) man page) then use # mount -a to mount all normally mounted filesystems. See mount(8) for more information about `-a`.


Quote:
d. I learned about using the pkg_info -Q searched-package ; Id like to know if it's possible to know two key things (for me, those are important information) : 1. the number of "dependencies required" (eg for firefox, obviously it's not only one package downloaded) 2. the total size amount (eg in MB) taken by all going to be installed packages? for example, "vlc package and deps are going to take 150MB"?
The `-s` option of pkg_add(1) is what you may be looking for.
Reply With Quote
  #3   (View Single Post)  
Old 25th June 2022
harrollld harrollld is offline
Fdisk Soldier
 
Join Date: Jan 2022
Posts: 56
Default

for the 8440p here is the xorg log :
https://www.3hg.fr/CHATONS/Pastebin/...4nGgRoDf2Lx1fL

b. is it possible to dev it with zero skill? how much time to learn? or help a dev while testing for him?

d. unfortunately -Qs doesnt brought the size/number of deps regarding a requested package ..
Reply With Quote
  #4   (View Single Post)  
Old 25th June 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,717
Default

Quote:
Originally Posted by harrollld View Post
for the 8440p here is the xorg log :
https://www.3hg.fr/CHATONS/Pastebin/...4nGgRoDf2Lx1fL

b. is it possible to dev it with zero skill?
No. It may be possible to force the use of a VESA graphics configuration with the vesa(4) driver via xorg.conf(5) provisioning.
Quote:
how much time to learn?
Even with decades of knowledge and skill, this is unlikely for any NVIDIA hardware, because NVDIA is a closed-source company that does not publish their interfaces. The nv(4) driver was developed by staff at NVIDIA from 2003 through 2010, after which they abandoned it.
Quote:
d. unfortunately -Qs doesnt brought the size/number of deps regarding a requested package ..
Example, using the abcde package, an application for audio CDs. Installing this package would add 21 KB of data to /etc and 17 MB to /usr/local. Please note that this is pkg_add(1) and not pkg_info(1), and that this can be run by a normal user as nothing is actually added to the system, only size requirements are calculated:
Code:
$ pkg_add -s abcde
quirks-6.8 signed on 2022-06-22T11:21:52Z
/dev/sd1a on /: 21485 bytes
/dev/sd1h on /usr/local: 17349893 bytes
$
Reply With Quote
  #5   (View Single Post)  
Old 26th June 2022
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,975
Default

I wrote and tested a simple script that makes it easy to configure the vesa(4) driver. Maybe that will you to run X Window on your OpenBSD system.

See http://daemonforums.org/showthread.p...ng Vesa driver
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #6   (View Single Post)  
Old 26th June 2022
harrollld harrollld is offline
Fdisk Soldier
 
Join Date: Jan 2022
Posts: 56
Default

Quote:
Originally Posted by J65nko View Post
I wrote and tested a simple script that makes it easy to configure the vesa(4) driver. Maybe that will you to run X Window on your OpenBSD system.

See http://daemonforums.org/showthread.p...ng Vesa driver
looks it works at reboot, but how could I change the resolution?
Reply With Quote
  #7   (View Single Post)  
Old 26th June 2022
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,975
Default

You can cycle through the available resolutions with CTRL-ALT+ (With your left hand press CONTROL and ALT key at the same time. Press the "+" key on the numeric keypad with the other hand)

Probably this will not help much though .....

The resolution is dependent on the horizontal synch frequency and the vertical refresh frequency ranges.

From xorg.conf(5):

Code:
HorizSync  horizsync-range
              gives the range(s) of horizontal sync frequencies supported by
              the monitor.  horizsync-range may be a comma separated list of
              either discrete values or ranges of values.  A range of values
              is two values separated by a dash.  By default the values are in
              units of kHz.  They may be specified in MHz or Hz if MHz or Hz
              is added to the end of the line.  The data given here is used by
              the Xorg server to determine if video modes are within the
              specifications of the monitor.  This information should be
              available in the monitor's handbook.  If this entry is omitted,
              a default range of 28-33kHz is used.

VertRefresh  vertrefresh-range
              gives the range(s) of vertical refresh frequencies supported by
              the monitor.  vertrefresh-range may be a comma separated list of
              either discrete values or ranges of values.  A range of values
              is two values separated by a dash.  By default the values are in
              units of Hz.  They may be specified in MHz or kHz if MHz or kHz
              is added to the end of the line.  The data given here is used by
              the Xorg server to determine if video modes are within the
              specifications of the monitor.  This information should be
              available in the monitor's handbook.  If this entry is omitted,
              a default range of 43-72Hz is used.
My monitor came with a leaflet that mentioned these frequency ranges. Because it lacks the DDC hardware, X cannot retrieve these frequencies from my monitor. So I have to specify them in a config file.

See http://daemonforums.org/showthread.php?t=11734 for a script that generates this config file for my monitor.

The big question is which specific frequencies are suitable for your monitor. Wrong frequencies could harm your monitor or screen. So you have to find this info somewhere.
Do you know which resolutions your screen can use?

Can you post your /var/log/Xorg.0.log of the VESA driver in a pastebin?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump

Last edited by J65nko; 27th June 2022 at 01:06 AM.
Reply With Quote
  #8   (View Single Post)  
Old 27th June 2022
harrollld harrollld is offline
Fdisk Soldier
 
Join Date: Jan 2022
Posts: 56
Default

Quote:
Can you post your /var/log/Xorg.0.log of the VESA driver in a pastebin?
here it is:
https://www.3hg.fr/CHATONS/Pastebin/...1SCzLaQF8Vz3fA

Last edited by J65nko; 27th June 2022 at 08:59 PM. Reason: Removed complete quote, please keep in mind HDD disk space ......
Reply With Quote
  #9   (View Single Post)  
Old 27th June 2022
harrollld harrollld is offline
Fdisk Soldier
 
Join Date: Jan 2022
Posts: 56
Default

also have this for x53t laptop :
Quote:
d1 at scsibus2 targ 1 lun 0: <Generic-, Multi-Card, 1.00> removable serial.0bda0138516388200000
x53t# dmesg > /tmp/dmesg
x53t# vi /tmp/dmesg
x53t# fw_update
fw_update: added none; updated none; kept athn,radeondrm,uvideo,vmm
x53t# exit
x53t$ glxgears
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: image driver extension not found
libGL error: failed to load driver: radeon
libGL error: failed to open /dev/dri/card0: Permission denied
libGL error: failed to open /dev/dri/card0: Permission denied
libGL error: failed to load driver: r600
https://bsd-hardware.info/?probe=6ce39c5e61
Reply With Quote
Old 27th June 2022
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,975
Default

Quote:
Originally Posted by harrollld View Post
also have this for x53t laptop
Please don't confuse us by bring in another piece of hardware . Let us concentrate on one problem: the HP EliteBook 8440p laptop with the nVidia .NVS 3100M graphics.

According to https://www.manualslib.com/manual/69...?page=6#manual it supports a resolution of "1366 x 768"

"The external DisplayPorts: Up to 32-bit per pixel color depth
DisplayPort supports resolutions up to 2560 x 1600, 30-bit color depth at 60 Hz, and full HD (1920 x 1080) monitors, 24-bit color depth at 120 Hz
The external VGA port supports resolutions up to 2048 x 1536 at 75 Hz, and lower resolutions at up to 100 Hz"

If it was my laptop I would first try it with a Linux Mint live CD/USB image and inspect the the Mint Xorg.0.log file. Or I would go to a friend who has a external monitor and see how that goes.

What is the output of $ xrandr --verbose?
This is mine (still with the VESA driver):
Code:
xrandr --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 400, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 (0x51b) normal (normal) 0mm x 0mm
        Identifier: 0x51a
        Timestamp:  20621
        Subpixel:   unknown
        Clones:    
        CRTC:       0
        CRTCs:      0
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        non-desktop: 0 
                supported: 0, 1
  1280x1024 (0x51b) 99.615MHz *current
        h: width  1280 start    0 end    0 total 1280 skew    0 clock  77.82KHz
        v: height 1024 start    0 end    0 total 1024           clock  76.00Hz
  1024x768 (0x51c) 59.769MHz
        h: width  1024 start    0 end    0 total 1024 skew    0 clock  58.37KHz
        v: height  768 start    0 end    0 total  768           clock  76.00Hz
  800x600 (0x51d) 35.040MHz
        h: width   800 start    0 end    0 total  800 skew    0 clock  43.80KHz
        v: height  600 start    0 end    0 total  600           clock  73.00Hz
  640x480 (0x51e) 22.426MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock  35.04KHz
        v: height  480 start    0 end    0 total  480           clock  73.00Hz
  640x400 (0x51f)  0.000MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock   0.00KHz
        v: height  400 start    0 end    0 total  400           clock   0.00Hz
  320x400 (0x520)  0.000MHz
        h: width   320 start    0 end    0 total  320 skew    0 clock   0.00KHz
        v: height  400 start    0 end    0 total  400           clock   0.00Hz
Could you use another pastebin. I cannot read https://www.3hg.fr/CHATONS/Pastebin/...1SCzLaQF8Vz3fA because my Chrome browser on 7.1 does not support WebAssembly.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump

Last edited by J65nko; 27th June 2022 at 11:32 PM.
Reply With Quote
Old 5th July 2022
harrollld harrollld is offline
Fdisk Soldier
 
Join Date: Jan 2022
Posts: 56
Default

Quote:
Originally Posted by harrollld View Post
Quote:
Originally Posted by J65nko View Post
Could you use another pastebin. I cannot read https://www.3hg.fr/CHATONS/Pastebin/...1SCzLaQF8Vz3fA because my Chrome browser on 7.1 does not support WebAssembly.
https://paste.debian.net/1246275/

Quote:
Originally Posted by J65nko View Post
Please don't confuse us by bring in another piece of hardware . Let us concentrate on one problem: the HP EliteBook 8440p laptop with the nVidia .NVS 3100M graphics.

According to https://www.manualslib.com/manual/69...?page=6#manual it supports a resolution of "1366 x 768"

"The external DisplayPorts: Up to 32-bit per pixel color depth
DisplayPort supports resolutions up to 2560 x 1600, 30-bit color depth at 60 Hz, and full HD (1920 x 1080) monitors, 24-bit color depth at 120 Hz
The external VGA port supports resolutions up to 2048 x 1536 at 75 Hz, and lower resolutions at up to 100 Hz"

If it was my laptop I would first try it with a Linux Mint live CD/USB image and inspect the the Mint Xorg.0.log file. Or I would go to a friend who has a external monitor and see how that goes.

What is the output of $ xrandr --verbose?
This is mine (still with the VESA driver):
Code:
xrandr --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 400, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 (0x51b) normal (normal) 0mm x 0mm
        Identifier: 0x51a
        Timestamp:  20621
        Subpixel:   unknown
        Clones:    
        CRTC:       0
        CRTCs:      0
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        non-desktop: 0 
                supported: 0, 1
  1280x1024 (0x51b) 99.615MHz *current
        h: width  1280 start    0 end    0 total 1280 skew    0 clock  77.82KHz
        v: height 1024 start    0 end    0 total 1024           clock  76.00Hz
  1024x768 (0x51c) 59.769MHz
        h: width  1024 start    0 end    0 total 1024 skew    0 clock  58.37KHz
        v: height  768 start    0 end    0 total  768           clock  76.00Hz
  800x600 (0x51d) 35.040MHz
        h: width   800 start    0 end    0 total  800 skew    0 clock  43.80KHz
        v: height  600 start    0 end    0 total  600           clock  73.00Hz
  640x480 (0x51e) 22.426MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock  35.04KHz
        v: height  480 start    0 end    0 total  480           clock  73.00Hz
  640x400 (0x51f)  0.000MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock   0.00KHz
        v: height  400 start    0 end    0 total  400           clock   0.00Hz
  320x400 (0x520)  0.000MHz
        h: width   320 start    0 end    0 total  320 skew    0 clock   0.00KHz
        v: height  400 start    0 end    0 total  400           clock   0.00Hz
Could you use another pastebin. I cannot read https://www.3hg.fr/CHATONS/Pastebin/...1SCzLaQF8Vz3fA because my Chrome browser on 7.1 does not support WebAssembly.
on LMDE5:
https://www.3hg.fr/CHATONS/Pastebin/...hW3G9TVYe4761a

https://paste.debian.net/1246276/


(openbsd)
for xandr --verbose > file:
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 (0x51c) normal (normal) 0mm x 0mm
Identifier: 0x51b
Timestamp: 31043
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
non-desktop: 0
supported: 0, 1
1024x768 (0x51c) 47.972MHz *current
h: width 1024 start 0 end 0 total 1024 skew 0 clock 46.85KHz
v: height 768 start 0 end 0 total 768 clock 61.00Hz
800x600 (0x51d) 29.280MHz
h: width 800 start 0 end 0 total 800 skew 0 clock 36.60KHz
v: height 600 start 0 end 0 total 600 clock 61.00Hz
640x480 (0x51e) 18.432MHz
h: width 640 start 0 end 0 total 640 skew 0 clock 28.80KHz
v: height 480 start 0 end 0 total 480 clock 60.00Hz
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
Plush Puffy fvgit OpenBSD General 3 13th July 2018 08:45 PM
The Quest for the Holy Disklabel girarde OpenBSD General 1 22nd February 2017 04:13 PM
OpenBSD A Puffy in the corporate aquarium [success story] vermaden News 2 22nd April 2011 01:08 AM
Bash, long integer PatrickBaer Programming 2 2nd April 2010 03:25 AM


All times are GMT. The time now is 04:21 AM.


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