Re: ATI Mobility Radeon 7500: radeon: Invalid PCI ID.

2023-07-22 Thread Jonathan Gray
On Sun, Jul 23, 2023 at 12:10:54AM +0200, Benjamin Stürz wrote:
> Hi misc@,
> 
> I just got an old Thinkpad T40 with an ATI Mobility Radeon 7500 (32MB)
> and installed OpenBSD 7.3-release on it.
> 
> Unfortunately GPU acceleration doesn't work,
> neofetch tells me that my GPU is llvmpipe.
> 
> When I run `glxinfo > /dev/null` I get the following output:
> > radeon: Invalid PCI ID.
> > libGL error: glx: failed to create dri2 screen
> > libGL error: failed to load driver: radeonsi
> 
> I tracked down the error to line 198 of
> /usr/xenocara/lib/mesa/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
> 
> The oldest GPU family in the switch stmt is r300, while my GPU is r100.
> This leads me to believe that hardware acceleration for my GPU is not
> supported.

Right.  Mesa removed 'classic' drivers, including r100.  There is a way
to build two different versions of Mesa and put libglvnd in front of
them, but we don't do that.

> 
> At least it's PCI ID is listed in
> /usr/xenocara/driver/xf86-video-ati/src/ati_pciids_gen.h:81
> 
> # pcidump -v> Domain /dev/pci0:
> >  0:0:0: Intel 82855PM Host
> > 0x: Vendor ID: 8086, Product ID: 3340
> > 0x0004: Command: 0106, Status: 2090
> > 0x0008: Class: 06 Bridge, Subclass: 00 Host,
> > Interface: 00, Revision: 03
> > 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
> > Cache Line Size: 00
> > 0x0010: BAR mem prefetchable 32bit addr: 0xd000/0x1000
> > 0x0014: BAR empty ()
> > 0x0018: BAR empty ()
> > 0x001c: BAR empty ()
> > 0x0020: BAR empty ()
> > 0x0024: BAR empty ()
> > 0x0028: Cardbus CIS: 
> > 0x002c: Subsystem Vendor ID: 1014 Product ID: 0529
> > 0x0030: Expansion ROM Base Address: 
> > 0x0038: 
> > 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
> > 0x00e4: Capability 0x09: Vendor Specific
> > 0x00a0: Capability 0x02: AGP
> >  0:1:0: Intel 82855PM AGP
> > 0x: Vendor ID: 8086, Product ID: 3341
> > 0x0004: Command: 0107, Status: 00a0
> > 0x0008: Class: 06 Bridge, Subclass: 04 PCI,
> > Interface: 00, Revision: 03
> > 0x000c: BIST: 00, Header Type: 01, Latency Timer: 60,
> > Cache Line Size: 00
> > 0x0010: BAR empty ()
> > 0x0014: BAR empty ()
> > 0x0018: Primary Bus: 0, Secondary Bus: 1, Subordinate Bus: 1,
> > Secondary Latency Timer: 40
> > 0x001c: I/O Base: 30, I/O Limit: 30, Secondary Status: 22a0
> > 0x0020: Memory Base: c010, Memory Limit: c010
> > 0x0024: Prefetch Memory Base: e000, Prefetch Memory Limit: e7f0
> > 0x0028: Prefetch Memory Base Upper 32 Bits: 
> > 0x002c: Prefetch Memory Limit Upper 32 Bits: 
> > 0x0030: I/O Base Upper 16 Bits: , I/O Limit Upper 16 Bits: 
> > 0x0038: Expansion ROM Base Address: 
> > 0x003c: Interrupt Pin: 00, Line: 00, Bridge Control: 000c
> >  0:29:0: Intel 82801DB USB
> > 0x: Vendor ID: 8086, Product ID: 24c2
> > 0x0004: Command: 0005, Status: 0280
> > 0x0008: Class: 0c Serial Bus, Subclass: 03 USB,
> > Interface: 00, Revision: 01
> > 0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
> > Cache Line Size: 00
> > 0x0010: BAR empty ()
> > 0x0014: BAR empty ()
> > 0x0018: BAR empty ()
> > 0x001c: BAR empty ()
> > 0x0020: BAR io addr: 0x1800/0x0020
> > 0x0024: BAR empty ()
> > 0x0028: Cardbus CIS: 
> > 0x002c: Subsystem Vendor ID: 1014 Product ID: 052d
> > 0x0030: Expansion ROM Base Address: 
> > 0x0038: 
> > 0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
> >  0:29:1: Intel 82801DB USB
> > 0x: Vendor ID: 8086, Product ID: 24c4
> > 0x0004: Command: 0005, Status: 0280
> > 0x0008: Class: 0c Serial Bus, Subclass: 03 USB,
> > Interface: 00, Revision: 01
> > 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
> > Cache Line Size: 00
> > 0x0010: BAR empty ()
> > 0x0014: BAR empty ()
> > 0x0018: BAR empty ()
> > 0x001c: BAR empty ()
> > 0x0020: BAR io addr: 0x1820/0x0020
> > 0x0024: BAR empty ()
> > 0x0028: Cardbus CIS: 
> > 0x002c: Subsystem Vendor ID: 1014 Product ID: 052d
> > 0x0030: Expansion ROM Base Address: 
> > 0x0038: 
> > 0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00
> >  0:29:2: Intel 82801DB USB
> > 0x: Vendor ID: 8086, Product ID: 24c7
> > 0x0004: Command: 0005, Status: 0280
> > 0x0008: Class: 0c Serial Bus, Subclass: 03 USB,
> > Interface: 00, Revision: 01
> > 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
> > Cache Line Size: 00
> > 0x0010: BAR empty ()
> > 0x0014: BAR empty ()
> > 

