DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
Old 29th November 2017
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

I understood that I work in 32 bit but where to find pkgsrc2017Q1 for X86_64 ?
Reply With Quote
Old 29th November 2017
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

hello shep,

not easy to read the xrandr datasheet, I check the version: it's 1.4.
here is the description


Code:
RandR version 1.4 options
       Options for RandR 1.4 are used as a superset of the options  for  RandR
       1.3.

       --listproviders
              Report information about the providers available.

       --setprovideroutputsource provider source
              Set  source as the source of display output images for provider.
              This is only possible if source and  provider  have  the  Source
              Output and Sink Output capabilities, respectively.  If source is
              0x0, then provider  is  disconnected  from  its  current  output
              source.

       --setprovideroffloadsink provider sink
              Set  provider as a render offload device for sink.  This is only
              possible if provider and sink have the Source Offload  and  Sink
              Offload  capabilities,  respectively.   If  sink  is  0x0,  then
              provider is disconnected from its current render offload sink.
how to set the right parameters, it is necessary that the server X stops using VESA and use ATI radeon, more options with my two video cards and my two output screen, I do not know how!
in your link there are no examples of using xrandr!

Code:
hpc-raptor# xrandr -v
xrandr program version       1.4.0
Can't open display 
hpc-raptor#
Whenever I try an option I have this message "Can not open display" even when I kill the X server. Here is my account!
Code:
hpc-raptor$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024      0.00* 
   1024x768       0.00  
   800x600        0.00  
   640x480        0.00  
hpc-raptor$
more the firefox that I compile with / usr / pkgsrc / www stops working on youtube.

Kind Regards
Philippe

Last edited by philo_neo71; 29th November 2017 at 10:34 PM.
Reply With Quote
Old 30th November 2017
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Quote:
hpc-raptor$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
1280x1024 0.00*
1024x768 0.00
800x600 0.00
640x480 0.00
Under your present configuration options, you are using 1280x1024 and have the option to use 1024x768 or 800x600m or 640x480.

I cannot tell, from your last post, if you are using the radeon driver or the vesa driver? What does your Xorg.0.log tell you about the Video Driver and Monitor settings?
Reply With Quote
Old 1st December 2017
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

hello shep,
not easy to understand my /var/log/Xorg.0.log, there are two graphics card status and more vesa and present, you will find file attached of my /var/log/Xorg.0.log ,.
Attached Files
File Type: txt xlog.txt (105.1 KB, 86 views)
Reply With Quote
Old 2nd December 2017
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Xorg is unable to create direct rendering
Code:
[   169.717] (II) Loading /usr/X11R7/lib/modules/drivers/radeon_drv.so
[   169.717] drmOpenDevice: node name is /dev/dri/card0
[   169.732] drmOpenDevice: open result is -1, (Operation not supported by device)
[   169.733] drmOpenDevice: open result is -1, (Operation not supported by device)
[   169.733] drmOpenDevice: Open failed
[   169.733] drmOpenByBusid: Searching for BusID pci:0008:01:04.0
[   169.733] drmOpenDevice: node name is /dev/dri/card0
[   169.734] drmOpenDevice: open result is -1, (Operation not supported by device)
[   169.736] drmOpenDevice: open result is -1, (Operation not supported by device)
[   169.736] drmOpenDevice: Open failed
[   169.736] drmOpenByBusid: drmOpenMinor returns -19
drm is a kernel module and I believe it is enabled in the default 7.0.2 kernel.

As a result it is using the VESA driver

The last entry in your Xorg.0.log
Code:
[   211.823] (II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD)
[   824.820] (WW) VESA(0): remove MTRR 0 - 1000
[   824.852] (WW) VESA(0): remove MTRR 0 - 1000
[   836.453] (WW) VESA(0): remove MTRR 0 - 1000
[   836.485] (WW) VESA(0): remove MTRR 0 - 1000
[   905.959] (WW) VESA(0): remove MTRR 0 - 1000
[   906.000] (WW) VESA(0): remove MTRR 0 - 1000
I'm not sure what to do beyond this in NetBSD.

Last edited by shep; 2nd December 2017 at 01:17 AM.
Reply With Quote
Old 16th December 2017
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

hi,
aftar asking to user'netbsd the answer is :
Quote:
echo "X11_TYPE=modular" >> /etc/mk.conf
And install meta-pkgs/modular-xorg.
i have issue when i do 'make install'
here this is my output :
Quote:
Making all in glamor
gmake[1]: Entering directory '/usr/pkgsrc/x11/modular-xorg-server/work/xorg-server-1.19.3/glamor'
CC glamor.lo
In file included from glamor.c:36:0:
glamor_priv.h:43:23: fatal error: epoxy/egl.h: No such file or directory
#include <epoxy/egl.h>
^
compilation terminated.
Makefile:730: recipe for target 'glamor.lo' failed
gmake[1]: *** [glamor.lo] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/x11/modular-xorg-server/work/xorg-server-1.19.3/glamor'
Makefile:778: recipe for target 'all-recursive' failed
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make[2]: stopped in /usr/pkgsrc/x11/modular-xorg-server
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/x11/modular-xorg-server
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/meta-pkgs/modular-xorg
hpc-ortice#
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
2D Graphics acceleration in X virtuvoos OpenBSD General 10 18th October 2013 02:40 PM
Hardware AMD claims 'fastest graphics card in the world' J65nko News 17 10th March 2011 12:15 PM
HOWTO: Working Intel Graphics Card Setup vermaden FreeBSD Installation and Upgrading 2 3rd July 2009 07:59 PM
Good graphics card for FreeBSD? Sunnz FreeBSD General 12 4th May 2009 01:44 PM
Is 3d acceleration available with Intel GMA 3100 (AM64)? ghost77 FreeBSD General 5 12th January 2009 11:18 AM


All times are GMT. The time now is 03:22 AM.


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