Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Extensions of X-Server
Extensions of X-Server [message #7517] Thu, 04 January 2007 05:26 Go to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
I've been trying to build and run Upp on Linux. As a result I met a problem, which wasn't discussed on this forum before (or I haven't spent enough time to find a discussion).

Problem:

I'm getting a lot of messages like one below.

Xlib: extension "RENDER" missing on display "192.168.1.102:0.0".

I've checked configuration of two of mine X-Servers. One is Exceed-v7.0, and another is X-Win32-v7.1.

The first one is six year old, and the second one is one year old.
Neither first nor second have a "RENDER" extension.
I've attached both configurations.

libXrender is loading before GTK ...

Is it possible to negotiate capabilities of an X-Server on application startup?

Thanks!


PS: Below is configuration of X-Win32-v7.1

Xlib: extension "MIT-SHM" missing on display "localhost:130.0".
Xlib: extension "XFree86-DGA" missing on display "localhost:130.0".
Xlib: extension "XFree86-VidModeExtension" missing on display "localhost:130.0".
Xlib: extension "XFree86-Misc" missing on display "localhost:130.0".
Xlib: extension "XINERAMA" missing on display "localhost:130.0".
name of display: localhost:130.0
version number: 11.0
vendor string: StarNet Communications Corp.
vendor release number: 7164
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 8, MSBFirst, 16
image byte order: MSBFirst
number of supported pixmap formats: 3
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 16
depth 8, bits_per_pixel 8, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 122
focus: window 0x1e00002, revert to PointerRoot
number of extensions: 19
BIG-REQUESTS
DEC-XTRAP
DOUBLE-BUFFER
Extended-Visual-Information
GLX
LBX
MIT-SUNDRY-NONSTANDARD
RECORD
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XC-MISC
XFIXES
XFree86-Bigfont
XInputExtension
XTEST
default screen number: 0
number of screens: 1

screen #0:
dimensions: 2048x1280 pixels (600x380 millimeters)
resolution: 87x86 dots per inch
depths (3): 1, 24, 8
root window id: 0x29
depth of root window: 24 planes
number of colormaps: minimum 0, maximum 128
default colormap: 0x26
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders YES
largest cursor: 32x32
current input event mask: 0x584030
EnterWindowMask LeaveWindowMask KeymapStateMask
SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask
number of visuals: 4
default visual id: 0x22
visual:
visual id: 0x22
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x23
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits

MIT-SHM extension not supported by server

XKEYBOARD extension not supported by server

SHAPE version 1.0 opcode: 128, base event: 64

SYNC version 3.0 opcode: 135, base event: 81, base error: 142
system counters: 1
SERVERTIME id: 0x00000027 resolution_lo: 4 resolution_hi: 0

XFree86-DGA extension not supported by server

XFree86-VidModeExtension extension not supported by server

XFree86-Misc extension not supported by server

XTEST version 2.2 opcode: 131

DOUBLE-BUFFER version 1.0 opcode: 139, base error: 146
Double-buffered visuals on screen 0
visual id 0x22 depth 24 perflevel 0
visual id 0x23 depth 24 perflevel 0
visual id 0x24 depth 8 perflevel 0
visual id 0x25 depth 8 perflevel 0

RECORD version 1.13 opcode: 137, base error: 144

XInputExtension version 1.3 opcode: 130, base event: 65, base error: 128
Extended devices :
"pointer" [XPointer]
"keyboard" [XKeyboard]

RENDER extension not supported by server

XINERAMA extension not supported by server


Regards,
Novo
Re: Extensions of X-Server [message #7521 is a reply to message #7517] Thu, 04 January 2007 15:21 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
You must be using some really weird distro. RENDER was supported on all major Linux/BSD distros since 5 years ago.

RENDER is required to have any decent text rendering in Linux. 4 years ago there was support for original X11 fonts, but later removed because it was to painful to support.

Mirek
Re: Extensions of X-Server [message #7523 is a reply to message #7521] Thu, 04 January 2007 16:19 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
Both X-Win32 and Exceed are commercial X-Servers for Windows ...
They do not depend on a distro ...

I do not have a monitor attached to a Linux box.


Regards,
Novo
Re: Extensions of X-Server [message #7524 is a reply to message #7521] Thu, 04 January 2007 16:26 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Thu, 04 January 2007 15:21

You must be using some really weird distro. RENDER was supported on all major Linux/BSD distros since 5 years ago.

RENDER is required to have any decent text rendering in Linux. 4 years ago there was support for original X11 fonts, but later removed because it was to painful to support.

Mirek


Mirek, he wrote:

"PS: Below is configuration of X-Win32-v7.1"

So some X-Server for windows. I don't use windows, so couldn't help, but I don't see how it is related to upp anyway.

PS:
from 6000 Mbit/s dedicated line, yippeah Very Happy
Belenix downloaded, Solaris Express next.

Guido
Re: Extensions of X-Server [message #7526 is a reply to message #7524] Thu, 04 January 2007 16:47 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
UPP is trying to use API from the "RENDER" extension, which seems to be not available with all of my X-Servers.

In few minutes ...

I checked the website of X-Win32. They released a new version 8.0, which has a new feature: "The new RENDER extension has been added which provides smooth graphics and text for remote applications that support it.".

So, what I want to say is that some of X-Server extension may be not supported. It is okay.

It would be nice if UPP could negotiate X-Server capabilities before starting to use them.


Regards,
Novo
Re: Extensions of X-Server [message #7528 is a reply to message #7526] Thu, 04 January 2007 17:39 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
Novo wrote on Thu, 04 January 2007 16:47

UPP is trying to use API from the "RENDER" extension, which seems to be not available with all of my X-Servers.

In few minutes ...

I checked the website of X-Win32. They released a new version 8.0, which has a new feature: "The new RENDER extension has been added which provides smooth graphics and text for remote applications that support it.".

So, what I want to say is that some of X-Server extension may be not supported. It is okay.

It would be nice if UPP could negotiate X-Server capabilities before starting to use them.


I guess, you are right. UPP should handle that case, or upp apps are not guaranteed to work properly in a remote session. For native Linux local sessions, Xserver capabilities will always be in sync with the libraries, and the apps won't even launch with ancient versions of X11.

Guido
Re: Extensions of X-Server [message #7529 is a reply to message #7528] Thu, 04 January 2007 18:59 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
guido wrote on Thu, 04 January 2007 11:39

I guess, you are right. UPP should handle that case, or upp apps are not guaranteed to work properly in a remote session. For native Linux local sessions, Xserver capabilities will always be in sync with the libraries, and the apps won't even launch with ancient versions of X11.
Guido


You just do not have a clue how much trouble is that...

OK, I will think about that..

Mirek
Re: Extensions of X-Server [message #7530 is a reply to message #7529] Thu, 04 January 2007 19:01 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
P.S.: U++ runs very well on Cygwin Win32 X11 server connected to Linux machine.

Mirek
Re: Extensions of X-Server [message #7531 is a reply to message #7530] Thu, 04 January 2007 20:18 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
luzr wrote on Thu, 04 January 2007 13:01

P.S.: U++ runs very well on Cygwin Win32 X11 server connected to Linux machine.



At the palace where I work we use X-Win32. May be I'm wrong, but I think that all commercial companies use commercial X-Servers. And nobody wants to change an X-Server for UPP's sake.

I'm sorry, I just wanted to point out the problem. It might be important.


Regards,
Novo
Re: Extensions of X-Server [message #7536 is a reply to message #7531] Fri, 05 January 2007 00:25 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Novo wrote on Thu, 04 January 2007 14:18


I'm sorry, I just wanted to point out the problem. It might be important.


That is OK, just unexpected...

Mirek
Previous Topic: TheIDE zombie problem
Next Topic: Funny way how to speed string equality comparison
Goto Forum:
  


Current Time: Thu Mar 28 13:12:30 CET 2024

Total time taken to generate the page: 0.01653 seconds