ATI Mobility Radeon 7500: radeon: Invalid PCI ID.

2023-07-22 Thread Benjamin Stürz

Hi misc@,

I just got an old Thinkpad T40 with an ATI Mobility Radeon 7500 (32MB)
and installed OpenBSD 7.3-release on it.

Unfortunately GPU acceleration doesn't work,
neofetch tells me that my GPU is llvmpipe.

When I run `glxinfo > /dev/null` I get the following output:

radeon: Invalid PCI ID.
libGL error: glx: failed to create dri2 screen
libGL error: failed to load driver: radeonsi


I tracked down the error to line 198 of
/usr/xenocara/lib/mesa/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c

The oldest GPU family in the switch stmt is r300, while my GPU is r100.
This leads me to believe that hardware acceleration for my GPU is not 
supported.


At least it's PCI ID is listed in
/usr/xenocara/driver/xf86-video-ati/src/ati_pciids_gen.h:81

# pcidump -v> Domain /dev/pci0:

 0:0:0: Intel 82855PM Host
0x: Vendor ID: 8086, Product ID: 3340
0x0004: Command: 0106, Status: 2090
0x0008: Class: 06 Bridge, Subclass: 00 Host,
Interface: 00, Revision: 03
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem prefetchable 32bit addr: 0xd000/0x1000
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1014 Product ID: 0529
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x00e4: Capability 0x09: Vendor Specific
0x00a0: Capability 0x02: AGP
 0:1:0: Intel 82855PM AGP
0x: Vendor ID: 8086, Product ID: 3341
0x0004: Command: 0107, Status: 00a0
0x0008: Class: 06 Bridge, Subclass: 04 PCI,
Interface: 00, Revision: 03
0x000c: BIST: 00, Header Type: 01, Latency Timer: 60,
Cache Line Size: 00
0x0010: BAR empty ()
0x0014: BAR empty ()
0x0018: Primary Bus: 0, Secondary Bus: 1, Subordinate Bus: 1,
Secondary Latency Timer: 40
0x001c: I/O Base: 30, I/O Limit: 30, Secondary Status: 22a0
0x0020: Memory Base: c010, Memory Limit: c010
0x0024: Prefetch Memory Base: e000, Prefetch Memory Limit: e7f0
0x0028: Prefetch Memory Base Upper 32 Bits: 
0x002c: Prefetch Memory Limit Upper 32 Bits: 
0x0030: I/O Base Upper 16 Bits: , I/O Limit Upper 16 Bits: 
0x0038: Expansion ROM Base Address: 
0x003c: Interrupt Pin: 00, Line: 00, Bridge Control: 000c
 0:29:0: Intel 82801DB USB
0x: Vendor ID: 8086, Product ID: 24c2
0x0004: Command: 0005, Status: 0280
0x0008: Class: 0c Serial Bus, Subclass: 03 USB,
Interface: 00, Revision: 01
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR empty ()
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR io addr: 0x1800/0x0020
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1014 Product ID: 052d
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
 0:29:1: Intel 82801DB USB
0x: Vendor ID: 8086, Product ID: 24c4
0x0004: Command: 0005, Status: 0280
0x0008: Class: 0c Serial Bus, Subclass: 03 USB,
Interface: 00, Revision: 01
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR empty ()
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR io addr: 0x1820/0x0020
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1014 Product ID: 052d
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00
 0:29:2: Intel 82801DB USB
0x: Vendor ID: 8086, Product ID: 24c7
0x0004: Command: 0005, Status: 0280
0x0008: Class: 0c Serial Bus, Subclass: 03 USB,
Interface: 00, Revision: 01
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR empty ()
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR io addr: 0x1840/0x0020
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1014 Product ID: 052d
0x0030: Expansion ROM Base Address: 
  

Re: how to startx with kde?

2023-07-22 Thread Martin Schröder
Am Sa., 22. Juli 2023 um 23:15 Uhr schrieb Greg Thomas
:
> Have you read:
>
> https://www.openbsd.org/faq/faq11.html

Where does that mention KDE?

Best
Martin

P.S.: Please learn to quote



