daily CVS update output

2021-03-20 Thread NetBSD source update


Updating src tree:
P src/sys/arch/aarch64/aarch64/efi_machdep.c
P src/sys/arch/aarch64/aarch64/locore.S
P src/sys/arch/aarch64/aarch64/pmapboot.c
P src/sys/arch/aarch64/include/pmap.h
P src/sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c
P src/sys/arch/evbarm/beagle/beagle_machdep.c
P src/sys/arch/evbarm/zynq/zynq_machdep.c
P src/sys/dev/audio/audiobell.c
P src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c
P src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp
U src/tests/usr.bin/xlint/lint1/d_c99_compound_literal_comma.c
P src/tests/usr.bin/xlint/lint1/d_c99_init.c
P src/tests/usr.bin/xlint/lint1/d_c99_init.exp
U src/tests/usr.bin/xlint/lint1/msg_327.c
U src/tests/usr.bin/xlint/lint1/msg_327.exp
P src/usr.bin/cmp/cmp.c
P src/usr.bin/seq/seq.c
P src/usr.bin/xlint/common/inittyp.c
P src/usr.bin/xlint/lint1/Makefile
P src/usr.bin/xlint/lint1/cgram.y
P src/usr.bin/xlint/lint1/decl.c
P src/usr.bin/xlint/lint1/err.c
P src/usr.bin/xlint/lint1/externs1.h
P src/usr.bin/xlint/lint1/func.c
P src/usr.bin/xlint/lint1/init.c
P src/usr.bin/xlint/lint1/lex.c
P src/usr.bin/xlint/lint1/lint1.h
P src/usr.bin/xlint/lint1/main1.c
P src/usr.bin/xlint/lint1/op.h
P src/usr.bin/xlint/lint1/oper.c
P src/usr.bin/xlint/lint1/ops.def
P src/usr.bin/xlint/lint1/print.c
P src/usr.bin/xlint/lint1/tree.c

Updating xsrc tree:


Killing core files:




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  41275238 Mar 21 03:03 ls-lRA.gz


Re: How to determine if graphics is supported by radeondrm?

2021-03-20 Thread Lloyd Parkes



On 20/03/21 3:41 pm, Lloyd Parkes wrote:
I also tried my Intel based laptop, but I only had an MBR image and HP 
seemed to have removed the old BIOS boot option in their newer 
firmware so I couldn't even boot the image.


I just tried the 9.1 image on my ASUS UX550V laptop and it did load a 
proper GLX renderer for the Intel GPU. I hadn't tried that laptop 
initially because it also has an nVidia GPU in it, but then I realised 
that NetBSD will probably ignore the nVidia GPU and it did.


None of the trackpads on my laptops worked with the NetBSD image I was 
using and I did not look into why.


Cheers,
Lloyd



re: How to determine if graphics is supported by radeondrm?

2021-03-20 Thread matthew green
radeondrm does not support any modern graphics card, and
we don't have a working amdgpu driver yet (last i tried,
it hung at boot and i did not have a serial console setup
to test with yet.)

you can have almost OK stuff with the vesa driver.  maybe
wsfb also can work.

we're working (slower than hoped) on a drm update, but we
do not have any ETA currently.


.mrg.


Re: How to determine if graphics is supported by radeondrm?

2021-03-20 Thread Rhialto
On Sat 20 Mar 2021 at 15:41:49 +1300, Lloyd Parkes wrote:
> HI all,
> 
> On 18/03/21 10:03 am, Rhialto wrote:
> > For example, if I look at an "AMD Ryzen 3" cpu, which supposedly has
> > integrated graphics "AMD Radeon Vega 8, integrated GPU". Grepping -i for
> > "Vega" in src/sys/external/bsd/drm2/dist/drm yields no results; I take
> > it this is a bad sign?
> 
> I booted a live image of 9.1 that I found on my Ryzen 3 laptop and it ends
> up running the Vesa driver with the "llvmpipe" OpenGL renderer. The Xorg log
> file shows that X thought about the AMD driver, but ended up using the VESA
> one. The log shows a long list of AMD GPU models, which looks like Xorg's
> way of saying that it doesn't know what model of AMD GPU I have.

Thanks for doing the experiment. I guess it tells us what I already
feared, that it doesn't do accelleration.

I think that the long list of AMD GPU models is simply always printed by
the AMD driver ("Look at all the models I support!") and then later it
decides if it really supports the GPU that's there. For instance on my
current box, it reports at some point after the long list:

[34.593] (--) RADEON(0): Chipset: "ATI Radeon HD 5450" (ChipID = 0x68f9)

(or maybe that's only because I have told X to use the Radeon driver and
not the modesetting driver...)

> Linux says the laptop has "AMD Ryzen 3 3300U with Radeon Vega Mobile Gfx"
> and Google tells me this is a Picasso/Radeon Vega 6.
> 
> I found the file amdgpu_device.c with the amdgpu_asic_name definition at the
> top. NetBSD has many, many entries missing from this list. :-(
> 
> I also tried my Intel based laptop, but I only had an MBR image and HP
> seemed to have removed the old BIOS boot option in their newer firmware so I
> couldn't even boot the image.

Thanks for doing the experiment!

> Lloyd
-Olaf.
-- 
___ Q: "What's an anagram of Banach-Tarski?"  -- Olaf "Rhialto" Seibert
\X/ A: "Banach-Tarski Banach-Tarski." -- rhialto at falu dot nl


signature.asc
Description: PGP signature