Search:

Type: Posts; User: bird1500; Keyword(s):

Page 1 of 8 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    3,641

    [SOLVED] Re: Qt5 + OpenGL + Cmake doesn't compile

    Basically it boils down to having to handle the "moc" thingy and qt5 specific stuff, for a simple GL hello world example cmake should look like this:



    cmake_minimum_required(VERSION 2.8.8)...
  2. Replies
    1
    Views
    3,641

    Qt5 + OpenGL + Cmake doesn't compile

    I'd like to use Qt5 to do OpenGL but I wanna use CMake instead of qmake to compile it cause I know it already, but a simple example with Qt5+OpenGL doesn't compile (all files attached):


    Linking...
  3. Replies
    0
    Views
    1,200

    Why no gl.polygonMode in WebGL?

    Hi,
    wireframe mode [glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)] is useful and stays part of the OpenGL core profile, yet in WebGL it's been removed, any ideas why or how one can work around?

    Point...
  4. Replies
    2
    Views
    4,452

    [SOLVED] GLFW 3.0 example fails to compile

    EDIT: the solution is to add "--static":
    g++ test.cpp -o test `pkg-config glfw3 --static --cflags --libs`

    Hi,
    I installed from source GLFW 3.0, no errors reported.
    But when I try to test it by...
  5. Re: Math question: scaling image to viewport size

    void
    ScaleImage(float img_w, float img_h, float w, float h,
    float &scale_w, float &scale_h)
    {
    if(img_w > w || img_h > h) { // scale down below natural size
    const float r_w =...
  6. Re: Math question: scaling image to viewport size

    Thanks, I'm trying to solve this issue for like 3 days and I played with aspect ratio, the problem is there are different aspect ratios:
    image width to height, or image width to viewport width -...
  7. Math question: scaling image to viewport size

    Hi,
    I learned some OpenGL and wanna display an image in a viewport so that the image fills in the viewport as much as possible yet maintains its aspect ratio.

    E.g. if viewport width/height =...
  8. Re: compiz refresh rate keeps resetting itself to 50

    - Gee, the kernel doesn't need "rt" to handle rates > 50
    - almost every card can handle this, if the OP reported this I'm sure he's not running legacy hw.
    - LCDs are designed around 60 FPS,...
  9. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    Anything's by default except what I've been asked to do in this forum, thanks anyone, I'll mark the thread as solved and move on since I don't think the (rest of the) issue's gonna get solved, the...
  10. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    It's not the router, I don't have this problem with Fedora or Win7 on same computer, only with Ubuntu/Debian derivatives.
  11. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    ifconfig (with teredo which didn't help):


    ifconfig
    eth0 Link encap:Ethernet HWaddr e0:cb:4e:c4:24:cf
    inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
    ...
  12. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    It's pretty quick

    The interesting thing is, it also pings archive.ubuntu.com quickly, then I type "wget http://archive.ubuntu.com/ubuntu/ls-lR.gz"
    and it waits for like 10 seconds with "Resolving...
  13. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    You did the unthinkable, you fixed my oldest gripe about Ubuntu, Firefox now works fine, thank you, I'm shining and it's all rainbows and ponies all around!
    The rest of the OS (wget, apt-get) still...
  14. Replies
    1
    Views
    395

    Re: Clipboard: detect cut or copy

    Well it looks like it's a mess, the Thunar source code uses a "special gnome copied files" atom and a slew of hooks, gee, I hoped for an easy solution.

    thunar-clipboard-manager.c:


    struct...
  15. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    Thanks tgalati4, but here's what baffles me: how can you explain that with Google Chrome I don't experience this issue at all - e.g. google.com, phoronix.com and other on-line sites always load up...
  16. Replies
    1
    Views
    395

    Clipboard: detect cut or copy

    Hi,
    I'm using Gtk's Clipboard class (Gtk::Clipboard::get()), I can get the list of URI's in the clipboard (clipboard->wait_for_uris()) but can't figure out how to detect if the file URIs have been...
  17. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    Each row (ping) below took like a second, I'm not sure if it's fast or slow:
  18. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    Created the tail file, rebooted, and

    Though google.com in Firefox still took like 6-10 seconds to load.
  19. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    Thanks, took like 2-3 minutes:


    I don't have a "tail" file as in /etc/resolvconf/resolv.conf.d/tail
    only a head and base file(s), both empty.

    Now I'll change to 8.8.8.8 and 8.8.4.4, reboot,...
  20. Replies
    33
    Views
    8,119

    Re: Ubuntu/Debian extremely high network latency

    Thanks, though I think it's not (only) a Firefox bug cause apt-get (hence in my case the OS in general) has the same problem.
  21. Replies
    33
    Views
    8,119

    Ubuntu/Debian extremely high network latency

    Hi,
    For the last several releases (and 13.04 is no exception) I get random and often high network latency on all Ubuntu/Debian based OSes (like Mint) - be it Firefox slow to resolve an address, or...
  22. Replies
    7
    Views
    811

    Re: GRUB boot settings

    Thanks, done, hopefully soon a new forum update will fix this inconvenience.
  23. Replies
    7
    Views
    811

    Re: GRUB boot settings

    Thanks a bunch, indeed, there's a line (I'll comment out):
    GRUB_CMDLINE_LINUX="noapic nolapic edd=on nodmraid"

    Problem solved.

    Apparently one can't mark the thread as solved anymore.
  24. Replies
    7
    Views
    811

    GRUB boot settings

    Hi,
    When booting the Raring live iso I specified in grub2 additional boot settings: "noapic nolapic edd=on nodmraid" otherwise the installer would not install.
    These additional settings have also...
  25. Replies
    20
    Views
    3,155

    [ubuntu] Re: Installing Handbreak please help

    Then in "Software and Updates" change "raring" to "quantal" as shown on screenshot.
Results 1 to 25 of 188
Page 1 of 8 1 2 3 4