Re: how to startx with kde?

2023-07-22 Thread Greg Thomas
Have you read:

https://www.openbsd.org/faq/faq11.html

On Sat, Jul 22, 2023 at 12:25 PM ykla  wrote:

> Hi,
>
> I install kde by pkg_add kde but how to boot it? Here isn't any login
> manager except gdm in openbsd. But gdm seems that can only boot gnome in
> openbsd.
>
> So how can I boot it? And even it not be booted and why no any warning or
> error after installation?
>
> ykla
>


Huawei Kunpeng 920 stop after installation

2023-07-22 Thread ykla
Hi,

After i install, system stop at:

---
disks :sd0* sd1 sd2 sd3

>>OpenBSD/arm64 BOOTAA64 1.12

boot>

cannot open sd0a :/etc/random.seed: No such file or directory

booting sd0a :/bsd: 2737792+1042224+12703464+633568
[228239+91+635880+248536]=0x1

FACP PCCT SSDT GTDT MCFG SPCR APIC IORT VFCT PPTT
--

00:00.0 PCI bridge: Huawei Technologies Co., Ltd. HiSilicon PCIe Root Port
with Gen4 (rev 21) (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Capabilities: 
 Kernel driver in use: pcieport

00:08.0 PCI bridge: Huawei Technologies Co., Ltd. HiSilicon PCIe Root Port
with Gen4 (rev 21) (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Capabilities: 
 Kernel driver in use: pcieport

00:0a.0 PCI bridge: Huawei Technologies Co., Ltd. HiSilicon PCIe Root Port
with Gen4 (rev 21) (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Capabilities: 
 Kernel driver in use: pcieport

00:0c.0 PCI bridge: Huawei Technologies Co., Ltd. HiSilicon PCIe Root Port
with Gen4 (rev 21) (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Capabilities: 
 Kernel driver in use: pcieport

00:0d.0 PCI bridge: Huawei Technologies Co., Ltd. HiSilicon PCIe Root Port
with Gen4 (rev 21) (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Capabilities: 
 Kernel driver in use: pcieport

00:0e.0 PCI bridge: Huawei Technologies Co., Ltd. HiSilicon PCIe Root Port
with Gen4 (rev 21) (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Capabilities: 
 Kernel driver in use: pcieport

00:0f.0 PCI bridge: Huawei Technologies Co., Ltd. HiSilicon PCIe Root Port
with Gen4 (rev 21) (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Capabilities: 
 Kernel driver in use: pcieport

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Oland [Radeon HD 8570 / R5 430 OEM / R7 240/340 / Radeon 520 OEM] (rev 87)
(prog-if 00 [VGA controller])
 Subsystem: Bitland(ShenZhen) Information Technology Co., Ltd. Radeon 520
OEM
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
 Kernel driver in use: radeon
 Kernel modules: radeon, amdgpu

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
 Subsystem: Bitland(ShenZhen) Information Technology Co., Ltd.
Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel

03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD
Controller SM981/PM981/PM983 (prog-if 02 [NVM Express])
 Subsystem: Samsung Electronics Co Ltd SSD 970 EVO Plus 1TB
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
 Kernel driver in use: nvme
 Kernel modules: nvme

04:00.0 Network controller: Huawei Technologies Co., Ltd. Device 1103 (rev
02)
 Subsystem: Huawei Technologies Co., Ltd. Device 
 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 

Re: how to startx with kde?

2023-07-22 Thread Chris Narkiewicz
On Sun, Jul 23, 2023 at 03:22:13AM +0800, ykla wrote:
> Hi,
> 
> I install kde by pkg_add kde but how to boot it?

There is no Plasma desktop on OpenBSD. KDE metapackage
installs KDE applications.

Best regards,
Chris Narkiewicz



How to customize disk partition in UEFI?

2023-07-22 Thread ykla
For OpenBSD installation, I choose custom disk in partition. And I set the
first partition is MSDOS and mountpoint is /boot/efi and the second
partition is /, the last partition is swap. And I continue install openbsd,
but at least it warning me that boot install failed, the system will not
boot.

And set none mountpoint is also be errors.

Last I Automated partition first and delete all partition except i that is
MSDOS partition. Then everything is fine.

So how to customize disk partition in UEFI except Auto creates EFI
partition?

ykla


how to startx with kde?

2023-07-22 Thread ykla
Hi,

I install kde by pkg_add kde but how to boot it? Here isn't any login
manager except gdm in openbsd. But gdm seems that can only boot gnome in
openbsd.

So how can I boot it? And even it not be booted and why no any warning or
error after installation?

ykla


[no subject]

2023-07-22 Thread H


A

2023-07-22 Thread K
c


a

2023-07-22 Thread S
b

发自我的iPhone



a

2023-07-22 Thread S
a

发自我的iPhone



a

2023-07-22 Thread S
a

发自我的iPhone



Subscribe

2023-07-22 Thread A
Subscribe