re: Radeon HD 5450?
Phil Nelson writes: > On Wed, 11 May 2022 11:15:42 +1000 > matthew green wrote: > > > do you have anything else handy to test? gpus are crazy stupid > > prices these days :-( > > Hi Matthew, > > My department has several nvidia around and I have not yet found > one that works to the point of getting X running. I've tried > the following: > >MSI GEFORCE GTX 1060 >GIGABYTE GEFORCE GTX 1650 >EVGA GEFORCE GTX 1018Ti (not enough power) >An older Radeon I had sitting around, not sure which one but > it blew up in the same place as the 5450 ... not mapping > the BIOS. >The video chip on the motherboard ... it finds it as > acpivga0 with acpiout0 to acpiout7. It finds a genfb0 > and labels it "Intel Rocket Lake UHD Graphics 750 (32EU) (rev. 0x04) > It then reports drm at genfb0 not configured. I do get a > working wscons with 4 screens. "X -configure" quits with > an error saying that the number of created screens does not > match number of detected devices. In the Xorg.0.log when > it probes for the Intel integrated Graphics Chipsets it > doesn't list the 750 and it doesn't match it. > I don't have heavy gpu requirements so if I could get the > intel UHD graphics working, that would be good. > > You said you have a working nouveau 730. I'll see if I can > acquire one of those to try. Any specific card you recommend? i have asus 730 and asus 1030 silent cards both working for me in my two main desktop systems now. the 730 did once assert(3) in libdrm_nouveau and X exited, and the 1030 has one had some minor display damage (green dots over the root window, likely generated by my green-on-black terminal, but cleared by simply moving a window over that space), and it's only been a couple of weeks using the 730, and few days for 1030. i don't have anything newer/better due to prices, and also cuz the above are more than sufficient for my needs. it's possible that back porting the rocket lake code wouldn't be too difficult -- that was true a few years back when i did this for kabylake when skylake was already supported... quick peek says that RKL appeared right after our drm, sometime between linux 5.6 and 5.10, and unfortunately, this struct: static const struct intel_device_info rkl_info = { in the new code has a couple of new members inside struct intel_device_info{} than our code, so the back port would need to consider these parts too. .mrg.
Re: Radeon HD 5450?
On Wed, 11 May 2022 11:15:42 +1000 matthew green wrote: > do you have anything else handy to test? gpus are crazy stupid > prices these days :-( Hi Matthew, My department has several nvidia around and I have not yet found one that works to the point of getting X running. I've tried the following: MSI GEFORCE GTX 1060 GIGABYTE GEFORCE GTX 1650 EVGA GEFORCE GTX 1018Ti (not enough power) An older Radeon I had sitting around, not sure which one but it blew up in the same place as the 5450 ... not mapping the BIOS. The video chip on the motherboard ... it finds it as acpivga0 with acpiout0 to acpiout7. It finds a genfb0 and labels it "Intel Rocket Lake UHD Graphics 750 (32EU) (rev. 0x04) It then reports drm at genfb0 not configured. I do get a working wscons with 4 screens. "X -configure" quits with an error saying that the number of created screens does not match number of detected devices. In the Xorg.0.log when it probes for the Intel integrated Graphics Chipsets it doesn't list the 750 and it doesn't match it. I don't have heavy gpu requirements so if I could get the intel UHD graphics working, that would be good. You said you have a working nouveau 730. I'll see if I can acquire one of those to try. Any specific card you recommend? --Phil
Re: Radeon HD 5450?
Date:Wed, 11 May 2022 22:00:03 - (UTC) From:mlel...@serpens.de (Michael van Elst) Message-ID: | Would be interesting to see what happens, when in EFI mode you | switch to the graphics mode with the gop command before booting | the kernel Not sure that my efiboot is up to that, but I can upgrade it if needed. When I get a chance, I will try, see if I duplicate RVP's results. It may still need to be an old (9.99.92) kernel if testing X is to be included, my (-8'ish version) X server simply references *0 with the expected result if run with a post DRM update kernel. Upgrading that is not happening soon. kre
Re: Radeon HD 5450?
On Wed, 11 May 2022, Michael van Elst wrote: Would be interesting to see what happens, when in EFI mode you switch to the graphics mode with the gop command before booting the kernel One of the first things I tried with my integrated IvyBridge Intel GPU. No change with the gop command in UEFI mode. (I set a 1024x768 mode which was what DRMKMS seems to go for on my HW.) I only got a usable console in UEFI mode with this hack: https://mail-index.netbsd.org/tech-kern/2022/04/12/msg028065.html In CSM mode, the modesetting driver works OK except for minor glitches. But, if you try the `wsfb' Xorg driver on top of `intelfb' you get what I can only describe as a 1-line framebuffer (graphics mode). The same thing with a FB test program on the console. The framebuffer looks like a single line of 1024? pixels right at the top of the screen. And, compiling-in some fonts (notably SPLEEN12x24--anything which doesn't seem to be a multiple of 8x8) causes the kernel to reboot right at the start. Haven't had the time to hunt any of these snarks yet... -RVP
Re: Radeon HD 5450?
k...@munnari.oz.au (Robert Elz) writes: >My suspicion when I first saw this was that in legacy mode >the BIOS is doing some console graphics init (and leaving it >that way) which NetBSD is depending upon, which at least >some firmware either does not do at all, or undoes, or >fails to pass along to the OS, or similar, in EFI mode. Would be interesting to see what happens, when in EFI mode you switch to the graphics mode with the gop command before booting the kernel
Re: Radeon HD 5450?
Date:Wed, 11 May 2022 18:48:16 +0200 From:Rhialto Message-ID: | I have one of those too in my "new" machine, and I also noticed that | when I booted in UEFI mode, it didn't work properly; but it has been a | while, I don't remember exactly what the issue was. I'm booting in | "BIOS mode" and with that it works fine. I have that issue with my laptop's Intel graphics. Works fine with a legacy BIOS boot, not at all with an EFI boot. This predates the DRM update from December, it is an old issue. My suspicion when I first saw this was that in legacy mode the BIOS is doing some console graphics init (and leaving it that way) which NetBSD is depending upon, which at least some firmware either does not do at all, or undoes, or fails to pass along to the OS, or similar, in EFI mode. When I first saw this (ages ago), I tried adding all the PCI FIXUP options to the kernel, those did not help. kre
Re: Radeon HD 5450?
On Tue 10 May 2022 at 15:44:19 -0700, Phil Nelson wrote: > Is the 5450 too old a device for the UEFI boot only machine or > is there a way to get the BIOS address for the autoconfiguration? I have one of those too in my "new" machine, and I also noticed that when I booted in UEFI mode, it didn't work properly; but it has been a while, I don't remember exactly what the issue was. I'm booting in "BIOS mode" and with that it works fine. > --Phil -Olaf. -- ___ "Buying carbon credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFHfalu.nl@rhialto signature.asc Description: PGP signature
re: Radeon HD 5450?
Phil Nelson writes: > Hi All, > >I've been trying to get -current running on a new Dell Precision > 3650. It is a UEFI boot only machine and when booting -current > with a Radeon HD 5450 installed (which works great on 9.2 on > an Dell Optiplex 7040) it panics when it can't find the Radeon BIOS. > > The messages at this point are: > > kern info: [drm] register mmio base: 0x7090 > kern info: [drm] register mmio size: 131072 > {drm:netbsd:radeon_get_bios+0x480} *ERROR Unable to locate a BIOS ROM > radeon0: autoconfiguration error: error: Fatal error during GPU init > radeon0: autoconfiguration error: unable to register drm: 22 > panic: cnopen: no console device > ... > > Is the 5450 too old a device for the UEFI boot only machine or > is there a way to get the BIOS address for the autoconfiguration? i can't easily check for a couple of weeks, but i have a system i think i had to use UEFI for that had a 5450. it didn't fail entirely like the above, it failed the "ring 3" test, and disabled acceleration. this mean eg, X worked ok, but many things use a lot of CPU. fortunately, this is a zen3 system so it's got a lot of CPU -- would cost about 1.5 cpus to play a 1080p video. this system has a nouveau 730 in it now, and everything is better except one time libdrm_nouveau triggered an assert() and X crashed. (an operation that should have a resource available didn't have it, and the assert() tripped this wanted invariant. i don't have the details handy.) the 5450 is old enough that while pcie shouldn't have these sorts of problems, i've had modern systems fail with pcie gpus, and i've had newer gpus fail in older pcie systems -- i believe it was the radeon RX 550 that caused my (old) core2 system to not boot. do you have anything else handy to test? gpus are crazy stupid prices these days :-( .mrg.
Radeon HD 5450?
Hi All, I've been trying to get -current running on a new Dell Precision 3650. It is a UEFI boot only machine and when booting -current with a Radeon HD 5450 installed (which works great on 9.2 on an Dell Optiplex 7040) it panics when it can't find the Radeon BIOS. The messages at this point are: kern info: [drm] register mmio base: 0x7090 kern info: [drm] register mmio size: 131072 {drm:netbsd:radeon_get_bios+0x480} *ERROR Unable to locate a BIOS ROM radeon0: autoconfiguration error: error: Fatal error during GPU init radeon0: autoconfiguration error: unable to register drm: 22 panic: cnopen: no console device ... Is the 5450 too old a device for the UEFI boot only machine or is there a way to get the BIOS address for the autoconfiguration? --Phil
Re: DRMKMS: NetBSD-current 201501242100 (7.99.4) and ATI Radeon HD 5450
Frank Kardel wrote: >I tried out the GENERIC kernel of current-201501242100. The good news is >that the KMS seems to work: [snip] >Unfortunately "X -configure" fails to detect any card. >The RADEON driver shortly lists the supported chipsets >but does not go on with the initialization. I don't think you need to do "X -configure". What error lines do you see in Xorg.0.log ? Robert Swindells
DRMKMS: NetBSD-current 201501242100 (7.99.4) and ATI Radeon HD 5450
Hi, I tried out the GENERIC kernel of current-201501242100. The good news is that the KMS seems to work: ... match_bootwedge: unable to read block 65 of dev dk6 (5) boot device: sd2 root on sd2a dumps on sd2b root file system type: ffs kern.module.path=/stand/amd64/7.99.4/modules drm: initializing kernel modesetting (CEDAR 0x1002:0x68F9 0x1787:0x2291). drm: register mmio base: 0xfea2 drm: register mmio size: 131072 drm kern info: ATOM BIOS: CEDAR radeon0: info: VRAM: 2048M 0x - 0x7FFF (2048M used) radeon0: info: GTT: 1024M 0x8000 - 0xBFFF drm: Detected VRAM RAM=800M, BAR=256M drm: RAM width 64bits DDR Zone kernel: Available graphics memory: 11587444 kiB Zone dma32: Available graphics memory: 2097152 kiB drm: radeon: 2048M of VRAM memory ready drm: radeon: 1024M of GTT memory ready. drm: Loading CEDAR Microcode drm: Internal thermal controller with fan control drm: radeon: dpm initialized drm: GART: num cpu pages 262144, num gpu pages 262144 drm: PCIE GART of 1024M enabled (table at 0x0025D000). radeon0: info: WB enabled radeon0: info: fence driver on ring 0 use gpu addr 0x8c00 and cpu addr 0x0x80023ccddc00 radeon0: info: fence driver on ring 3 use gpu addr 0x8c0c and cpu addr 0x0x80023ccddc0c radeon0: info: fence driver on ring 5 use gpu addr 0x0005c418 and cpu addr 0x0x80023c8dc418 drm: Supports vblank timestamp caching Rev 2 (21.10.2013). drm: Driver supports precise vblank timestamp query. radeon0: interrupting at ioapic1 pin 0 (radeon) drm: radeon: irq initialized. drm: ring test on 0 succeeded in 1 usecs drm: ring test on 3 succeeded in 1 usecs drm: ring test on 5 succeeded in 1 usecs drm: UVD initialized successfully. drm: ib test on ring 0 succeeded in 0 usecs drm: ib test on ring 3 succeeded in 0 usecs drm: ib test on ring 5 succeeded drm: Radeon Display Connectors drm: Connector 0: drm: HDMI-A-1 drm: HPD2 drm: DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c drm: Encoders: drm: DFP1: INTERNAL_UNIPHY1 drm: Connector 1: drm: DVI-D-1 drm: HPD4 drm: DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c drm: Encoders: drm: DFP2: INTERNAL_UNIPHY drm: Connector 2: drm: VGA-1 drm: DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c drm: Encoders: drm: CRT1: INTERNAL_KLDSCP_DAC1 radeondrmkmsfb0 at radeon0 radeon0: info: registered panic notifier radeondrmkmsfb0: framebuffer at 0x80023ceff000, size 2560x1440, depth 32, stride 10240 wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0 wsmux1: connecting to wsdisplay0 wsdisplay0: screen 1 added (default, vt100 emulation) wsdisplay0: screen 2 added (default, vt100 emulation) wsdisplay0: screen 3 added (default, vt100 emulation) wsdisplay0: screen 4 added (default, vt100 emulation) ... The radeondrmkmsfb0 driver is correctly initialize and a big consolescreen of 2560x1440 correctly appears. Unfortunately "X -configure" fails to detect any card. The RADEON driver shortly lists the supported chipsets but does not go on with the initialization. Compiling GENERIC with "radeondrm* at drm?" fails due to macro redefinitions. (with radeondrm in 7.99.1 the Xserver was able to initialize the radeon driver). Both Xservers find the card in the PCI bus as: 7.99.1: [52.580] (--) PCI:*(1:1:0:0) 1002:68f9:1787:2291 rev 0, Mem @ 0xd000/268435456, 0xfea2/131072, I/O @ 0xe000/256, BIOS @ 0x/131072 7.99.4: [ 655.185] (--) PCI:*(1:1:0:0) 1002:68f9:1787:2291 rev 0, Mem @ 0xd000/268435456, 0xfea2/131072, I/O @ 0xe000/256, BIOS @ 0x/131072 Is there anything else I need to chant as magic words? Best regards, Frank