View Single Post
  #5   (View Single Post)  
Old 25th November 2017
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Quote:
Originally Posted by shep View Post
I just installed 7.0.2 amd64 and used the monolithic xorg that came with the install media. Without an xorg.conf and intel video, I have direct rendering out of the box.

There are 2 options for xorg: modular vs monolithic. Which one are you using?

My initial post had an error, to see if direct rendering is active the command is
$ glxinfo.
i do glxinfo=
Code:
0 0 Slow
0x0ec  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0ed  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0ee  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0ef  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0f0  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 32  0  0  0  0  0  0 0 None
0x0f1  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 32  0 16 16 16  0  0 0 Slow
0x0f2  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 32  0  0  0  0  0  0 0 None
0x0f3  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 32  0 16 16 16  0  0 0 Slow
0x0f4  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 32  0  0  0  0  0  0 0 None
0x0f5  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 32  0 16 16 16  0  0 0 Slow

[1]   Segmentation fault (core dumped) glxinfo
hpc-apolon#
I think I have to compile a new kernel, this machine I assembled it to make compilation, I made a hibrid machine with intel XEON processor and installed an AMD64 distribution, like that I am in full 64 bits.
I may have made a mistake I recognize it but I will try to compile a kernel with the reference i386 pkgsrc2017Q3, it is thought like a machine hibrid!
I read this link https://www.netbsd.org/docs/guide/en/chap-kernel.html, what I did:
1 / $ cp GENERIC PHIPO001KERNEL
$ nano PHIPO001KERNEL
I disabled all AGP ports, chose the option for my Radeon graphics card
2 / $ cd ../compile/PHIPO001KERNEL
$ make depend
$ make

But alas the compilation did not complete, with full of errors AGP, here is my output
Code:
../../../../external/bsd/drm2/dist/drm/radeon/btc_dpm.c: At top level:
../../../../external/bsd/drm2/dist/include/drm/drm_agpsupport.h:14:20: error: 'drm_free_agp' declared 'static' but never defined [-Werror=unused-function]
 static inline void drm_free_agp(struct agp_bridge_data *, struct agp_memory *, int);
                    ^
../../../../external/bsd/drm2/dist/include/drm/drm_agpsupport.h:15:19: error: 'drm_bind_agp' declared 'static' but never defined [-Werror=unused-function]
 static inline int drm_bind_agp(struct agp_bridge_data *, struct agp_memory *, unsigned);
                   ^
../../../../external/bsd/drm2/dist/include/drm/drm_agpsupport.h:16:19: error: 'drm_unbind_agp' declared 'static' but never defined [-Werror=unused-function]
 static inline int drm_unbind_agp(struct agp_bridge_data *, struct agp_memory *);
                   ^
cc1: all warnings being treated as errors
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/amd64/compile/PHIPO001KERNEL
hpc-apolon#
I am not successful as specified in the documentation of the link above, I did not find the options of compilations tools, I'm trying to build skills on NetBSD which is for me the best BSD because it works on several processor target notament on ARM or my RASPBERRY are under NetBSD.
Reply With Quote